mirror of
https://github.com/SqrtMinusOne/elfeed-sync.git
synced 2025-12-10 20:13:02 +03:00
initial commit
This commit is contained in:
commit
d1e4646b09
1 changed files with 19 additions and 0 deletions
19
init.php
Normal file
19
init.php
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?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));
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue