I updated the OPDS for openlibrary.org edition records to include the new OPDS 1.1 indirect acquisition elements.
Is there a way to indicate that a book is currently checked out and currently unavailable? Right now I remove the acquisition links if the book is checked out, but it would be nice to indicate to users that the book would be available at a later date.
Example:
If this book isn't checked out of Open Library's lending library:
http://openlibrary.org/books/OL24620870M/The_Elements_of_Content_Strategy
Then its OPDS entry will contain indirect acquisition links:
http://openlibrary.org/books/OL24620870M.opds
Which looks like:
<link rel="http://opds-spec.org/acquisition/borrow" type="text/html" href="http://openlibrary.org/books/OL24620870M/The_Elements_of_Content_Strategy/borrow">
<opds:indirectAcquisition type="application/vnd.adobe.adept+xml">
<opds:indirectAcquisition type="application/epub+zip"/>
<opds:indirectAcquisition type="application/pdf"/>
</opds:indirectAcquisition>
</link>
-raj
--
You received this message because you are subscribed to the Google
Groups "Open Publication Distribution System" group.
To post to this group, send email to ope...@googlegroups.com
To unsubscribe from this group, send email to
openpub+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/openpub?hl=en
I updated the OPDS for openlibrary.org edition records to include the new OPDS 1.1 indirect acquisition elements.
Is there a way to indicate that a book is currently checked out and currently unavailable? Right now I remove the acquisition links if the book is checked out, but it would be nice to indicate to users that the book would be available at a later date.
I'm still thinking about these new elements and wonder if we really need two properties for the "availability" element.Raj, could you think of a use case where we'd indicate that a book is unavailable without providing a date ?If we don't know when a book will be available again, should it be included in the catalog ?
If we don't need this, we can simplify the element and only include an availability date:<link rel="http://opds-spec.org/acquisition/borrow" type="text/html" href="http://openlibrary.org/books/OL24620870M/The_Elements_of_Content_Strategy/borrow"><opds:availability>2011-09-01</opds:availability>
<opds:indirectAcquisition type="application/vnd.adobe.adept+xml"></link>
<opds:indirectAcquisition type="application/epub+zip"/>
</opds:indirectAcquisition>
Hadrien
Well, with Adobe Digital Editions, you can return the loan early, which means for a standard two-week loan, we don't really know the availability date, only the date for the common case when the loan isn't returned early.
Another hypothetical case when you don't know the availability date is when you have a lending system that allows users to place a digital hold on the book. You know how many people are on the waiting list, but you don't know whether they still want the book when their turn comes up...