dannyluked Posted August 6, 2009 Share Posted August 6, 2009 Hi, How would i make an RSS feed (XML). I could do it in PHP but I want it to be the most professional way (XML - I think). Also how would I define it in the actual site so the RSS logo comes up in the address bar. Also I would like MySQL queries in the feed. If anyone could point me in the right direction it would be a great help! Quote Link to comment https://forums.phpfreaks.com/topic/169122-solved-rss-feeds-the-real-way/ Share on other sites More sharing options...
alex3 Posted August 6, 2009 Share Posted August 6, 2009 RSS in the address bar: <link rel="alternate" type="application/rss+xml" title="RSS Feed Title" href="http://www.example.tld/feed.rss" /> Quote Link to comment https://forums.phpfreaks.com/topic/169122-solved-rss-feeds-the-real-way/#findComment-892344 Share on other sites More sharing options...
mikesta707 Posted August 6, 2009 Share Posted August 6, 2009 the way you would do it in PHP would be to make the PHP write XML to a file. You can't make an RSS feed with PHP alone. So, assuming since you want to use PHP since you are on the PHP forums, i would suggest you do a search for file input and output with PHP. I have a script that makes an RSS feed with PHP somewhere on my old computer, but unfortunately i'm at work so I can't post it Quote Link to comment https://forums.phpfreaks.com/topic/169122-solved-rss-feeds-the-real-way/#findComment-892347 Share on other sites More sharing options...
dannyluked Posted August 6, 2009 Author Share Posted August 6, 2009 Thanks for the help. If you can please post a link to the file. I will mark this topic as solved. Quote Link to comment https://forums.phpfreaks.com/topic/169122-solved-rss-feeds-the-real-way/#findComment-892491 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.