Changeset 180
- Timestamp:
- 10/21/08 02:03:21 (3 months ago)
- Files:
-
- 1 modified
-
hellaworld/branches/autonzb/cron.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hellaworld/branches/autonzb/cron.php
r179 r180 18 18 foreach ($dataset->feed as $feed) { 19 19 $attrs =& $feed->attributes(); 20 echo 'Checking ', $attrs->name, "\n";21 20 22 21 $atom = new Atom_Feed($attrs->url); … … 26 25 if ($parsed->episode > $attrs->latest_episode) { 27 26 // There's a new ep!!! 28 echo sprintf('New ep!!! %s > %s', $parsed->episode, $attrs->latest_episode), "\n"; 27 echo sprintf('New episode of %s (%s > %s)', 28 $attrs->name, $parsed->episode, $attrs->latest_episode), "\n"; 29 29 $nzb_id = end(explode('/', substr($latest->id, 0, -1))); 30 30 … … 36 36 } 37 37 } else { 38 echo 'Same old. '.$parsed->episode, "\n";38 // echo 'Same old. '.$parsed->episode, "\n"; 39 39 } 40 40 }
