mirror of
https://github.com/SqrtMinusOne/elfeed-sync.git
synced 2025-12-10 20:13:02 +03:00
19 lines
345 B
PHP
19 lines
345 B
PHP
<?php
|
|
class Elfeed_Sync extends Plugin {
|
|
private $host;
|
|
|
|
function about() {
|
|
return array(1.0, "Elfeed Sync", "Sync API for elfeed", false, "http://example.com");
|
|
}
|
|
|
|
function api_version() {
|
|
return 1;
|
|
}
|
|
function init($host) {
|
|
$this->host = $host;
|
|
}
|
|
|
|
function testMethod() {
|
|
return array(API::STATUS_OK, array("ok" => true));
|
|
}
|
|
}
|