Cake PHP have launched a new version or their PHP framework and one of the snippets was the integration of SimplePie. The install and demo for normal sites is incredibly simple and the code is fully featured but held in a single file. It can even spit out the “subscribe via” links for the major sites.
All in all it appears to be very impressive.
- Unzip the files on your local file system and run the demo and make sure everything is setup ok. Don’t be alarmed by the huge logo, you are still on your own site 😉
- If you want to skip the demo the only file you actually need is simplepie.inc
- create this function in your script[php]function getSimplePie($url)
// Parse it
$feed = new SimplePie();
$output = “
Like this:Loading...%d bloggers like this: