| 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 |
| 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 |
} |
} |