Jump to content

Recommended Posts

Alright, so I've been googling a bit on RSS feeds. I'm a complete novice at RSS, as I've never used them before. Now from what I gather you need a xml file. And I read all about how to do it within php. So you get the xml tag, rss feed tag, set the content type to text/xml, then echo out some dynamic data from database. But most tutorials don't seem to explain what your supposed to do after that? So I have my xml file. Do I just link to it, won't you just see a page with the latest updates, and the rest is blank. How do you actually let people subscribe to it?

You're on the right track :)

 

Subscribers use an "rss reader" and link to the xml file...

 

The reader will then periodically check for new content (usually once a day) and let them know if it finds anything that was not there the last time it checked.

Most newer browsers will parse RSS if it is valid XML.

Browse to your XML file i.e http://www.yourdomain.com/rss.xml and see if your feeds display properly. You could also get a reader such as RSS Owl and import a new feed with your URL to check its correct.

 

Once correct put a link on your website to the xml file and users who want to use your feed will do the rest.

Ok cool, doesn't seem to hard. I never knew the browser does that rss subscribe page for you. How long does it take for the rss readers to refresh? I guess its not instant as I tried adding an item, and in more than half an hour, it still said I had 2 items when I had 3. Also, I see that a browser such as IE6 will just display the xml output. What can I do to fix that?

Yea, I made sure it was all valid first. So I guess if I want some support for IE6 I'd need to do a bit more coding. Or maybe sign up for feedburner? I noticed phpfreaks uses it  :D But then again, most people who use IE6 probably have moved over to another browser if they cared about RSS feeds?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.