Prodigal Son Posted August 6, 2008 Share Posted August 6, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/ Share on other sites More sharing options...
MatthewJ Posted August 6, 2008 Share Posted August 6, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609629 Share on other sites More sharing options...
JonnoTheDev Posted August 6, 2008 Share Posted August 6, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609638 Share on other sites More sharing options...
Prodigal Son Posted August 6, 2008 Author Share Posted August 6, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609754 Share on other sites More sharing options...
DarkWater Posted August 6, 2008 Share Posted August 6, 2008 Well, IE6 must not have good RSS support I guess. Send me a link and I'll make sure it's valid if you want too. >_< Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609757 Share on other sites More sharing options...
ev5unleash Posted August 6, 2008 Share Posted August 6, 2008 IE 6 Does not have RSS Support at all Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609789 Share on other sites More sharing options...
DarkWater Posted August 6, 2008 Share Posted August 6, 2008 Figured as much. Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609790 Share on other sites More sharing options...
Prodigal Son Posted August 6, 2008 Author Share Posted August 6, 2008 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 But then again, most people who use IE6 probably have moved over to another browser if they cared about RSS feeds? Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609803 Share on other sites More sharing options...
DarkWater Posted August 6, 2008 Share Posted August 6, 2008 Or they just use an RSS reader. Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609809 Share on other sites More sharing options...
Prodigal Son Posted August 6, 2008 Author Share Posted August 6, 2008 Or they just use an RSS reader. Hmm, a non browser application you mean? Because google reader won't work on IE6 either. Or not that it doesn't work, how do you let the user subscribe. Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609851 Share on other sites More sharing options...
DarkWater Posted August 6, 2008 Share Posted August 6, 2008 Yeah, a non-browser application dedicated to RSS. Their reader would have to provide a method of subscription somehow. Quote Link to comment https://forums.phpfreaks.com/topic/118437-solved-newbie-question-about-rss-feeds-and-how-to-use-them/#findComment-609858 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.