I’ve just added support for OPDS at the DOKK library. This was a feature request by DustDFG, who also helped me write the source for implementing it.
OPDS is a standard, that allows OPDS clients to browse catalogs and download books locally. I’ve tested it with two readers, Foliate and Thorium (pics below). Unfortunately I didn’t have a lot of luck with Calibre; it’s got two plugins but none of them seem to work.
I have to admit that this is really cool! Even if I’m making the DOKK website as a friendly entry point for accessing the data, ultimately I really want people to reuse the database in their apps! So, watching it work like this is really amazing and it gives me a feeling of awe that I haven’t felt in quite some time!
Some links:
- the OPDS link for OPDS clients
- the source commit
- thorium reader I only found this on github, unfortunately it’s not packaged in Debian
And some pictures:
What about current state? I see in the file only and the thorium is cursing
Do you mean that it’s not working with Thorium? I might have broken something when converting the website from static to non-static.
Yeah IIRC
OPDS
isxml
orjson
but not something likeRDF
that describesDOKK
If you open the link
view-source:https://dokk.org/library/opds.xml
with Firefox you see it’s xml.Hmm, you are right… Didn’t think that Firefox will “render”
opds
. Anyway it say:Not a valid OPDS HTTP Content-Type for <link> (text/html)
. Maybe it should betext/xml
but the server send it is withtext/html
header?P.S I am glad to know that someone else knows about
view-source:
. I often use it on mobile devices cause they don’t have developer console ;)