/[drupal]/contributions/modules/advogato_import/README.txt
ViewVC logotype

Diff of /contributions/modules/advogato_import/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Sat Mar 18 08:41:07 2006 UTC revision 1.4, Mon Nov 6 21:02:53 2006 UTC
# Line 1  Line 1 
1  This module imports Advogato diary entries to a Drupal 4.7 website  This module imports Advogato diary entries to a Drupal website
2  during cron runs with the cron.php file in the root directory.  during cron runs with the cron.php file in the root directory.
3    
4  You must configure the administrative settings before users can queue  You must configure the administrative settings before users can queue
# Line 18  INSTALLATION Line 18  INSTALLATION
18    
19  AUTHOR  AUTHOR
20  David Kent Norman  David Kent Norman
 deekayen at: deekayen (dot) net  
21  http://deekayen.net/  http://deekayen.net/
22    
23  ADDITIONAL NOTES  ADDITIONAL NOTES
# Line 29  so if you're a developer itching to make Line 28  so if you're a developer itching to make
28  To delete the entries from Advogato after you import them, I copied  To delete the entries from Advogato after you import them, I copied
29  Drupal's xmlrpc.php file, put the following to the top it, and ran it  Drupal's xmlrpc.php file, put the following to the top it, and ran it
30  at a command prompt with `php -q xmlrpc.php`. It is not implemented  at a command prompt with `php -q xmlrpc.php`. It is not implemented
31  in the automated part of this module for the obvious data  in the automated part of this module because of the obvious data
32  distruction if something goes wrong.  destruction if something goes wrong.
33    
34    ===========================================================
35    
36  <?php  <?php
37  set_time_limit(0);  set_time_limit(0);
38  $username = 'deekayen';  $username = 'your_username';
39  $password = 'my_password';  $password = 'my_password';
40  $len = (int)xmlrpc('http://www.advogato.org/XMLRPC', 'diary.len', $username);  $len = (int)xmlrpc('http://www.advogato.org/XMLRPC', 'diary.len', $username);
41  $cookie = xmlrpc('http://www.advogato.org/XMLRPC', 'authenticate', $username, $password);  $cookie = xmlrpc('http://www.advogato.org/XMLRPC', 'authenticate', $username, $password);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2