summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-08-20 20:11:00 +0000
committerDries Buytaert <dries@buytaert.net>2002-08-20 20:11:00 +0000
commit8cae7b072a35682391b98dc9cc1b609557e185bd (patch)
tree3624277ee1a9d4a1b20025de01a7934964d0de81
parentbfe5b85dbdab7b0c9f868dcb3beb71848ffbd295 (diff)
downloadbrdo-8cae7b072a35682391b98dc9cc1b609557e185bd.tar.gz
brdo-8cae7b072a35682391b98dc9cc1b609557e185bd.tar.bz2
- Integrated Moshe's documentation (http://www.drupal.org/node.php?id) in
the drupal.module. Fixed a couple of typos and small inconsistencies.
-rw-r--r--modules/drupal.module16
-rw-r--r--modules/drupal/drupal.module16
2 files changed, 30 insertions, 2 deletions
diff --git a/modules/drupal.module b/modules/drupal.module
index 7c433a8a0..38bf96b13 100644
--- a/modules/drupal.module
+++ b/modules/drupal.module
@@ -1,6 +1,20 @@
<?php
-function drupal_system($field){
+function drupal_help_directory() {
+ ?>
+ <p>The "drupal" module features a capability whereby other drupal sites may <i>call home</i> to report their existence. In turn, this enables a pod of Drupal sites to find, cooperate and advertise each other.</p>
+ <p>Currently, the main application of this feature is the <a href="http://www.drupal.org/node.php?id=3">Drupal sites page</a>. By default, fresh Drupal installations can use <a href="http://www.drupal.org/">drupal.org</a> as their <i>directory server</i> and report their existence. This reporting occurs via scheduled <a href="http://www.xmlrpc.com/">XML-RPC</a> pings.</p>
+ <p>Drupal administrators should simply enable this feature to get listed on the <a href="http://www.drupal.org/node.php?id=3">Drupal sites page</a>; just set your site's name, e-mail address, slogan and mission statement. Then make sure that the field called <i>Drupal XML-RPC server</i> on the <i>site settings</i> tab of the <i>site configuration</i> page is set to http://www.drupal.org/xmlrpc.php. Also, make sure you enable this feature using the checkbox directly below.</p>
+ <p>The listing of your site will occur shortly after your site's next <a href="admin.php?mod=system&op=help">cron run</a>. Note that cron.php should be called using the domain name which you want to have listed at <a href="http://www.drupal.org/">drupal.org</a>. For example, don't kick off cron by requesting http://127.0.0.1/cron.php. Instead, use a publicly accessible domain name such as http:// www.mydomain.org/cron.php.</p>
+ <p>Also note that your installation need not use drupal.org as its directory server. For example, this feature is perfectly capable of aggregating pings from all of your departmental drupal installations sites within an enterprise.</p>
+ <?php
+}
+
+function drupal_help() {
+ drupal_help_directory();
+}
+
+function drupal_system($field) {
$system["description"] = t("Lets users log in using a Drupal ID and can notify drupal.org about your site.");
return $system[$field];
}
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module
index 7c433a8a0..38bf96b13 100644
--- a/modules/drupal/drupal.module
+++ b/modules/drupal/drupal.module
@@ -1,6 +1,20 @@
<?php
-function drupal_system($field){
+function drupal_help_directory() {
+ ?>
+ <p>The "drupal" module features a capability whereby other drupal sites may <i>call home</i> to report their existence. In turn, this enables a pod of Drupal sites to find, cooperate and advertise each other.</p>
+ <p>Currently, the main application of this feature is the <a href="http://www.drupal.org/node.php?id=3">Drupal sites page</a>. By default, fresh Drupal installations can use <a href="http://www.drupal.org/">drupal.org</a> as their <i>directory server</i> and report their existence. This reporting occurs via scheduled <a href="http://www.xmlrpc.com/">XML-RPC</a> pings.</p>
+ <p>Drupal administrators should simply enable this feature to get listed on the <a href="http://www.drupal.org/node.php?id=3">Drupal sites page</a>; just set your site's name, e-mail address, slogan and mission statement. Then make sure that the field called <i>Drupal XML-RPC server</i> on the <i>site settings</i> tab of the <i>site configuration</i> page is set to http://www.drupal.org/xmlrpc.php. Also, make sure you enable this feature using the checkbox directly below.</p>
+ <p>The listing of your site will occur shortly after your site's next <a href="admin.php?mod=system&op=help">cron run</a>. Note that cron.php should be called using the domain name which you want to have listed at <a href="http://www.drupal.org/">drupal.org</a>. For example, don't kick off cron by requesting http://127.0.0.1/cron.php. Instead, use a publicly accessible domain name such as http:// www.mydomain.org/cron.php.</p>
+ <p>Also note that your installation need not use drupal.org as its directory server. For example, this feature is perfectly capable of aggregating pings from all of your departmental drupal installations sites within an enterprise.</p>
+ <?php
+}
+
+function drupal_help() {
+ drupal_help_directory();
+}
+
+function drupal_system($field) {
$system["description"] = t("Lets users log in using a Drupal ID and can notify drupal.org about your site.");
return $system[$field];
}