Re: How can I do login, grab web pages, parse email with cakephp/php?

2007-04-18 Thread Humble Groups
Yes. But this is closed group, RSS is available only for public groups.

I won't be able to access the messages through mailbox for following
reasons.

1. I won't know the message no yahoo group associated for that message.
2. I won't know the the thread of messages for each message.

Yahoo provides the raw email message as well if you pass another parameter
to the url, so i just grab that, feed to JavaMail API which will give me all
the properties (subject, from, ...) and multipart object, so I don't need to
worry about parsing, etc.,

I also parse the thread of messages using xpath.

On 4/17/07, gwoo <[EMAIL PROTECTED]> wrote:
>
>
> You can run Cake from cli. There are messages on the list that talk
> about it. PHP can interface with mailboxs pretty easily. Does yahoo
> groups have an rss feed?
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How can I do login, grab web pages, parse email with cakephp/php?

2007-04-17 Thread gwoo

You can run Cake from cli. There are messages on the list that talk
about it. PHP can interface with mailboxs pretty easily. Does yahoo
groups have an rss feed?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How can I do login, grab web pages, parse email with cakephp/php?

2007-04-17 Thread Chris Lamb
Humble Groups wrote:

> If somebody can throw me some inputs on this, I would really
> appreciate. If this is off-topic to cakephp, please ignore.

Hmm, definately OT, but probably of interest.

Two of the best programs are Beautiful Soup[0] and Mechanize[1]. Both are
in Python, but this /is/ off-topic, remember?

Kindly,

-- 
 Chris Lamb, Leamington Spa, UK  GPG: 0x634F9A20


[0] http://www.crummy.com/software/BeautifulSoup/
[1] http://wwwsearch.sourceforge.net/mechanize/



signature.asc
Description: PGP signature


How can I do login, grab web pages, parse email with cakephp/php?

2007-04-17 Thread Humble Groups
I know this has got nothing to do with cakephp as such.

I wrote a java program to login to yahoo groups, grab the messages, dump to
mysql. Used cakephp as UI and found it as awesome. Within 2 days it was
done. Now revamping the UI.

http://ps.namo-namaha.net
http://dev.ps.namo-namaha.net

The problem is I can't run the java program on cron @ Dreamhost due to
memory/process restriction, they kill it immediately. I am planning to use
wget to run a php page on cron which should do the same what the java
program does.

If somebody can throw me some inputs on this, I would really appreciate. If
this is off-topic to cakephp, please ignore.

Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---