Welcome to WebmasterWorld Guest from 54.147.220.66

Forum Moderators: bill & werty

Message Too Old, No Replies

RSS Newb ... XHTML Strict & ID tags all setup at least!

Setting up an easy/basic RSS feed.

   
8:55 pm on Feb 9, 2005 (gmt 0)

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member



It is my intent to learn RSS and it does not seem hard. However I need to clarify a few things.

1.) Which version of RSS is best suited for rss newbs like myself?

2.) Do I have to update my RSS feeds if I manually update my pages manually?

4.) Besides the basic news items, what is the basic (AND valid) code for the version of RSS you're suggesting?

3.) I've got ids for each div that contains news, now how do I translate that in to the RSS?

Here is how my code is currently structed for each news item I have on my news page...

<div id="news-2-09-2005-1">
<h2>Monday, February 9th</h2><h6> ~ </h6><h4>A bounch of words!</h4>
<p>Words, words words and more words.
&nbsp; Words, words, words, and more words.
&nbsp; Words, words, words, and more words.
&nbsp; Words, words, words, and more words.</p>
</div>

The reply notification still doesn't work but I'll keep an eye out on the post. I figure this stuff should be simple enough but none of the tutorals written seem to be able to explain something so simple in full.

4:44 am on Feb 11, 2005 (gmt 0)

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I would assume XHTML is XML formated and therefor easily made in to an RSS feed?

If I have several items on a page how would I link them using the ID in the divs they are contained within?

I can only assume these are easy questions ... is this just not a very active forum of WW?

5:17 pm on Feb 17, 2005 (gmt 0)

10+ Year Member



1) I would say the easiest RSS is 0.91, which covers everything you need to do in an RSS feed without any needless complications.

Here's a typical example that does most of what you want an RSS feed to do: [csmonitor.com...] .

2) If you're manually updating pages, you'll need to manually update your RSS feed, just like any other page (although you can get tools to make it easier).

4) You need to use the ID of the div as the link, for instance <link>http://example.com/index.html#news-2-09-2005-1</link>

Hope this helps -- good luck!

[edited by: werty at 1:54 am (utc) on Feb. 18, 2005]
[edit reason] Fixed URL [/edit]