RSS Tutorials

How to Validate RSS Feed in PHP

How to Validate RSS Feed in PHP

RSS is now greate source of announcing new content of a Web site. RSS feeds are in XML format, but these feeds need to build with RSS specifications, so they can be executed well when any programs and sites that syndicate the feeds. We can there are some online tools to validate RSS feed like feedvalidator.org, validator.w3.org/feed/, rssboard.org/rss-validator/ etc, these tools checks if feed compliant with different version of RSS …

Continue reading

How to Read RSS Feeds using PHP

How to Read RSS Feeds using PHP

RSS feed is used to provide updates of blog or website for various platforms. We can use these feed to display as latest updates, news etc on our site. In this post I am explaining how to read rss feeds using php. Let’s our rss feed url is http://demos.tricksofit.com/files/rss.php Now we will read the content of the url using file_get_contents and store it in a variable called $content. file_get_contents — …

Continue reading

How to Create RSS Feed in PHP

How to Create RSS Feed in PHP

RSS stands for Really Simple Syndication. It’s an XML-based content format for distributing content, news etc. It makes your content global and available to various platforms. Most popular sites and blogs provide RSS feeds for you to subscribe. You need a feed reader to view its contents, that’s all. You can also create RSS feeds for your own website. In this post I am explaining how to create RSS feed …

Continue reading