Help Developing RSS 2.0 feed

1 replies
Hi -

I'm trying to learn to write this xml file so I have a 2.0 RSS feed to mesh with TwitterFeed and their new interface.

So I'm almost there and having problems. -- I send the feed through FeedValidator.org and the results are below. My questions are:

1. how do I fix the problems

2. Is there a way to automatically rotate the pubdate so that I'm not doing it manually every day? Just seems that it shouldn't be necessary to do it manually. I have the feed to the whole blog and not to a specific page or post. I have to have a pubdate for Twitter Feed to read that changes every 24 hours - or a GUID element - which again would have to rotate and be different for each post.

3. Should I be doing something else to develop an RSS 2.0 feed - cause as you can tell I DO NOT know what I'm talking about!

THANKS in advance!

Gail

****************

This feed does not validate.

*

line 16, column 0: Missing channel element: link [help]

</channel>

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation.

*

line 14, column 0: item should contain a guid element [help]

</item>

Source: TheIMLearningCenter

1. <?xml version="1.0"?>
2. <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3. <channel>
4.
5. <title>TheIMLearningCenter</title>
6. <description>Easy to learn Internet Marketing</description>
7. <atom:link href="http://theimlearningcenter.com/feed.xml" rel="self" type="application/rss+xml" />
8. <pubDate>Tue, 07 Jul 2009 00:00:01 GMT</pubDate>
9.
10. <item>
11. <title>TheIMLearningCenter</title>
12. <description>Easy to learn Internet Marketing</description>
13. <link>http://theimlearningcenter.com/</link>
14. </item>
15.
16. </channel>
17. </rss>
#developing #feed #rss
  • Profile picture of the author locpicker
    Atom and rss are two different versions of feeds. If you are wanting both formats then you need to make two seperate feeds.

    I have a free online validator you can use to test your feeds at land-of-os.com/rsstest/.
    {{ DiscussionBoard.errors[1032694].message }}

Trending Topics