From a82346b02bd00289cc833fcb26befe679e1c37a8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 12 Dec 2001 09:44:50 +0000 Subject: - Added "help"-function for Drupal's "weblogs.com"-module. --- modules/weblogs.module | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/weblogs.module') diff --git a/modules/weblogs.module b/modules/weblogs.module index deba41a5b..3b1509383 100644 --- a/modules/weblogs.module +++ b/modules/weblogs.module @@ -1,11 +1,17 @@ Weblogs.com is a website that tracks and displays updates to weblogs and news-oriented websites. To get your Drupal site listed, weblogs.com must be informed about your site's updates. This is the job of the weblog module and when installed, the administrator doesn't have to do anything to participate in the weblogs.com system. The weblog module automatically notifies weblogs.com when your site is updated. To do so, Drupal implements the XML-RPC interface of weblogs.com."; + return $output; +} + function weblogs_cron() { if (db_num_rows(db_query("SELECT nid FROM node WHERE status = 1 AND moderate = 0 AND (created > '". variable_get("weblogs_cron_last", time()) ."' OR changed > '". variable_get("weblogs_cron_last", time()) ."')"), 1)) { weblogs_notify(variable_get("site_name", "drupal") ." - ". variable_get("site_slogan", ""), path_uri()); } + variable_set("weblogs_cron_last", time()); } -- cgit v1.2.3