PDA

View Full Version : Multiple Items in RSS Feed


enOehT
10-05-2009, 04:09 AM
Hello all, I am literally brand new to xml and RSS. When I subscribe to a feed I have written to check the work, It lists the items I have written in the code. For example lets say three items in the channel. If I modify the code (manually), duplicate items display. For example my feed shows 5 items, yet the code has only three, and the duplicates are identical.

I want to be able to manually modify the xml on a daily basis and it keep whats only there. The duplicates appear in browsers and the Vista widget. The feed validates. I modified text and url's in the code to display it here. the tags and markers etc are exactly how they appear in the actualy xml, even my own notes. Due to the nature of my work, I cannot display the actual content. If this could be the problem let me know. Thank you in advance!



<?xml version="1.0" encoding="UTF-8"?>
<rss
version="2.0">
<channel>
<title>Title here</title>
<description>Discriptive text goes here.</description>
<link>http://link.url</link>
<lastBuildDate>Sat, 3 Oct 2009 23:45:31 -0400</lastBuildDate>
<pubDate>Sat, 3 Oct 2009 19:38:18 -0400</pubDate>
<generator>Author</generator>
<image>
<url>http://image.url</url>
<title>Title here</title>
<link>http://link.url</link>
<description>Discriptive text goes here.</description>
<width>41</width>
<height>31</height>
</image>

<!-- Item Marker -->

<item>
<title>Title here</title>

<!-- Text for RSS feed can be left in the <description> or in <![CDATA[ Text ]]> -->

<description>
<![CDATA[
Dates: <br/>
<strong>01/01/2010:</strong> Discriptive text goes here <br/>
<strong>02/17/2010:</strong> Discriptive text goes here

]]>
</description>

<link>http://link.url</link>
<author> Author </author>
<pubDate>Sat, 4 Oct 2009 23:00:06 -0400</pubDate>
<guid>http://guid.url</guid>
</item>

<!-- Item Marker -->

<item>
<title>Title Here </title>
<description>
<![CDATA[
<img src="http://image.url" align="right" border="0" vspace="4" hspace="4" />
<br/>
<br/>
<br/>
<p>
</p>
<p>
<strong>Dates:</strong> <br/>

<strong>11/11/2009:</strong> Discriptive text goes here <br/>

<strong>12/01/2009:</strong> Discriptive text goes here <br/>

<strong>01/01/2009:</strong> Discriptive text goes here .

</p>


]]>
</description>
<link>http://link.url</link>
<pubDate>Sat, 3 Oct 2009 13:47:32 -0400</pubDate>
<guid>http://guid.url</guid>
<author> Author </author>
</item>

<!-- Item Marker -->

<item>
<title>Title here</title>
<description>
<![CDATA[
<p>
<strong>Dates:</strong> <br/>

<strong>11/11/2009:</strong> Temporary holding date to confirm. <br/>
<strong>12/01/2009:</strong> Temporary holding date to confirm. <br/>
<strong>01/01/2009:</strong> Temporary holding date to confirm. <br/>
</p>


]]>
</description>
<link>http://link.url</link>
<pubDate>Sun, 4 Oct 2009 21:08:32 -0400</pubDate>
<guid>http://guid.url</guid>
<author> Author </author>
</item>

<item>
<title>Title here</title>
<description>
<![CDATA[
Dates:
<strong>10/21/2009:</strong> Discriptive text goes here

]]>
</description>
<pubDate>Sun, 4 Oct 2009 22:40:00 -0400</pubDate>
<author> Author </author>
</item>

</channel>
</rss>