[Seaside] adding rss to head of html

Michel Bany michel.bany at gmail.com
Fri Jul 27 21:57:06 UTC 2007

On 27 Jul 2007, at 23:33 , Peter Osburg wrote:

> hey guys,
> i tried to play a little bit with seaside and rss stuff. so now i  
> developed a tool that can create valid xml output with rss content.
> so what will be my next step?
> i want to add the following to the head of the html:
> <link rel="alternate" type="application/rss+xml" title="RSS"  
> href="blub" />
> so i decided to use the updateRoot method. but how to add the link?  
> i tried to use the addHeadElement and then to add a WALinkElement
> updateRoot: aHtmlRoot
>     aHtmlRoot addHeadElement: ((WALinkElement new) beRss)
> but then i fail with an error because WALinkElement has an instance  
> variable called attributes that is nil. so i tried to set the  
> attributes manually ... to shorten the story: i failed again :)
> so how can i add the tag with the "application/rss+xml" stuff to  
> the head? any help would be great. thx alot mates

Have a look at WADispatcherComponent in RSRSS-mb.29 of squeaksource/ 

More information about the Seaside mailing list