Wiki

Clone wiki

jwatch / Home

J!Watch V1.1

This is a short info on how J!Watch is meant to be used:

To be done first

  • Fork this rep
  • download and add phpquery: http://code.google.com/p/phpquery/downloads/list local filename has to be changed to 'phpQuery.php'
  • open cron.php
  • define the sending email, look for: define('EMAIL_SENDER', '_@.de');
  • define the receiving email, look for: define('EMAIL_RECEIVER', '_@.de');
  • add / remove extension-links (found at http://extensions.joomla.org/)
  • copy all files to your server in an own subdir, which is not referred by any html
  • call index.php and click link to safe the actual information for later compares.
  • configure a cron (on your server or f.e. www.cronjob.de) to call cron.php

Files

index.php

Should be called by you, gives you an overview over your watched items.

cron.php

Should be called by a cron. Sends a mail if a difference is found. Email for sender and receiver have to be extended here!

model.php

Internal, all thing we need to know about our watched sources

parser.php

Internal, the one who gets the remote-information.

data.tmp/data.dat

Created by the script, stores the remote data locally for the next comparison.

php.ini

Maybe you have to extend your providers php.ini, I had to do so to define an 'envelope' for mailing (provide an email-accound, which is hosted by my provider - anti-spam).
First try ignoring this. If you receive no mail, try this (you hoster should give you more information).

Updated