This PR fixes #38 and fixes compatibility with calibre-web by making a couple checks against the feed optional. I haven't tested it super thoroughly so I don't know if any other checks need to be fixed but I added fallback values in case a feed doesn't have the "server" or "updated" keys present.
A couple tips in case anyone in the future is reading this and struggling to get calibre-web to play nicely with the plugin:
Make sure Enable Anonymous Browsing is turned on. Authentication isn't yet implemented in this plugin (See #30).
I've found that it works best to point the plugin at http://url-of-server/opds/books then select "All" in the dropdown and press Download OPDS. This grabs the full library (limits may exist, unsure) in alphabetical order.
This PR fixes #38 and fixes compatibility with calibre-web by making a couple checks against the feed optional. I haven't tested it super thoroughly so I don't know if any other checks need to be fixed but I added fallback values in case a feed doesn't have the "server" or "updated" keys present.
A couple tips in case anyone in the future is reading this and struggling to get calibre-web to play nicely with the plugin:
http://url-of-server/opds/books
then select "All" in the dropdown and press Download OPDS. This grabs the full library (limits may exist, unsure) in alphabetical order.