search the network & cronjob

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stefan Schwärzler

    #1

    search the network & cronjob

    hi ng,
    is it possible with php to search new content on internet sides with an
    daily php cronjob? Are there any php-tool (to search and save into xml
    or databases; and cronjob-tools) available?
    thx, steff
  • Andy Jeffries

    #2
    Re: search the network & cronjob

    On Wed, 16 Aug 2006 11:18:41 +0200, Stefan Schwärzler wrote:
    is it possible with php to search new content on internet sides with an
    daily php cronjob?
    Yes.
    Are there any php-tool (to search and save into xml or
    databases
    file_get_conten ts (or even better the curl* tools) will get you the
    content.

    From there you can save it using file_put_conten ts
    and cronjob-tools) available?
    The PHP CLI binary (should come with your distribution) can be run from
    cron. Use "#!/usr/bin/env php" as the first line of your PHP script.

    That should give you enough to get started (I've already used up my quota
    of writing fully functional code for other people today - so you just get
    hints/pointers).

    Cheers,


    Andy


    --
    Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
    http://www.gphpedit.org | PHP editor for Gnome 2
    http://www.andyjeffries.co.uk | Personal site and photos

    Comment

    Working...