Module koplugin.wallabag
Functions
Wallabag:getArticleList () | Get a JSON formatted list of articles from the server. |
Wallabag:filterIgnoredTags (article_list) | Remove all the articles from the list containing one of the ignored tags. |
Wallabag:download (article) | Download Wallabag article. |
Functions
- Wallabag:getArticleList ()
- Get a JSON formatted list of articles from the server. The list should have self.articlepersync item, or less if an error occurred. If filtertag is set, only articles containing this tag are queried. If ignoretags is defined, articles containing either of the tags are skipped.
- Wallabag:filterIgnoredTags (article_list)
-
Remove all the articles from the list containing one of the ignored tags.
article_list: array containing a json formatted list of articles
returns: same array, but without any articles that contain an ignored tag.
Parameters:
- article_list decode all tags to ignore
- Wallabag:download (article)
-
Download Wallabag article.
Parameters:
- article string
Returns:
-
int
1 failed, 2 skipped, 3 downloaded