<?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");
}