News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Engrowe.com:
How-to - Convert a RSS feed to JSON in PHP
May 09, 2006 @ 06:56:50

Engrowe.com has this quick tutorial posted about converting one popular data transfer style (RSS) into another (JSON) using the power of PHP.

Here are a quick set of directions to build your own RSS to JSON proxy using only PHP. You need to download and install two libraries, MagpieRSS for RSS and JSON-PHP for JSON. With these two libraries you can easily create a simple proxy to suit your needs.

The script grabs the contents of the RSS feed and uses the built-in functionality of the MagpieRSS library to re-encode the data into a JSON format. Then, it spits out the result to the browser for consumption yet again...

1 comment voice your opinion now!
tutorial convert rss json magpierss encode tutorial convert rss json magpierss encode


blog comments powered by Disqus

Similar Posts

7PHP.com: Auto Generate Properties Dynamically For Your Classes Using Magic Methods & Reflection

NetTuts.com: How to Use New Relic With PHP & WordPress

NetTuts.com: Building a Customer Management App Using AngularJS and Laravel (Part 1)

Felix Geisendorfer's Blog: Two Tutorials - Title to Slug & Dependencies with If

Ade Slade's Blog: Integrating Zend Framework 1 and Pimple


Community Events

Don't see your event here?
Let us know!


framework laravel application part2 project api introduction list language interview composer configure symfony community example yii2 opinion podcast series php7

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework