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@xxxxxxxxxx
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php