]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/digest/digest.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / digest / digest.php
index cb906e3c1c4533a835c0698ad2a76879445b6e74..621e4258acd44d76c0c72306475e4681e67b6dcd 100644 (file)
@@ -4,22 +4,18 @@ class Digest extends Plugin implements IHandler {
        private $link;
        private $host;
 
-       function _about() {
+       function about() {
                return array(1.0,
                        "Digest mode for tt-rss (tablet friendly UI)",
                        "fox",
                        true);
        }
 
-       function __construct($host) {
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;
 
                $host->add_handler("digest", "*", $this);
-
-               //$host->add_handler("rpc", "digestinit", $this);
-               //$host->add_handler("rpc", "digestupdate", $this);
-               //$host->add_handler("rpc", "digestgetcontents", $this);
        }
 
        function index() {