View Single Post
Old 12-25-2019, 01:29 PM   #489
chpliu
Junior Member
chpliu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2019
Device: forma
Quote:
Originally Posted by baskerville View Post
What makes you think it isn't?

If it isn't, you'll find a warning in info.log, that starts with: Warning: can't load settings:.

If it is, you'll find an Articles entry in the Toggle Hook submenu of the library menu (brought up by tapping the lower left books/matches count label).

In addition to the aforementioned hook, you'll also need to edit Settings-sample.toml in bin/article_fetcher, and rename it to Settings.toml.

Once this is done, you can initiate the first retrieval by tapping the Articles menu entry mentioned above. Subsequent retrievals can be initiated by tapping the Articles category.

yes, there's a warning in the info.log:

Warning: can't load settings: Can't parse file.
Plato is running on a Kobo Forma.
The framebuffer resolution is 1440 by 1920.


the plato setting file :

...
button-scheme = "natural"
auto-suspend = 15

[home]
summary-size = 2
second-column = "progress"
hooks = []

[[home.hooks]]
name = "Articles"
program = "bin/article_fetcher/article_fetcher"
sort-method = "added"
second-column = "progress"

[reader]
...


the settings.toml in articles_fetcher folder is updated accordingly.
chpliu is offline   Reply With Quote