01-05-2009, 09:34 PM | #16 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2008
Device: Iphone
|
Thanks Itimpi for your script, I use it and it's great to have access to your own online catalog from calibre. Could you add a subcatalog to the menu as "By release date", it would be very helpful.
|
01-06-2009, 02:24 AM | #17 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Nice to know that others find it useful. It will be nice to get the Python version finished that can be passed on to Kovid and support additional features.
In terms of the Release Date you are looking for- I am not quite sure how you see this functioning? for instance: - What field are you thinking of using for the "By Release Date" field? The current date field from the main Calibre GUI or something else? - Did you see this as a top-level division or at some other level. - If a top-level division, what would the next level be split by? - what granularity were you looking for (year or something finer) |
01-06-2009, 11:53 PM | #18 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2008
Device: Iphone
|
I was thinking of the current date field from the Calibre software. And I will see it at the top level division with no sub level. The format would be MM/DD/YYYY.
Thanks! |
01-07-2009, 03:09 AM | #19 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Some further questions then:
- You need some sort of next level - I will assume that the next level you are looking for is therefore simply titles? - Are you thinking of it therefore being the "Date Added to Library" rather than the published date as you originally implied? - - Alternatively are you really interested in all titles in the library or perhaps the most Recent Entries? - Do you actually want to see the date or would simply sorting into (reverse) date order be sufficient with the most recent at the top? When you say that you want no sub-level, note that Stanza on the Iphone/iPod seems to only be able to handle a few hundred items (not sure of the exact upper limit) before it starts crashing (not sure of the exact upper limit) which was why I was asking about sub-divisions. |
01-07-2009, 12:27 PM | #20 | |
Addict
Posts: 296
Karma: 32153
Join Date: Dec 2008
Device: Kindles (e-ink)
|
Quote:
(Yes, takes quite some time to load but technically it works just fine. :) ) If yours does, something is wrong. Please note that I'm generating my (static) catalogs myself and not using Calibre2Web - I'm on Linux. :-) Speaking of which - in the Python version, please add a pagination option (preferrably defaulting to 25 entries) so that result fetching is sensibly fast even on slower links. |
|
01-07-2009, 12:48 PM | #21 | ||
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
Quote:
|
||
01-07-2009, 02:16 PM | #22 |
Connoisseur
Posts: 72
Karma: 10
Join Date: Dec 2008
Device: iPhone, Note3
|
|
01-11-2009, 02:05 PM | #23 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2008
Device: Iphone
|
Itimpi, to answer your questions, the next level is Title, by date added to Library and limited to 50 books only.
Thanks again, I use your application all the time and it works great! |
01-11-2009, 03:47 PM | #24 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
OK - I will add a "Recent Additions" option. It will be in inverse date order (most recent first), but I am not sure that I will actually include the date as it did not look very nice when I mocked it up.
I was also thinking that I will "paginate" it with some "Load more books" options in the style of the built in catalogs. That way it loads faster when not on wifi. The total number of books to be included in this list and the "page" size will be constants at the top of the script for those who want to play around with them. |
01-12-2009, 06:25 PM | #25 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Here is Calibre2Web updated to with a "Recent Additions" section added. Let me know what you think?
It currently lists up to 50 recent books - paginated every 10 entries. The number to list and the pagination interval are controlled by constants at the top of the script if you want to try varying the values to see if other values suit you better. |
01-12-2009, 07:03 PM | #26 |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@itimpi: Are you still working on a python version, or should I add this to my TODO list?
|
01-12-2009, 07:11 PM | #27 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I am still working on it!
Part of the reason it is taking a while to complete is that I am also at the same time getting the relevant infrastructure to work on my PowerPC based NAS box which is where I personally want to run the server. If you think you could do it faster then feel free to work on it - but I think you have plenty else on your palte? |
01-12-2009, 07:13 PM | #28 | |
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
01-13-2009, 01:27 AM | #29 |
Junior Member
Posts: 4
Karma: 10
Join Date: Oct 2008
Device: Iphone
|
Thanks Itimpi, it was fast! I tried the 'Recent Additions' new feature and unfortunately the 'Load more results' button doesn't work on my iphone; Stanza crashed when I used it. I don't know why, does it work well for you? Let me know if I did something wrong or I missed something at the setting. Otherwise, it's great to have access directly to the latest additions of books to Calibre. Thanks again for your hard work and of course to Kovidgoyal too.
|
01-13-2009, 02:52 AM | #30 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
It was getting the "Load More results" to work correctly that made it take as long as it did! It is now working fine for me, so I would like to know why it is not working for you?
I uncovered a bug (reported to Lexcycle) where Stanza 1.7 will crash if for any reason it fails to get the next page of results. I originally uncovered the Stanza bug by making the link to the next page point to the wrong file. Perhaps you can check that each of the "Recent#.xml" type files generated by the script on your machine has a "next" link that correctly points to the next one - with the case of filenames possibly being significant if not running on a Windows web server. As a work-around you can change the PAGE-SIZE constant in the script to be at least as large as the RECENT_ADDITIONS constant so that all results fit on one page. |