Extended RSS help
Last Post 05/30/2006 6:20 AM by Lee Sykes. 3 Replies.
Author Messages
Patrick Allmond
Nuke Newbie
Nuke Newbie
Posts:2


--
05/28/2006 8:36 PM  

I read your artice on incorporating an RSS feed into my site using your sample style sheet and an RSS feed. It worked perfectly.

Now I want to extended it some more. The RSS feed that I am working with looks like the example below. In addition to getting a link with a description in it for each ITEM, I also want the image in the ImageURL to show up on my web page. If you look you will see ITEM has a PRODUCT tag.  Within that product area is where the imageURL is that I need to show up above the links back to the RSS  Items. I've tried ti several different ways and I cannot get the XSL to display the image. It either does nothing or DNN complains about XSL.

Any help is appreciated.

 

Sample Entry

<rss version="2.0" xmlns:product="http://www.buy.com/rss/module/product/">
  <channel>
    <title>Buy.com - The Internet Superstore</title> 
    <link>http://www.buy.com/rss/feed.asp?loc=273&grp=4</link> 
    <description>Home Products</description> 
    <language>en-us</language> 
    <docs>http://www.buy.com/rss/default.asp</docs> 
    <image>
      <title>Buy.com</title> 
      <url>http://ak.buy.com/buy_assets/corp/buy_logo.gif</url> 
      <link>http://www.buy.com</link> 
    </image>
    <item>
      <title>Product Title</title> 
      <description>Product Description including HTML with images and links</description> 
      <link>URL link to Product</link> 
      <pubDate>Fri, 07 Apr 2006 08:00:00 GMT</pubDate> 
      <enclosure url="http://ak.buy.com/db_assets/prod_images/999/99999999.jpg" type="image/jpeg" /> 
      <product:content
            sku="99999999"
            price="$99.99"
            description="Text only product description"
            imageUrl="http://ak.buy.com/db_assets/prod_images/999/99999999.jpg" />
    </item>
  </channel>
</rss>
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
05/30/2006 5:15 AM  
Hello,

Taking the example 4 template from: http://www.dnncreative.com/Tutorial...fault.aspx

This displays the main feed image plus the description and images for each item, is this what you require?

I've just tested the XSL file with this RSS feed:
http://www.buy.com/rss/feed.asp?loc...NoPretty=1

Thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
Patrick Allmond
Nuke Newbie
Nuke Newbie
Posts:2


--
05/30/2006 6:15 AM  
Unless you recently modifieid that XSL it does not work to display the image that I am looking for. Each ITEM has a PRODUCT:CONTENT tag. In there is the image - and it does not display.

Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
05/30/2006 6:20 AM  
Can you give me the RSS feed link that you are using so I can test it, thanks
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile


---