spewn
Programmer
- May 7, 2001
- 1,034
i made my own rss feed, and after looking at other rss feeds on various websites, i realized i have nothing as far as content (although my rss feed validates).
here's the code:
that seems to validate, and on yahoo, i see the rss feed under myyahoo...however, i look at other rss feeds on blog sites and popular information sites and they're structure seems to be:
i have site with article posting, and on the home page there is a short summary of the article, with title and date written...
(main website is about widgets)
Widget Wonders in Alaska
December 31, 2005
Did you know you can offer widgets for wonders in alaska? This article details blah blah blah blah...
how would i use the tags above to format my xml/rss feed correctly? or if no help, can anyone explain the tags? i don't understand what guid is and such. i know i have to put things in certain places so the feed is used the best possible way.
any ideas?
thanks.
- g
here's the code:
Code:
#my-rss-feed.xml
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Website Title</title>
<description>Website Information</description>
<link>[URL unfurl="true"]http://www.website.com</link>[/URL]
<item>
<title>New Blog Article Title</title>
<description>The infomation about the article, a paragraph summary.</description>
<link>[URL unfurl="true"]http://www.website.com/new-blog-article.html</link>[/URL]
</item>
</channel>
</rss>
that seems to validate, and on yahoo, i see the rss feed under myyahoo...however, i look at other rss feeds on blog sites and popular information sites and they're structure seems to be:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="[URL unfurl="true"]http://purl.org/rss/1.0/modules/content/"[/URL] xmlns:wfw="[URL unfurl="true"]http://wellformedweb.org/CommentAPI/"[/URL] xmlns:dc="[URL unfurl="true"]http://purl.org/dc/elements/1.1/">[/URL]
<channel>
<title></title>
<link></link>
<description></description>
<pubDate></pubDate>
<generator></generator>
<language></language>
<item>
<title></title>
<link></link>
<comments></comments>
<pubDate></pubDate>
<dc:creator></dc:creator>
<category></category>
<guid></guid>
<description>
<![CDATA[ ]]>
</description>
<content:encoded>
<![CDATA[ ]]>
</content:encoded>
<wfw:commentRSS></wfw:commentRSS>
</item>
</channel>
</rss>
i have site with article posting, and on the home page there is a short summary of the article, with title and date written...
(main website is about widgets)
Widget Wonders in Alaska
December 31, 2005
Did you know you can offer widgets for wonders in alaska? This article details blah blah blah blah...
how would i use the tags above to format my xml/rss feed correctly? or if no help, can anyone explain the tags? i don't understand what guid is and such. i know i have to put things in certain places so the feed is used the best possible way.
any ideas?
thanks.
- g