diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-07-08 11:31:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-07-08 11:31:52 +0000 |
commit | 99d712b6364720a949a3bf7066274c3288abc41b (patch) | |
tree | d8d249a6f1c624223b4aeae009b39826669c17f0 /modules/aggregator | |
parent | a382d9ea4a137711d9521aed133addfb49a01faf (diff) | |
download | brdo-99d712b6364720a949a3bf7066274c3288abc41b.tar.gz brdo-99d712b6364720a949a3bf7066274c3288abc41b.tar.bz2 |
- Added a simple site cloud module.
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 30f350300..c8afe7c5a 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -107,7 +107,7 @@ function import_update($feed) { db_query("UPDATE feed SET timestamp = '". time() ."' WHERE fid = '". $feed[fid] ."'"); } else { - watchdog("error", "failed to syndicate from '$feed[title]'"); + watchdog("error", "import: failed to syndicate from '$feed[title]'"); } } @@ -213,7 +213,7 @@ function import_view_feed() { $output .= "<h3>Feed overview</h3>"; $output .= "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\">\n"; - $output .= " <tr><th>title</th><th>attributes</th><th>items</th><th>last update</th><th>next update</th><th colspan=\"3\">operations</th></tr>\n"; + $output .= " <tr><th>site</th><th>attributes</th><th>items</th><th>last update</th><th>next update</th><th colspan=\"3\">operations</th></tr>\n"; while ($feed = db_fetch_object($result)) { $output .= " <tr><td>". check_output($feed->title) ."</td><td>". check_output($feed->attributes) ."</td><td>". format_plural($feed->items, "item", "items") ."</td><td>". ($feed->timestamp ? format_interval(time() - $feed->timestamp) ." ago" : "never") ."</td><td>". ($feed->timestamp ? format_interval($feed->timestamp + $feed->refresh - time()) ." left" : "never") ."</td><td><a href=\"admin.php?mod=import&type=feed&op=edit&id=$feed->fid\">edit feed</a></td><td><a href=\"admin.php?mod=import&type=feed&op=remove&id=$feed->fid\">remove items</a></td><td><a href=\"admin.php?mod=import&type=feed&op=update&id=$feed->fid\">update items</a></td></tr>\n"; } |