|
|
#331 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,258
Karma: 1579358
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite, iPad Pro
|
Unfortunately Shelfari has no API so because of that and it has very limited integration with anything else which is a big thumbs down - and Amazon now owning it kills any innovation in that area. People have complained about it for years and that hasn't changed. A plugin would have to do it with web scraping, which is slow and fragile, prone to breaking every time they tweak their website.
Not impossible, but not much fun to write/maintain either. |
|
|
|
|
|
#332 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,905
Karma: 41870062
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Kiwidude made a comment "find room on the toolbar for another icon" in the QC PI thread.
How about a toolbar Folder PI for allow Multiple User PI Icons to occupy a single Menu slot (also could work like the Send to device Icon, where you set a default PI to use for a normal click and show the PI (icon) menu for a Right-click) |
|
|
|
|
|
#333 |
|
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Dec 2011
Device: Kindle 3
|
Kindle limitations for annotations
People having a Kindle well know what I'm talking about: Amazon has put a % limitation on the possibility of saving a part of the text in "My clippings.txt". Has anybody an idea of how getting a rid of this limitation through a new Calibre plugin or eventually a hack?
|
|
|
|
|
|
#334 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,258
Karma: 1579358
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite, iPad Pro
|
@faber1971 - a search reveals some answers for this
Edit: I've added a feature to the Quality Check plugin which will allow you to find MOBI books in your library which have the clipping limit specified. You will then either do a calibre conversion or use a third party tool such as mentioned in that thread above to remove the limit. Last edited by kiwidude; 05-16-2012 at 04:02 PM. Reason: Update with info on Quality Check latest release |
|
|
|
|
|
#335 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,905
Karma: 41870062
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Neither Sigil or Calibre will clean up unused styles, you know the ones in those bloated Kitchen sink stylesheets, even if it is only 1 stylesheet
I'd love a plugin that would generate a Report(.log) of all the USED styles and a count of the tag usage in a single book. (and make LOG a Calibre External-View file type) Or better yet, a list of the ones in the stylesheet that never were used. I can handle the stylesheet edit armed with that. |
|
|
|
|
|
#336 |
|
calibre/Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,258
Karma: 1579358
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite, iPad Pro
|
@theducks - yeah I know what you mean - though I think it really needs to be a function/plugin in Sigil to be real time enough to be useful. Giving you a count of how many times a style is used and the ability to jump to those places - that would be nice.
|
|
|
|
|
|
#337 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,905
Karma: 41870062
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
|
If I know, I can Search for the Name.
I am a little leery of blindly deleting 'not used', there are oh so may legay ways to use them style="styleA styleZ" and define them ![]() div.styleA p.styleZ .styleA Then there is the Multi define like I find in the old Webscription stylesheet Code:
body { margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0 } body { margin-left: 5pt; margin-right: 5pt } a { color: inherit; text-decoration: inherit; cursor: default } a[href] { color: blue; text-decoration: underline; cursor: pointer } body { text-align: justify }
|
|
|
|
|
|
#338 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,795
Karma: 14403489
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
|
I think a calibre conversion to epub cleans up unused styles from the css file, ... but perhaps you are trying to avoid doing that.
|
|
|
|
|
|
#339 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,905
Karma: 41870062
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Lots of styles left over that I can't find a place used. Calibre only seems to pretty up the stylesheet and ADD Calibre styles without condensing or tuning unnecessary span and div nestsWe are speaking of the GI part of GIGO
|
|
|
|
|
|
|
#340 |
|
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
@theducks - sounds like it would be useful to have in Sigil. But the trick as you mention is figuring out all the rules of how styles/classes can be defined and used in order to get an accurate report. Something to add to the wishlist
|
|
|
|
|
|
#341 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,795
Karma: 14403489
Join Date: Sep 2009
Location: UK
Device: Kobo: H2O, GloHD, KA1, ClaraHD, Forma
|
Quote:
Original css: 2624 lines (416 rules) calibre-converted css: 318 lines (41 rules), all 41 rules were used at least once in the converted epub. 4 of the 41 were new calibre-created rules with the .calibrenn name. Now, whilst a sample of 1 is not enough to prove anything, surely you'd have to agree that calibre is doing something with style rationalisation
|
|
|
|
|
|
|
#342 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40,169
Karma: 18000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre does rationalize css. Basically all css is applied to the actual HTML, then processed/transformed and then written out. This process automatically discards all rules from the input document that do not apply to anything.
|
|
|
|
|
|
#343 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,905
Karma: 41870062
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
|
is there some setting that I have made, that stops this (purging) from happening?
|
|
|
|
|
|
#344 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40,169
Karma: 18000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No there is no setting that can prevent rationalization from happening, rationalization is fundamental to the conversion process.
|
|
|
|
|
|
#345 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64,324
Karma: 104254653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
Quote:
|
|
|
|
|
![]() |
| Tags |
| epub fix, epub-fix, google books, metadata calibre title, pdf, pdf and calibre, plugin development |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRS-505 Any ideas what this might be? | Neupy | Sony Reader | 4 | 07-03-2012 08:19 AM |
| New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 01:11 PM |
| Ideas? | mike_bike_kite | Which one should I buy? | 10 | 06-13-2010 04:37 PM |
| Ideas | F1Wild | Amazon Kindle | 4 | 07-10-2009 07:01 AM |