/[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.4, Mon Nov 6 21:02:53 2006 UTC revision 1.5, Tue Jul 29 15:02:09 2008 UTC
# Line 11  a bad thing for keeping track of what ha Line 11  a bad thing for keeping track of what ha
11    
12  INSTALLATION  INSTALLATION
13  1. put the advogato_import directory to your modules directory  1. put the advogato_import directory to your modules directory
14  2. import the mysql table structure  2. activate the module at "Administer > Site Building > Modules"
15  3. activate the module at "administer>modules"  3. configure the module at "Administer > Site configuration > Advogato import"
16  4. configure the module at "administer>settings>advogato_import"  4. users can then queue node imports in "My account > advogato_import"
 5. users can then queue node imports in "my account>advogato_import"  
17    
18  AUTHOR  AUTHOR
19  David Kent Norman  David Kent Norman
# Line 39  $username = 'your_username'; Line 38  $username = 'your_username';
38  $password = 'my_password';  $password = 'my_password';
39  $len = (int)xmlrpc('http://www.advogato.org/XMLRPC', 'diary.len', $username);  $len = (int)xmlrpc('http://www.advogato.org/XMLRPC', 'diary.len', $username);
40  $cookie = xmlrpc('http://www.advogato.org/XMLRPC', 'authenticate', $username, $password);  $cookie = xmlrpc('http://www.advogato.org/XMLRPC', 'authenticate', $username, $password);
41  for($i = 0; $i <= $len; $i++) {  for ($i = 0; $i <= $len; $i++) {
42    echo xmlrpc('http://www.advogato.org/XMLRPC', 'diary.set', $cookie, $i, ' ');    echo xmlrpc('http://www.advogato.org/XMLRPC', 'diary.set', $cookie, $i, ' ');
43  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.2