about summary refs log tree commit diff stats
path: root/update
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-04 14:24:37 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-04 14:24:37 +0000
commite016b6868ec70f2cb3921c5e7b504ebf4a4c22e9 (patch)
treefc3e16e7fadcc5c27e2d9c87d2c7a47800264552 /update
parent9147e1a01822a89e7b0e4412940d4438c8a43b28 (diff)
downloadinstadisc-e016b6868ec70f2cb3921c5e7b504ebf4a4c22e9.tar.gz
instadisc-e016b6868ec70f2cb3921c5e7b504ebf4a4c22e9.tar.bz2
instadisc-e016b6868ec70f2cb3921c5e7b504ebf4a4c22e9.zip
Update: Fixed up a few errors in QA
Diffstat (limited to 'update')
-rw-r--r--update/library/trunk/instadisc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/update/library/trunk/instadisc.php b/update/library/trunk/instadisc.php index 9f106c4..e36bad8 100644 --- a/update/library/trunk/instadisc.php +++ b/update/library/trunk/instadisc.php
@@ -11,11 +11,12 @@ $idusSubscriptionURI = ''; // Set this to your unique URI
11 11
12function instaDisc_sendItem($title, $author, $url, $semantics) 12function instaDisc_sendItem($title, $author, $url, $semantics)
13{ 13{
14 global $idusUsername, $idusPassword, $idusCentralServer, $idusSubscriptionURI;
14 $verID = rand(1,65536); 15 $verID = rand(1,65536);
15 16
16 $client = new xmlrpc_client($idusCentralServer); 17 $client = new xmlrpc_client($idusCentralServer);
17 $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($idusUsername, 'string'), 18 $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($idusUsername, 'string'),
18 new xmlrpcval(md5($idusUsername + ":" + md5($idusPassword) + ":" + $verID), 'string'), 19 new xmlrpcval(md5($idusUsername + ":" . md5($idusPassword) . ":" . $verID), 'string'),
19 new xmlrpcval($verID, 'int'), 20 new xmlrpcval($verID, 'int'),
20 new xmlrpcval($idusSubscriptionURI, 'string'), 21 new xmlrpcval($idusSubscriptionURI, 'string'),
21 new xmlrpcval($title, 'string'), 22 new xmlrpcval($title, 'string'),