Calibre based OPDS PHP Server

612 views
Skip to first unread message

Sébastien

unread,
Mar 4, 2012, 10:19:04 AM3/4/12
to Open Publication Distribution System
Hi,

Some months ago, I talked about an OPDS server using Calibre database
as a source. It's been running since september at home and it took me
a little time to publish it but here is COPS : Calibre OPDS PHP
Server.

You can find all information here : http://blog.slucas.fr/en/oss/calibre-opds-php-server
(french version is also available).

It works for me but I think it's still an early alpha release. I'll
create a github account soon ...

Thanks again for the help provided in this group.

Sébastien.

Hadrien Gardeur

unread,
Mar 5, 2012, 7:12:57 PM3/5/12
to ope...@googlegroups.com
Bonjour Sébastien,

It seems that French people are the main contributors to the Calibre + OPDS ecosystem (David Pierron, the creator of Calibre2OPDS is also French) ;-)

I took a quick look at your demo feed and liked it overall:
  • for the atom:id, using calibre generated id might not be unique enough (many feeds will contain calibre:books:1 as an id), you might consider adding something to that string to make it unique
  • it seems that name of the series and the current volume number is a fairly common metadata element that we currently don't have recommendations for. It ends up in the description in both C2O and COPS. We need to seriously start thinking about media specific documents with best practices and recommendations for metadata.
Hadrien

Sébastien

unread,
Mar 6, 2012, 12:21:25 PM3/6/12
to Open Publication Distribution System
Bonjour Hadrien ;) ,

Let's speak english to a french guy !

> It seems that French people are the main contributors to the Calibre + OPDS
> ecosystem (David Pierron, the creator of Calibre2OPDS is also French) ;-)

Vive la France :D !

> I took a quick look at your demo feed and liked it overall:
>
>    - for the atom:id, using calibre generated id might not be unique enough
>    (many feeds will contain calibre:books:1 as an id), you might consider
>    adding something to that string to make it unique

I don't understand :
* the id of the feed is the url so it's unique.
* the id of each entry is based on the type and calibre id.

So you're right there is many feed (with different id) with the same
entry id (because each time it's the same book which can be found by
its author, serie or with the recent book). Is this really not valid ?

>    - it seems that name of the series and the current volume number is a
>    fairly common metadata element that we currently don't have recommendations
>    for. It ends up in the description in both C2O and COPS. We need to
>    seriously start thinking about media specific documents with best practices
>    and recommendations for metadata.

IIRC the serie is still not officially valid in EPUB also.

Thanks for taking the time to test it.

Sébastien
Reply all
Reply to author
Forward
0 new messages