Re: [PHP] PHP RSS to email

2008-09-09 Thread Nathan Rixham

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
[EMAIL PROTECTED]




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



Re: [PHP] PHP RSS to email

2008-09-09 Thread Richard Heyes
 ps: may be worth ntoing this'd make a great open source site or even
 subscription service; I'd sign up for it!

I've already knocked something up. It's attached if you want it.

-- 
Richard Heyes

HTML5 Graphing for IE7, FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP RSS to email

2008-09-08 Thread Richard Heyes
Hi,

Anyone know of a PHP based RSS to email gateway. What I'm looking to
do is have something running on my website that provides an interface
for specifying some feeds, and these are subsequently checked every
hour or so. If a new news item is found, it fires off an email to me.
Basically want this since I check my email often, but not so much my
RSS reader which is tucked away in IE7, which I don't use so much now
since I'm doing a lot of canvas stuff.

If no-one knows of one, presumably Magpie could be used to create one?

Thanks.

-- 
Richard Heyes

HTML5 Graphing for IE7, FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP RSS to email

2008-09-08 Thread Jason Pruim


On Sep 8, 2008, at 6:50 AM, Richard Heyes wrote:


Hi,

Anyone know of a PHP based RSS to email gateway. What I'm looking to
do is have something running on my website that provides an interface
for specifying some feeds, and these are subsequently checked every
hour or so. If a new news item is found, it fires off an email to me.
Basically want this since I check my email often, but not so much my
RSS reader which is tucked away in IE7, which I don't use so much now
since I'm doing a lot of canvas stuff.

If no-one knows of one, presumably Magpie could be used to create one?



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).


Or am I missing something? :)


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
[EMAIL PROTECTED]





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP RSS to email

2008-09-08 Thread Richard Heyes
 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.

-- 
Richard Heyes

HTML5 Graphing for IE7, FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP RSS to email

2008-09-08 Thread Jason Pruim


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
[EMAIL PROTECTED]





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php