« Restoring the Style and Class Support Eliminated by WordPress MU 1.2.3 | Home | Yet Another Duplicate Content Vulnerability Hits WordPress, Movable Type Blogs (Part 1) »
Improve Your Phplist RSS-to-Email Feature By Using Simplepie Rather Than Onyx
By Greg | July 30, 2007
The phplist mailing list software includes built-in support for RSS-to-email by way of Onyx RSS, a pretty useful chunk of PHP code which is now around 5 years old. However, you can improve your RSS-to-email (and Atom-to-email) capabilities significantly by upgrading phplist to use Simplepie rather than Onyx. It’s new, it’s snazzy, and (unlike Onyx) it’s being actively developed and supported.
You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Improve Your Phplist RSS-to-Email Feature By Using Simplepie Rather Than Onyx”.
9 Comments »




















August 5th, 2007 at 2:44 pm
I tested this approach with out success.
OK Simplepie is a great rss system but when I implement it in phplist 2.10.4 I have no success.
The getrss page only displays
August 5th, 2007 at 2:47 pm
The getrss page only displays a “Parsing http://news.google.be/nwshp?tab=wn&q=&output=rss..” nothing else. Do you have a sugestion ?
The compatibility_test and demo of simplepie is OK and the path to simplepie.inc is also OK
Thanks for your feedback
August 5th, 2007 at 5:19 pm
Hi there cyberagency,
Two things:
1) The code I’ve modified is ONLY intended to work with 2.11.3, NOT with 2.10.4.
2) In case you’re feeling extra-extra-brave and are deliberately trying to mix 2.10.4 with 2.11.3 modified, does your Simplepie installation work OK? I.e., have you tested it, and found that all is well with Simplepie, just not with Simplepie working with phplist?
All the best,
Greg
September 22nd, 2007 at 4:48 pm
This is very cool, if I can just get it to work. Been using phplist for 3 years, just upgraded to 2.11.3 and tested. Got SimplePie working. But can’t seem to get the two working together. I edited your getrss.php with my path to simplepie.inc, but no dice. Any chance you could point me in the right direction? I’ll be doing some interesting things with this and will gladly share. Thanks in advance!
September 22nd, 2007 at 4:54 pm
Oh, one other tidbit. The rss I’m pulling in is just one feed, http://blog.hittransition.com/rss.xml. (An rss 2.0 feed. I could instead use the Atom or rss 1.0 version.)
September 24th, 2007 at 9:31 am
Hi Michael,
Well, you haven’t given us very much to go on, but let’s see what we can do…
The first thing I would suggest checking is to verify that 2.11.3 is fully functional with its own RSS parsing: i.e., if you use the original getrss.php file, rather than the modified one, does it handle your feed alright? If you can verify that it works just fine without the changes to getrss.php, that makes it more likely that it’s something in the getrss.php which is causing you troubles.
The next thing I would suggest checking is to verify that Simplepie is fully functional when you’re calling it from the same location as getrss.php. You might drop a test file in next to getrss.php, for example, and see if it works; if it doesn’t, there could be a problem with the path specified, or with other permissions somewhere in your setup.
Finally, if phplist is definitely working without the modified getrss.php, and Simplepie is definitely working from the same location as getrss.php, then it’s time to go through getrss.php and check whether anything at all could have been altered in there besides the path (i.e., running a diff comparing the two).
Beyond that sort of systematic testing and verifying, with the aim of excluding possible problem sources one by one, I’m afraid I can’t offer much more.
Good luck!
All the best,
Greg
April 2nd, 2009 at 7:49 pm
I needed to do this recently for my website but found the problem with the feeds itself. And a solution that i came up with was to pass the feed through feedburner and that fixed it and i didn’t have to use your solution
March 3rd, 2010 at 6:00 pm
Thank you so much for this…got it working great with 2.10.10! This would be a great (and easy) addition to the primary source.
March 4th, 2010 at 9:26 am
@Bill — Excellent, I’m glad to hear it!