]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/redditimgur/redditimgur.php
add -list-plugins option; about sections to plugins
[tt-rss.git] / plugins / redditimgur / redditimgur.php
index 21aaed6e1d511ee76fb635a6b8f4fa5745e9531b..59bb4d15dd6155b15a7ca3f47289c479732ab86d 100644 (file)
@@ -1,9 +1,15 @@
 <?php
-class RedditImgur {
+class RedditImgur extends Plugin {
 
        private $link;
        private $host;
 
+       function _about() {
+               return array(1.0,
+                       "Inline image links in Reddit RSS feeds",
+                       "fox");
+       }
+
        function __construct($host) {
                $this->link = $host->get_link();
                $this->host = $host;