I am using XAMPP and was wondering if I can code my site to incl开发者_StackOverflow社区ude RSS feeds. Would the codes work and can I test it if I am working on a local server?
I am practicing using the OReily head First PHP/Mysql book and I'm on the chapter on RSS and getting RSS videos from youtube.
You can create a RSS feed and test it locally, no problem. In the end it is not different from testing your other pages besides that the URL pointing to the RSS feed does not return HTML but XML.
You can make a feed, but you have to upload them online, so other people can see and use them.
But it will work similar to online-version on localhost.
Why don't you just test it?
Usually there is no problem with getting RSS
But if there will be one - that will be time to come here to SO with the question
if you want to make your own RSS feed, it's not a big deal too. RSS is the same markup as HTML.
精彩评论