abdelazer / openpub

Automatically exported from code.google.com/p/openpub
0 stars 0 forks source link

Use of atom:category to specify type of OPDS Entry to aid in UI differentiation #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My proposal here is to expand OPDS defined usage of atom:entrys to include atom 
category specifications.  This would allow the UI a good deal of more 
information that it could use to help explain to the user why this particular 
entry is in this particular feed.  It could be a suggestion, an advertisement, 
an alternate-search proposal, etc.

To expand on one of the examples from the 1.0 spec document:

<entry>
    <title>Modern Online Philately</title>
    <id>urn:uuid:7b595b0c-e15c-4755-bf9a-b7019f5c1dab</id>
    <author>
      <name>Stampy McGee</name>
      <uri>http://opds-spec.org/authors/21285</uri>
    </author>
    <author>
      <name>Alice McGee</name>
      <uri>http://opds-spec.org/authors/21284</uri>
    </author>
    <author>
      <name>Harold McGee</name>
      <uri>http://opds-spec.org/authors/21283</uri>
    </author>
    <updated>2010-01-10T10:01:10Z</updated>
    <rights>Copyright (c) 2009, Stampy McGee</rights>
    <dc:identifier>urn:isbn:978029536341X</dc:identifier>
    <dc:publisher>StampMeOnline, Inc.</dc:publisher>
    <dc:language>en</dc:language>
    <dc:issued>2009-10-01</dc:issued>
    <content type="text">The definitive reference for the web-curious philatelist.</content>
    <link type="image/jpeg"
          rel="http://opds-spec.org/cover"
          href="/covers/11241.lrg.jpg"/>

    <link type="text/html"
          rel="http://opds-spec.org/acquisition/buy"
          href="/content/buy/11241.epub">
      <dc:format>application/epub+zip</dc:format>
      <opds:price currencycode="USD">18.99</opds:price>
    </link>
    <category term="ad" label="Other books you might like"/>
 </entry>

Original issue reported on code.google.com by Palan...@gmail.com on 13 Oct 2010 at 6:51

GoogleCodeExporter commented 9 years ago
I'm not sure that this is within the scope of our work at the OPDS WG, but you 
can certainly extend things yourself, just keep in mind that you should specify 
a scheme to do this in a better way and that some clients might display the 
label or term anyway.

Original comment by hadrien....@gmail.com on 18 Oct 2010 at 11:53

GoogleCodeExporter commented 9 years ago

Original comment by hadrien....@gmail.com on 29 Jul 2011 at 4:27