Update API and write documentation (official website)

This commit is contained in:
Frederic Guillot 2013-07-29 22:33:01 -04:00
parent 2afbff41be
commit 9997e1f7b1
2 changed files with 6 additions and 2 deletions

View File

@ -237,6 +237,10 @@ Available variables:
For more details, have a look to the class `vendor/PicoFeed/Filter.php`.
### Where is the API documentation?
<http://miniflux.net/api.html>
### How to create a theme for Miniflux?
It's very easy to write a custom theme for Miniflux.

View File

@ -74,7 +74,7 @@ $server->register('item.bookmark.create', function ($item_id) {
});
// Remove a bookmark
$server->register('item.bookmark.remove', function ($item_id) {
$server->register('item.bookmark.delete', function ($item_id) {
return Model\set_bookmark_value($item_id, 0);
});
@ -122,7 +122,7 @@ $server->register('item.mark_as_read', function($item_id) {
});
// Mark item as unread
$server->register('item.mark_as_read', function($item_id) {
$server->register('item.mark_as_unread', function($item_id) {
return Model\set_item_unread($item_id);
});