From dbdf94e953b0b1fe7c19e98888d512d6d16ee4cf Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 28 Sep 2008 18:31:07 +0000 Subject: Update: Modifed Wordpress ACP Also modified subscription file to look pretty and to show verification when the subscription is encrypted. Refs #68 --- .../plugin/wordpress/trunk/instadisc/instadisc.php | 14 ++++++ .../wordpress/trunk/instadisc/subscription.php | 52 +++++++++++++--------- 2 files changed, 44 insertions(+), 22 deletions(-) (limited to 'update') diff --git a/update/plugin/wordpress/trunk/instadisc/instadisc.php b/update/plugin/wordpress/trunk/instadisc/instadisc.php index 3cb711c..d084aa2 100644 --- a/update/plugin/wordpress/trunk/instadisc/instadisc.php +++ b/update/plugin/wordpress/trunk/instadisc/instadisc.php @@ -63,6 +63,13 @@ function id_settings_page()

Blog Posts Subscription

+ + +

Comments Subscription

+ + +
This is the URL that you advertise, the URL people use to subscribe to your subscription. +
+ + +: ' . "\n"); + if (isset($_GET['comment'])) { echo('Subscription: '); @@ -16,11 +18,23 @@ if (isset($_GET['comment'])) echo('Category: blog-comment'); echo("\n"); - if (get_option('instaDisc_comment_centralServer_activationKey') != '') + if (get_option('instaDisc_comment_password') != '') { - echo('Key: '); - echo(get_option('instaDisc_comment_centralServer_activationKey')); + $verID = rand(1,2147483647); + + echo('Verification: ' . md5(get_option('instaDisc_subscription_title') . ':' . md5(get_option('instaDisc_comment_password')) . ':' . $verID) . "\n"); + echo('Verification-ID: ' . $verID . "\n"); } + +?> +End:
This is an InstaDisc Subscription file.

If you would like to subscribe to the InstaDisc subscription:
(blog-comment)
Copy the address of this file to the "Add Subscription" form on your InstaDisc client.

+:
Please note that this is an encrypted subscription.
To subscribe to it, you must know its password.
+End:
This is an InstaDisc Subscription file.

If you would like to subscribe to the InstaDisc subscription:
(blog-post)
Copy the address of this file to the "Add Subscription" form on your InstaDisc client.

+:
Please note that this is an encrypted subscription.
To subscribe to it, you must know its password.
-- cgit 1.4.1
+ + +
This is the URL that you advertise, the URL people use to subscribe to your subscription. +