MRE Feed Reader Many years ago I found a capable RSS feed reader - html web aggregator at a free price. It was copyright Ovi Crisan @ www.2RSS.com and called rsslib.php. I used this reader on many websites in conjunction with an ATOM parser class from www.chirp.com.au Over the years I patched and modified both of these scripts to suit my needs and thank both authors for making them open source. I also acknowledge them here because my script uses identical file names and was in fact written to be a near "drop in" replacement for the 2RSS reader. The similarity stops there however, the code inside my scripts is entirely new and not based on either of these readers. In an effort to clean up and optimize my websites I started looking around for a fresh XML feed reader and discovered the PHP 5 DOMDocument class along with a few examples of its use scattered around the web. I hacked together some basic code and started playing around with it. In a short time I found that I had written a feed reader of my own that was small, fast, and efficient. Since my web pages and news tickers were already using the old 2RSS file and parameter names, I kept them for the new reader so that I could basically drop in new PHP code and the existing pages would keep seamlessly displaying the feeds. I also added some new capabilities like date sorting and caching the generated html instead of the raw XML code. My reader also automatically reads both rss and atom feeds so only one reader is required.
|
Barking Points and the news reader Demo =>
*The
MRE Feed Reader is designed for efficient parsing of basic rss and atom feeds.
No claim is made to support all aspects of these feed format specifications. It is intended
to
work well as a general purpose website backbone parser.
To see this script in action with multiple feeds check out one of my news pages by clicking here. The documentation for this script appears below. Check it out then to download a complete package of files for the
MRE Feed Reader
|
If you find this code of value, donate a little to the cause. Think of the time you just saved! |
|
|
If you find this code of value, donate a little to the cause. Think of the time you just saved! |
USE AT YOUR OWN RISK! |
Questions / Comments? Email me.
|
|