Hi guys, i'm creating a rss 2.0 feed with haml and merb for my
application and i have this as my view.
It's working right now except for the link tags which i want to get
the entire url for it, check it out.
!!! XML
%rss{ :version => "2.0" }
%channel
%title Popular Questions on Maskeet
%link= url(:recent_questions)
%description A list of the most popular questions asked on the
askeet site, rated by the community.
%language en-us
%pubDate= Time.now
- for question in @questions
%item
%title= question.title
%description= question.body
%link= url(:question, :stripped_title => question.stripped_title)
%guid= question.id
%author= question.user
%pubDate= question.created_at
Thanks in advance.
--
Rafael George
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---