MetaData in Templates
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > MetaData in Templates




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    MetaData in Templates  
MaryMorris


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-24-04 10:35 PM

I would like to have placeholders in a template where
authors can enter the meta data and have it end up in the
<meta> tags for the posting where later searching can find
the values. Can someone explain how to get the data from
placeholders with meta data into the <meta> tags? Is it a
special type of placeholder? Do I need to write code to do
this based on some event? Any links detailing this process
and some sample code would be really helpful.

Thank you.





[ Post a follow-up to this message ]



    Re: MetaData in Templates  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-25-04 12:35 AM

Hi Mary,

the recommended way is to use custom properties rather than placeholders to
store such content.
Then use a user control to render the property content in the metatags.
The CMS 2002 doc contain a sample on how to do this.
If you need a sample on how to enable property editing in edit mode see this
blog:
http://blogs.msdn.com/stefan_gossne.../25/119613.aspx

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights.


"MaryMorris" <anonymous@discussions.microsoft.com> wrote in message
news:3cec01c42a42$11a32850$a501280a@phx.gbl...
> I would like to have placeholders in a template where
> authors can enter the meta data and have it end up in the
> <meta> tags for the posting where later searching can find
> the values. Can someone explain how to get the data from
> placeholders with meta data into the <meta> tags? Is it a
> special type of placeholder? Do I need to write code to do
> this based on some event? Any links detailing this process
> and some sample code would be really helpful.
>
> Thank you.







[ Post a follow-up to this message ]



    Re: MetaData in Templates  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-25-04 01:34 AM

Thanks, Stefan. This is really helpful.
>-----Original Message-----
>Hi Mary,
>
>the recommended way is to use custom properties rather
than placeholders to
>store such content.
>Then use a user control to render the property content in
the metatags.
>The CMS 2002 doc contain a sample on how to do this.
>If you need a sample on how to enable property editing in
edit mode see this
>blog:
>http://blogs.msdn.com/stefan_gossne...e/2004/04/25/11
9613.aspx
>
>Cheers,
>Stefan
>
>--
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>
>
>"MaryMorris" <anonymous@discussions.microsoft.com> wrote
in message
>news:3cec01c42a42$11a32850$a501280a@phx.gbl... 
the[vbcol=seagreen] 
find[vbcol=seagreen] 
a[vbcol=seagreen] 
do[vbcol=seagreen] 
process[vbcol=seagreen] 
>
>
>.
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:08 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register