about summary refs log tree commit diff stats
path: root/update/plugin/wordpress/trunk/instadisc/subscription.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-05 12:07:19 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-05 12:07:19 +0000
commitd08bf1e5d0044d1fd56bb0b0d35d3f0d520154c2 (patch)
tree8c9c64b9ea1f2eb9827fd0651677fba0fa2a7ddc /update/plugin/wordpress/trunk/instadisc/subscription.php
parent2565efd18ce95275c2eb1027d34df45054f70b56 (diff)
downloadinstadisc-d08bf1e5d0044d1fd56bb0b0d35d3f0d520154c2.tar.gz
instadisc-d08bf1e5d0044d1fd56bb0b0d35d3f0d520154c2.tar.bz2
instadisc-d08bf1e5d0044d1fd56bb0b0d35d3f0d520154c2.zip
Update: Imported XML-RPC libraries
Also added subscription.php to source control, which should have been done in the previous commit.
Yet another [15]. Refs #6 and #17.
Diffstat (limited to 'update/plugin/wordpress/trunk/instadisc/subscription.php')
-rw-r--r--update/plugin/wordpress/trunk/instadisc/subscription.php45
1 files changed, 45 insertions, 0 deletions
diff --git a/update/plugin/wordpress/trunk/instadisc/subscription.php b/update/plugin/wordpress/trunk/instadisc/subscription.php new file mode 100644 index 0000000..bdf51d9 --- /dev/null +++ b/update/plugin/wordpress/trunk/instadisc/subscription.php
@@ -0,0 +1,45 @@
1<?php
2
3include('../../../wp-blog-header.php');
4
5if (isset($_GET['comment']))
6{
7 echo('Subscription: ');
8 echo(get_option('siteurl'));
9 echo('/comments/');
10 echo("\n");
11
12 echo('Title: ');
13 echo(get_option('instaDisc_subscription_title'));
14 echo(' Comments');
15 echo("\n");
16
17 echo('Category: blog-comment');
18 echo("\n");
19
20 if (get_option('instaDisc_comment_centralServer_activationKey') != '')
21 {
22 echo('Key: ');
23 echo(get_option('instaDisc_comment_centralServer_activationKey'));
24 }
25} else {
26 echo('Subscription: ');
27 echo(get_option('siteurl'));
28 echo('/');
29 echo("\n");
30
31 echo('Title: ');
32 echo(get_option('instaDisc_subscription_title'));
33 echo("\n");
34
35 echo('Category: blog-post');
36 echo("\n");
37
38 if (get_option('instaDisc_blogPost_centralServer_activationKey') != '')
39 {
40 echo('Key: ');
41 echo(get_option('instaDisc_blogPost_centralServer_activationKey'));
42 }
43}
44
45?>