| 1 |
********************************************************************
|
| 2 |
D R U P A L M O D U L E
|
| 3 |
********************************************************************
|
| 4 |
Name: Publish Module
|
| 5 |
Author: John VanDyk <jvandyk at iastate dot edu>
|
| 6 |
Drupal: 4.7
|
| 7 |
********************************************************************
|
| 8 |
DESCRIPTION:
|
| 9 |
|
| 10 |
The publish module allows you to set up one or more channels through
|
| 11 |
which nodes can flow. A Drupal installation using the subscribe
|
| 12 |
module can then subscribe to one of the channels and receive nodes.
|
| 13 |
|
| 14 |
New nodes can be sent along the channel as soon as they are
|
| 15 |
created, they can be sent when cron runs, or the subscribing site
|
| 16 |
can request an update. These options can be changed on a per-
|
| 17 |
subscription basis.
|
| 18 |
|
| 19 |
The publish module uses XML-RPC to transport the nodes. Thus, any
|
| 20 |
XML-RPC-capable client can subscribe to a channel. Of course, the
|
| 21 |
non-Drupal client may need to be told what to do with a node once it
|
| 22 |
arrives. I test the publish module using a Userland Frontier(TM)
|
| 23 |
implementation. To see the XML-RPC methods that are implemented,
|
| 24 |
see publish_xmlrpc() or ask your Drupal site by calling it via
|
| 25 |
XML-RPC using the system.listMethods method:
|
| 26 |
|
| 27 |
$result = xmlrpc ('http://example.com/xmlrpc.php',
|
| 28 |
'system.listmethods');
|
| 29 |
print_r($result);
|
| 30 |
|
| 31 |
Since you may not want to allow everyone in the world to subscribe
|
| 32 |
to your channel, you have your choice of authentication methods
|
| 33 |
that a subscribing site must use. You can have no authentication,
|
| 34 |
password-based authentication, or role-based authentication.
|
| 35 |
|
| 36 |
When setting up a channel, you must specify which of the node types
|
| 37 |
available on your site (e.g. story, page) should be published, as
|
| 38 |
well as which vocabularies should be published.
|
| 39 |
|
| 40 |
********************************************************************
|
| 41 |
INSTALLATION:
|
| 42 |
|
| 43 |
1. Place the entire publish folder in the modules folder of
|
| 44 |
your Drupal installation.
|
| 45 |
|
| 46 |
2. Go to administer > modules and enable the publish module.
|
| 47 |
|
| 48 |
3. You should now see a "publish" option in your menu tree.
|
| 49 |
Click on it and you're ready to add a channel.
|
| 50 |
|
| 51 |
********************************************************************
|
| 52 |
GETTING STARTED:
|
| 53 |
|
| 54 |
|
| 55 |
********************************************************************
|