Re: PHP RSS to email

From: Date: Tue, 09 Sep 2008 21:08:09 +0000
Subject: Re: PHP RSS to email
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-279725@lists.php.net to get a copy of this message
Jason Pruim wrote:
On Sep 8, 2008, at 7:59 AM, Richard Heyes wrote:
Correct me if I'm wrong, but couldn't you use grab and parse the rss feeds you want, store the titles in a database, with a column for identifying if the e-mail has been sent? So every hour it checks your feeds, grabs the new ones, checks to see if emailSent="1" if not pass it to send_notification($email, $feedname, $feedtitle).
Of course, (if ever I've had a "doh" moment I think now would be it). Though I'll probably use a tmp file.
I've been working almost exclusively with databases lately so all my solutions are including databases :) -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 11287 James St Holland, MI 49424 www.raoset.com japruim@raoset.com quick recommendation rss_php from rssphp.net is often faster than magpie and php5 - simplepie is also good; the old loop through and send what's new seems the way though Richard.
ps: may be worth ntoing this'd make a great open source site or even subscription service; I'd sign up for it! Many Regards & Hope your well; Nathan

« previous php.general (#279725) next »