[Seaside] inserting meta tags in header

adi at netstyle.ch adi at netstyle.ch
Thu Mar 20 17:14:41 CET 2003


Hi Nevin

Try this (see WAHtmlGenerator):

aRenderer inHeadDo: [
    aRenderer attributeAt: 'NAME' put: 'Foo'.
    aRenderer attributeAt: 'CONTENT' put: 'Some description of Foo'.
    aRenderer tag: #meta]

and...

aRenderer title: 'Title'.

Adrian

>
>---- Originalnachricht ----
>Von: nevin at smalltalkpro.com
>An: seaside at lists.squeakfoundation.org
>Betreff: Re: [Seaside] inserting meta tags in header
>Datum: Thu, 20 Mar 2003 07:04:13 -0700
>
>>How do I cause meta tags to get inserted within the header? (like
>this:)
>>
>>   <html>
>>   <head>
>>   <meta NAME="Foo" CONTENT="Some description of Foo">
>>   </meta>
>>   </head>
>>   <body>
>>   some stuff
>>   </body>
>>   </html>
>>
>>For that matter, how about the <title> tag within the header?  How
>do 
>>you set that?
>>
>>Thanks,
>>
>>Nevin
>>
>>
>>_______________________________________________
>>Seaside mailing list
>>Seaside at lists.squeakfoundation.org
>>http://lists.squeakfoundation.org/listinfo/seaside
>>




More information about the Seaside mailing list