clach04 / whatabagacack

❓👜💩❗ Experimental (incomplete) Python Wallabag API Server
GNU Affero General Public License v3.0
1 stars 0 forks source link

article metadata updated_at and mimetype missing - used by KoReader #11

Open clach04 opened 1 year ago

clach04 commented 1 year ago

A few entries are missing but article.updated_at is use by wallabag plugin for KoReader.

https://github.com/clach04/wallabag2.koplugin/blob/c7fd203be1723a633e7300cd1b718438e45861f3/wallabag2.koplugin/main.lua#L603

As is mimetype https://github.com/clach04/wallabag2.koplugin/blob/c7fd203be1723a633e7300cd1b718438e45861f3/wallabag2.koplugin/main.lua#L580

Plugin runs fine if values are missing but should implement.

clach04 commented 1 year ago

Adding mimetype will reduce code path in KoReader plugin. Hilariously add updated timestamp will increase code path followed in the plugin.