including XSL sheet in rss feed in rxml...

K

krishna.Mundra

Hi every one,

I just want to know, how to include XSL style sheet in rss feed
generation in rxml.......

i wrote the code to generate a rss feed like this ...

xml.instruct! :xml, :version => "1.0"
xml.rss:)version=>"2.0"){
xml.channel{
xml.language('en-gb')
xml.link('http://220.225.228.163')
xml.description('Playlist details')
xml.title('title')
for items in @playlist
# getting contents from database
#subtags
for contids in @contnetslist
xml.item do
path=""
if(@contents[0].user_id==1)
path= path we are printing
else
path= path
end
xml.title(@contents[0].title)
xml.link('http://192.168.200.25:3001/user')
xml.description(items.playlist_name)
xml.link("public_html/contentObjects"+@contents[0].media_file)

}
}

in this code i want to include sytle sheet catalog.XSL to to display the
rss feed of user's choice.....

can anyone help me in this .. .....

also i want to generate a RSS feed in a way, the XML tags in rss sshould
display as hyperlinks like for example
http://feeds.feedburner.com/rubyonrailspodcast.....

please help me in this

thanking you....
krishna.Mundra
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,140
Latest member
SweetcalmCBDreview
Top