Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 07-07-2024, 11:58 AM   #9721
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,597
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2024-07-07
- adapter_storiesonlinenet: Remove ''s Page' to '.s Page'
- Full OTW settings for www.adastrafanfic.com in defaults.ini
JimmXinu is offline   Reply With Quote
Old 07-08-2024, 11:19 AM   #9722
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,597
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2024-07-08
- adapter_storiesonlinenet: Fix for chapter select getting cover image link.
JimmXinu is offline   Reply With Quote
Old 07-08-2024, 12:41 PM   #9723
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,589
Karma: 65099765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
The Ad Astra categories work now, thanks.




I tried using a story-level keep_html_attrs:title,blockquote,div instead of add_to_, thinking it would override, but I still got the align tags.

This makes me notice that the INI File page doesn't show what precedence the story-level sections take.
ownedbycats is offline   Reply With Quote
Old 07-08-2024, 01:20 PM   #9724
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,589
Karma: 65099765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by tkshorty View Post
also a tip for other users:
if you use this and count pages plugin started from FFF you may run into issues if count pages and some actions of your chain run simultainiously. only your action chain or the count pages may be performed for some books. Guess some actions put a lock on some attributes or the whole book.

To prevent this just disable count pages from the FFF plugin in run it from your action chain and set the checkbox to wait for it to finish
Another quick tip: If your action chain contains any templates that check your word-count column, it's possible that the chain runs before Count Pages can populate the column, resulting in incorrect results. One (possible) example here.
ownedbycats is offline   Reply With Quote
Old 07-08-2024, 01:23 PM   #9725
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,597
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by ownedbycats View Post
I tried using a story-level keep_html_attrs:title,blockquote,div instead of add_to_, thinking it would override, but I still got the align tags.
That's working as intended for add_to_; it adds.

One answer is don't use add_to_:
Code:
[archiveofourown.org]
keep_html_attrs:href,name,class,id,colspan,rowspan,data-orighref,title,align,blockquote,div

[https://archiveofourown.org/works/55777813]
keep_html_attrs:href,name,class,id,colspan,rowspan,data-orighref,title,blockquote,div
Personally, I'd probably just edit that one story.

I think this is like the second time someone wanting a 'remove' vs add_to_ has come up in 10 years. I'm reluctant to add that complexity without a larger set of problem stories.

Quote:
Originally Posted by ownedbycats View Post
This makes me notice that the INI File page doesn't show what precedence the story-level sections take.
https://github.com/JimmXinu/FanFicFa...y-url-sections
JimmXinu is offline   Reply With Quote
Old 07-08-2024, 01:27 PM   #9726
MrKonan
Member
MrKonan began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Sep 2017
Device: iPad/Kindle App
Didn't have much luck with the 2024-07-08 test version on SOL. (Didn't have issue with the previous test version)

Just tried to update three stories in my library (FFF update mode: "Update EPUB if new chapters") but FFF is skipping the update.


Status: Skipped
Title: Taking Out the Trash
Author: Zak
Comment: Already contains 7 chapters. (last chapter in my library was ch. 6)
url: sol/n/34253/taking-out-the-trash-by-zak

However, if I update but overwrite always.. library books is updated correctly.

Last edited by MrKonan; 07-08-2024 at 01:31 PM. Reason: forgot some text
MrKonan is offline   Reply With Quote
Old 07-08-2024, 01:30 PM   #9727
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,589
Karma: 65099765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Personally, I'd probably just edit that one story.
Yeah, that's probably what I'll do - I already have an editor chain for it. Hm, I might be able to use Action Chains for this - selection modifier checking the book IDs, then run the editor chain on it Or maybe this is just a case of having a hammer...
ownedbycats is offline   Reply With Quote
Old 07-08-2024, 01:46 PM   #9728
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,597
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by MrKonan View Post
Didn't have much luck with the 2024-07-08 test version on SOL. (Didn't have issue with the previous test version)

Just tried to update three stories in my library (FFF update mode: "Update EPUB if new chapters") but FFF is skipping the update.


Status: Skipped
Title: Taking Out the Trash
Author: Zak
Comment: Already contains 7 chapters. (last chapter in my library was ch. 6)
url: sol/n/34253/taking-out-the-trash-by-zak

