abdelazer / openpub

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

Addition of sales-rank as an OPDS descriptor #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful for some catalogs to indicate the sales rank of a book 
outside of the description field.  I haven't given the exact markup a lot of 
thought, but to start the discussion, let me just throw out:

<opds:sales-rank>42</opds:sales-rank>

Original issue reported on code.google.com by Palan...@gmail.com on 1 Sep 2010 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by Palan...@gmail.com on 1 Sep 2010 at 9:05

GoogleCodeExporter commented 9 years ago
Hello,

I'm not sure that I understand clearly how that would be different from taking 
the position of the <item> in a  “http://opds-spec.org/sort/popular“-sorted 
feed ?

In your example, a publication with sales-rank = 42 would be something akin to 
the 42nd most sold item ?

Original comment by zeta....@gmail.com on 2 Sep 2010 at 7:11

GoogleCodeExporter commented 9 years ago
You've got the idea.  It would be no different from taking the position of the 
item in the popular sorted feed.  But, if the client wanted to display that 
information for an item in a different feed, say, feedbooks->categories->scifi 
for example, it would be better not to force it to parse through the entire 
popular list to do so.  

Original comment by Palan...@gmail.com on 3 Sep 2010 at 4:47

GoogleCodeExporter commented 9 years ago

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