From f0d9a52e02f36b5ebacd58956e78023a26282585 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 9 Apr 2013 17:44:14 +0200 Subject: Removed test preferences field. Added reference to jsonlint.com to README. --- README.md | 3 +++ init.php | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b67a8b5..3298043 100644 --- a/README.md +++ b/README.md @@ -51,3 +51,6 @@ The *array key* is part of the URL of the article links(!). You'll notice the `g The **type** has to be `xpath` for now. Maybe there will be more types in the future. The **xpath** value is the actual Xpath-element to fetch from the linked page. + + +If you get an error about "Invalid JSON!", you can use [JSONLint](http://jsonlint.com/) to locate the erroneous part. diff --git a/init.php b/init.php index da8e24e..e4b93fe 100644 --- a/init.php +++ b/init.php @@ -98,7 +98,6 @@ class Af_Feedmod extends Plugin implements IHandler function index() { global $pluginhost; - $sometext = $pluginhost->get($this, "sometext"); $json_conf = $pluginhost->get($this, 'json_conf'); print "
"; @@ -121,13 +120,6 @@ class Af_Feedmod extends Plugin implements IHandler print ""; print ""; - print ""; - - print ""; - print ""; - - print "
".__("Some text")."
"; - print "
"; print ""; print "
"; -- cgit v1.3.1