Joshua Stengel

Everything...Is going...
To be okay!

A Small Fix for RSSToolkit 2.0.0.0

What's broken?  It would appear that there are a couple of problems with consuming Atom feeds using the RSSToolkit.

  1. <pubDate/> shows up empty
  2. <link/> use the the base URL for the channel instead of the URL for each <item/>

I opened up a work item for these issues, and here's what fixed it for me:

  • Download the Source.
  • Open the Resources\AtomToRSS20.xsl file and make the following changes:
    • LINE 25: <xsl:value-of select="//*[name()='modified']"/> should be <xsl:value-of select="//*[name()='updated']"/>
    • LINE 43: <xsl:value-of select="//*[name()='link']/@href"/> should be <xsl:value-of select="child::*[name()='link']/@href"/>
    • LINE 55: <xsl:value-of select="//*[name()='modified']"/> should be ><xsl:value-of select="child::*[name()='updated']"/> *updated 2/1/2008
    • Recompile the .DLL file. Or, I uploaded my recompiled version with the work item.
Posted: Jan 26 2008, 04:58 PM by jstengel | with 4 comment(s)
Filed under: ,

Comments

Chris Nanda said:

I used your fix for this, because I just recently ran into this problem as well, and I wanted to make one change.  For Line 55 I think you need to change

<pre><xsl:value-of select="//*[name()='updated']"/></pre>

to

<pre><xsl:value-of select="child::*[name()='updated']"/></pre>

I added a comment to the work item you opened as well.  Thanks for the fix though, saved me a lotta time!!

# February 1, 2008 3:40 PM

jstengel said:

Thanks for pointing that out Chris.  You are correct and I will update my post as well.

# February 1, 2008 4:40 PM

clone dvd said:

Recent Posts Drive traffic, make money. Win 180 premium accs! Kenapa terengganu tidak ditawan PAS Step Down la Pak Lah.. Should Pak Lah (Abdullah Badawi) Resign? Mahathir Mengaku Anwar Tidak Bersalah? History lessons Sponsors Categories Anime (8) Computer

# March 22, 2008 9:08 PM

Joshua Stengel said:

I frequently use the RSSToolkit to consume and display RSS feeds from other blogs.&#160; Recently, I

# July 24, 2008 3:24 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)