diff options
Diffstat (limited to 'update/library/trunk')
-rw-r--r-- | update/library/trunk/instadisc.php | 2 | ||||
-rw-r--r-- | update/library/trunk/subscription.php | 24 |
2 files changed, 26 insertions, 0 deletions
diff --git a/update/library/trunk/instadisc.php b/update/library/trunk/instadisc.php index f256fb2..e5168b1 100644 --- a/update/library/trunk/instadisc.php +++ b/update/library/trunk/instadisc.php | |||
@@ -8,6 +8,8 @@ $idusUsername = ''; // Set this to the username you've registered | |||
8 | $idusPassword = ''; // Set this to the password you've registered | 8 | $idusPassword = ''; // Set this to the password you've registered |
9 | $idusCentralServer = ''; // Set this to the Central Server you've signed up with | 9 | $idusCentralServer = ''; // Set this to the Central Server you've signed up with |
10 | $idusSubscriptionURI = ''; // Set this to your unique URI | 10 | $idusSubscriptionURI = ''; // Set this to your unique URI |
11 | $idusSubscriptionTitle = ''; // Set this to your Subscription's title | ||
12 | $idusSubscriptionCategory = ''; // Set this to the category your subscription uses | ||
11 | $idusEncryptionPassword = ''; // If creating a password-protected subscription, enter your password here | 13 | $idusEncryptionPassword = ''; // If creating a password-protected subscription, enter your password here |
12 | 14 | ||
13 | function instaDisc_sendItem($title, $author, $url, $semantics) | 15 | function instaDisc_sendItem($title, $author, $url, $semantics) |
diff --git a/update/library/trunk/subscription.php b/update/library/trunk/subscription.php new file mode 100644 index 0000000..113d3cc --- /dev/null +++ b/update/library/trunk/subscription.php | |||
@@ -0,0 +1,24 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Update - A Four Island Project */ | ||
4 | |||
5 | include('instadisc.php'); // Make sure that if you move me away from instadisc.php that you update this include! | ||
6 | |||
7 | echo('Subscription: ' . $idusSubscriptionURI . "\n"); | ||
8 | echo('Title: ' . $idusSubscriptionTitle . "\n"); | ||
9 | echo('Category: ' . $idusSubscriptionCategory . "\n"); | ||
10 | |||
11 | if ($idusActivationKey != '') | ||
12 | { | ||
13 | echo('Key: ' . $idusActivationKey . "\n"); | ||
14 | } | ||
15 | |||
16 | if ($idusEncryptionPassword != '') | ||
17 | { | ||
18 | $verID = rand(1,65536); | ||
19 | |||
20 | echo('Verification: ' . md5(':' . md5($idusEncryptionPassword) . ':' . $verID) . "\n"); | ||
21 | echo('Verification-ID: ' . $verID . "\n"); | ||
22 | } | ||
23 | |||
24 | ?> | ||