-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Olivvv,
The first question could be answered by using an external script which makes an HTTP request to your Cake application, invoked from cron. Cake could also, in theory, be used as a generalized application development framework, when coupled with a daemon that handles time-based action invocation, vaguely similar to POE in Perl. I believe the second question could be answered by using generally available PHP classes, or core or extensions fuctions which handle HTML, or text parsing. All in all, it sounds quite feasible. And fun. Best, Darian Olivier Percebois-Garve wrote: > Hi > I got a proposal for a job and I'm trying to figure out how difficult it > is and how long it would take. > > The job is to make a bot that connects to an external url, logs in, > catch somewhere on the page the number in front of the string "treffer", > save it and then start again with another url. > > So I have several questions: > > Can cake run code without a query (every night for instance) ? > Can cake (or something else) open external urls and walk through the DOM > of the opened page ? > > Olivvv > > > > > > - -- Darian Anthony Patrick <[EMAIL PROTECTED]> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEkykzKpzEXPWA4IcRAlmyAJkBGwozs+TmY9yyAzSdz1Cxp4p7TQCfUD3g kDSnz3povRiK5jLO5jpxzPU= =YEGc -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
