]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/identica/identica.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / identica / identica.php
index e7a5b3573c3c8c7a3506c2aa85605d8a62dd83b9..7d5e71310aa536645cf360e5eb1062cad2988a4b 100644 (file)
@@ -1,15 +1,21 @@
 <?php
-class Identica {
+class Identica extends Plugin {
        private $link;
        private $host;
 
-       function __construct($host) {
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;
 
                $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this);
        }
 
+       function about() {
+               return array(1.0,
+                       "Share on Identi.ca",
+                       "fox");
+       }
+
        function get_js() {
                return file_get_contents(dirname(__FILE__) . "/identica.js");
        }