However, if I update but overwrite always.. library books is updated correctly.
There was an issue (fixed in today's test version) with a site change that added a spurious chapter chapter.

Should be fixed now going forward.

You can use overwrite, wait until there's another new chapter, or set force_update_epub_always=true, or manually delete a chapter (or two) before trying to update.
JimmXinu is offline   Reply With Quote
Old 07-11-2024, 11:22 PM   #9729
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,589
Karma: 65099765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: For category, is it possible to exclude a specific entry only if there's at least one other entry?

example:
originally: Mass Effect, Mass Effect Trilogy, whatever
results: Mass Effect Trilogy, whatever

originally: Mass Effect
result: Mass Effect
ownedbycats is offline   Reply With Quote
Old 07-11-2024, 11:35 PM   #9730
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,597
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by ownedbycats View Post
Question: For category, is it possible to exclude a specific entry only if there's at least one other entry?

example:
originally: Mass Effect, Mass Effect Trilogy, whatever
results: Mass Effect Trilogy, whatever

originally: Mass Effect
result: Mass Effect
Maybe doing a replace on category_LIST "Mass Effect, =>" and ", Mass Effect=>". Maybe "(Mass Effect|, ){2}=>" would work?

But another example would be:
originally: Mass Effect, whatever
results: whatever

Thereby discarding Mass Effect from any crossovers? Are you sure that's what you want?

I would instead suggest normalizing "Mass Effect", "Mass Effect Trilogy" etc to one value.

Or just living with it--I've made my opinion on the futility of wrangling AO3 tags known before.
JimmXinu is offline   Reply With Quote
Old 07-12-2024, 12:01 AM   #9731
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,589
Karma: 65099765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
oh yeah, I forgot about the crossovers
ownedbycats is offline   Reply With Quote
Old 07-12-2024, 08:02 AM   #9732
fishing_forever
Junior Member
fishing_forever began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2024
Device: Kobo Libra 2
Hello, I posted a little while ago about having problems with the contents of the title page going off of the screen on my ereader. I found that it was actually dependent on whether the fic has a cover or not. If the fic has a cover, it would have proper margins.

I tried to remedy this by adding this to the personal.ini:
Code:
add_to_output_css:
 body.fff_titlepage { width: 100%%;
                      margin: auto;
                      padding: 0;}
This fixes fics without covers (or at least, makes it manageable), but screws up fics with covers.

I was wondering if there was some way to have a conditional in the personal.ini or Calibre somehow that would add the CSS if the fic didn't have a cover and not add it if so. There is the metadata value of cover_image, which would be useful to use.

This isn't too big of a deal because I could just use the Generate Cover plugin for all the fics, but I'd rather not because I do like only inserting specifically made covers rather than a template. Thank you for any help!
fishing_forever is offline   Reply With Quote
Old 07-12-2024, 10:33 AM   #9733
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,597
Karma: 4600391
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
I can't think anyway off hand to do conditional CSS.

The CSS on titlepage being affected by the presence or absence of a cover--a separate HTML page--sounds like a reader bug to me.

Unless there's some processing step going on that combines the cover and title page, then I could see the cover_content embedded styles affecting titlepage.

I assume we've already told you about the cover_content and titlepage_start settings.

If that's the case, embedding your titlepage CSS using titlepage_start might help, or changing the embedded CSS in cover_content.

If either of those help, I'd be willing to experiment with adding the changes to defaults.ini.
JimmXinu is offline   Reply With Quote
Old 07-12-2024, 11:24 AM   #9734
fishing_forever
Junior Member
fishing_forever began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2024
Device: Kobo Libra 2
Quote:
Originally Posted by JimmXinu View Post
If that's the case, embedding your titlepage CSS using titlepage_start might help, or changing the embedded CSS in cover_content.
Embedding the CSS to titlepage_start worked! It works properly with correct margins when there is a cover. When there isn't a cover, it stretches across the entire screen with no margins, but I prefer that over it going off the edge. Thank you for the help!
fishing_forever is offline   Reply With Quote
Old 07-13-2024, 11:09 PM   #9735
TaviCalderon
Member
TaviCalderon began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Dec 2023
Device: Kindle Scribe
this may have been covered elsewhere, but no amount of googling is helping me find it. does anyone know how to get the "rating" column to show up on a custom title page??

i think half my problem is that i've confused the situation myself by having my entire library of works come from ao3, which has all these naming conventions that don't match up to anything else in calibre or FFF. like category = fandom, etc. etc.

context: "rating" in ao3 stands for like "mature", "explicit", "general audiences", that kind of thing. "rating" in calibre is a 1-5 star system. i didn't use this for the first several months of playing with calibre and FFF, but i've come to really enjoy using the rating star system as i go through all 1,700-something works in my library for the first time in over a decade and organize it all/cull the herd.

i have in my callibre->preferences->a custom column setup called Rated with a lookup name #rated. i have in my personal.ini->titlepage_entries: rating, and also rating_label: Rated. So everything to make the ao3 naming convention for explicit/mature/teen/general categories is set up and functioning properly on my custom title page.

that said, i cannot for the life of me figure out how to get the Rating (1-5 star system) that is already built into calibre to show up on this title page. because it's already built into calibre as a standard column you dont have to make on your own i thought it would be as easy as sticking the word "ships" under titlepage_entries and having relationships pop up, but when i look in configure FFF->standard column page it isnt there. and to confuse things, the titlepage_entries: word to use to get the other, ao3 definition of a rating to populate is #rating, which is the lookup name in calibre for the star system column... lol


TLDR; how the hell do you get "Rating" (stars 1-5) to show up on a custom title page? i have no idea what to put in personal.ini to make this work and i can't find anything about it online. i'm sure i'm missing something easy, i just have no idea where else to look!!
TaviCalderon is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 495 10-19-2024 07:06 AM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 09:39 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 07:58 AM.


MobileRead.com is a privately owned, operated and funded community.