From d82939d4ed657f55942bbf95b3f6b5cba1d1fb56 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 7 Aug 2008 01:57:49 +0000 Subject: Update: Added automatic Subscription File Users of the Update Server Library will no longer have to write their own Subscription File because now the Library comes with an automatically generated one with password-protection support. Just ensure that if you move subscription.php away from instadisc.php that you update the include() in subscription.php! Refs #10 --- update/library/trunk/instadisc.php | 2 ++ update/library/trunk/subscription.php | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 update/library/trunk/subscription.php (limited to 'update/library') 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 $idusPassword = ''; // Set this to the password you've registered $idusCentralServer = ''; // Set this to the Central Server you've signed up with $idusSubscriptionURI = ''; // Set this to your unique URI +$idusSubscriptionTitle = ''; // Set this to your Subscription's title +$idusSubscriptionCategory = ''; // Set this to the category your subscription uses $idusEncryptionPassword = ''; // If creating a password-protected subscription, enter your password here 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 @@ + -- cgit 1.4.1