![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Mobile Content Server - search for or display series_index data?
The content server nicely displays the series name and series_index. However, I have to run the mobile version of the content server (for new phone that won't run ajax - as needed for the non-mobile version of the content server), and there doesn't seem to be a display in the mobile server for either series or series_index.
Often, I want to get the next book in the series. Currently, I search for the series I'm reading using: "series:name_of_series_I'm_reading". This works, but I still can't see the series_index, and I can't figure out how to do a search like: "series_index:2" to find the second book in the series. Is there any way to get the series_index field from the mobile server, either by display or by search? I realize I can order the results by "series" and that comes close to what I need, but sometimes I only have the first and third in a series and I need to know that so I can buy the second. Thanks for any tips. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,146
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, I'm afraid there isn't
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,146
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'll gladly accept a patch if you can come up with one. The relevant code is in library/server.py
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Thanks for the pointer to the code area. That was surprisingly easy! A change to line 93 to add ${r[9] if r[9] else ''}-${r[10] if r[10] else ''} and it's working. Or at least well enough to make the wife happy. Perhaps I'll send you a patch after I've become a bit more comfortable in Python.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help - content server | Sydney's Mom | Calibre | 0 | 08-28-2010 04:07 PM |
Any way to display meta data on the reader? | eric11210 | Sony Reader | 2 | 08-07-2010 07:39 PM |
Content Server | thibaulthalpern | Calibre | 5 | 04-28-2009 12:56 PM |
Mobile Podcasting and Mobile User Generated Content | mobilemonte | Introduce Yourself | 0 | 11-16-2006 05:17 PM |
Mobile Podcasting, Mobile User Generated Content | mobilemonte | Introduce Yourself | 0 | 11-01-2006 05:36 PM |