Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
including XSL sheet in rss feed in rxml...
krishna.Mundra
1/29/2007 1:16:00 PM
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.22...
)
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...
)
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/rubyonra...
.....
please help me in this
thanking you....
krishna.Mundra
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
including XSL sheet in rss feed in rxml...
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password