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 03-03-2024, 07:23 PM   #9331
marshie250
Enthusiast
marshie250 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Jun 2019
Device: Kobo
Yes that did it! Unchecking Background metadata fixed the Overwrite Always. Thank you!

Last edited by marshie250; 03-03-2024 at 07:36 PM.
marshie250 is offline   Reply With Quote
Old 03-03-2024, 07:57 PM   #9332
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Can you also confirm the new test version works with Background metadata for you?
JimmXinu is offline   Reply With Quote
Old 03-04-2024, 11:23 AM   #9333
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New (Point) Version Released

Version 4.32.3 - 2024-03-04
- Fix setting book['tags'] for bgmeta for update AND overwrite.
- Report errors during library update loop better.
- SV site change, paginated threadmarks list
JimmXinu is offline   Reply With Quote
Old 03-04-2024, 07:21 PM   #9334
DragoLord19d
Member
DragoLord19d began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2019
Device: Ipad
I'm getting this error with the lastest update.
I thought Fanficfare skipped 403 errors.
calibre, version 7.6.0
ERROR: Error Updating Metadata: <p>An error has occurred while FanFicFare was updating calibre's metadata for <a href='https://www.fanfiction.net/s/9251992/1/A-Brutal-Truth'>A Brutal Truth Anthology</a>.</p>

Traceback (most recent call last):
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\fetchers\fetcher_requests. py", line 128, in request
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\requests\models.py", line 943, in raise_for_status
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.fanfiction.net/s/9251992/1/A-Brutal-Truth

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.fanficfare_plugin.dialogs", line 715, in do_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1356, in prep_download_loop
File "calibre_plugins.fanficfare_plugin.fff_plugin" , line 1236, in get_story_metadata_only
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\adapters\base_adapter.py", line 325, in getStoryMetadataOnly
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\adapters\adapter_fanfictio nnet.py", line 113, in doExtractChapterUrlsAndMetadata
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\requestable.py", line 119, in get_request
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\requestable.py", line 111, in get_request_redirected
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\fetchers\base_fetcher.py", line 133, in get_request_redirected
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\fetchers\cache_basic.py", line 122, in fetcher_do_request
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\fetchers\decorators.py", line 102, in fetcher_do_request
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\fetchers\base_fetcher.py", line 106, in do_request
File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Fa nFicFare.zip\fanficfare\fetchers\fetcher_requests. py", line 149, in request
fanficfare.exceptions.HTTPErrorFFF: HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.fanfiction.net/s/9251992...Truth'(403)
DragoLord19d is offline   Reply With Quote
Old 03-04-2024, 08:30 PM   #9335
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: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
edit: delete
ownedbycats is offline   Reply With Quote
Old 03-04-2024, 09:40 PM   #9336
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by DragoLord19d View Post
I'm getting this error with the lastest update.
I thought Fanficfare skipped 403 errors.
After it masked an issue I added an additional error reporting dialog. Processing of the error'ed update hasn't changed, it's just being reported now.

I could catch HTTPErrorFFF separately if it's a significant problem.
JimmXinu is offline   Reply With Quote
Old 03-05-2024, 06:15 AM   #9337
DragoLord19d
Member
DragoLord19d began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2019
Device: Ipad
Quote:
Originally Posted by JimmXinu View Post
After it masked an issue I added an additional error reporting dialog. Processing of the error'ed update hasn't changed, it's just being reported now.

I could catch HTTPErrorFFF separately if it's a significant problem.
Please. Maybe a mass confirmation?
DragoLord19d is offline   Reply With Quote
Old 03-05-2024, 09:06 AM   #9338
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2023-03-05
- Move new exception catching for metadata errors
JimmXinu is offline   Reply With Quote
Old 03-05-2024, 10:42 AM   #9339
DavidBrookes
Member
DavidBrookes began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2013
Device: None
I updated one of my Fanfiction libraries in Calibre this weekend and something that I have come across happened. All of the newly created or updated eBooks now have an image before the title page itself. Can I strip this from the eBooks in question and how do I prevent this from happening in the future? I have attached an eBook sample and a screenshot of the image from the same eBook.
Attached Thumbnails
Click image for larger version

Name:	Untitled1.jpg
Views:	352
Size:	105.2 KB
ID:	206720  
Attached Files
File Type: zip A Bold Hufflepuff.zip (82.3 KB, 355 views)
DavidBrookes is offline   Reply With Quote
Old 03-05-2024, 11:12 AM   #9340
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Cover image has been a feature of FanFicFare for over a decade, it's not new. Most users generally want them.

It's also a complicated topic. There's a wiki page Cover Settings Calibre Plugin that documents the various different settings and options.

You can remove covers from existing ebooks manually using using Calibre built-in Edit book or in batches using the Modify Epub plugin.

You can suppress all future FanFicFare covers in personal.ini with:
Code:
[overrides]
never_make_cover:true
Note that will also prevent the covers from appearing in Calibre as well as in the ebook.
JimmXinu is offline   Reply With Quote
Old 03-05-2024, 12:49 PM   #9341
goosenik
Junior Member
goosenik began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2024
Device: none
Help with Personal.Ini for AO3

Hello! I had asked a bit about this on Reddit, and someone lovely suggested I come here and ask. I'm new to the plugin and coding as a whole, so forgive me if this is super simple or alternatively impossible!

1. Is there a way to change the way the title pages show up? For example-- I'd like the intro metadata page, and then the 'Summary/Description' on the following page, and then the story to start on the third page. Is there a way to do this?

2. This isn't a necessity either by any means, just something I'm curious about. Is there a way to add formatting?
Specifically, I can't stand that AO3 doesn't indent new paragraphs. lol Is there a way to tell the plugin to indent new paragraphs in the works?
Likewise, is there a way to tell it to italicize Author's Notes?
Would there be a way to do this without manually adding the formatting to each individual work?

Thanks!
goosenik is offline   Reply With Quote
Old 03-05-2024, 01:06 PM   #9342
DavidBrookes
Member
DavidBrookes began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2013
Device: None
Thank you for that - the Modify ePub plugin did the trick - regarding the overrides section to put in the personal.ini file, is there a specific place it needs to be placed or can it be put at the start of the personal.ini file as I know from my IT work something placing of settings in configuration files can be important?
DavidBrookes is offline   Reply With Quote
Old 03-05-2024, 02:31 PM   #9343
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply, FYI.

Quote:
Originally Posted by goosenik View Post
1. Is there a way to change the way the title pages show up? For example-- I'd like the intro metadata page, and then the 'Summary/Description' on the following page, and then the story to start on the third page. Is there a way to do this?
FanFicFare output is customizable, but it's complicated.

FFF doesn't have a way to split the title page into different files, but you can inject a page break between entries with a personal.ini setting:
Code:
[defaults]
# ...
titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,publisher,<dir style="page-break-after: always"></div>,description
Quote:
Originally Posted by goosenik View Post
2. This isn't a necessity either by any means, just something I'm curious about. Is there a way to add formatting?
Specifically, I can't stand that AO3 doesn't indent new paragraphs. lol Is there a way to tell the plugin to indent new paragraphs in the works?
Likewise, is there a way to tell it to italicize Author's Notes?
Would there be a way to do this without manually adding the formatting to each individual work?
By default, FFF tries to normalize the appear of stories and the default output is what I prefer.

The output_css setting from defaults.ini (for epub) is:
Code:
[epub]
# ...
## Allow customization of CSS.  Make sure to keep at least one space
## at the start of each line and to escape % to %%.  Also need
## background_color to be in the same section, if included in CSS.
## 'adobe-hyphenate: none;' prevents hyphenation on newer Nooks
## STR(wG) (1.2.1+ for sure)
output_css:
 body { background-color: #%(background_color)s;
        text-align: justify;
        margin: 2%%;
	adobe-hyphenate: none; }
 pre { font-size: x-small; }
 h1 { text-align: center; }
 h2 { text-align: center; }
 h3 { text-align: center; }
 h4 { text-align: center; }
 h5 { text-align: center; }
 h6 { text-align: center; }
 .CI {
     text-align:center;
     margin-top:0px;
     margin-bottom:0px;
     padding:0px;
     }
 .center   {text-align: center;}
 .cover    {text-align: center;}
 .full     {width: 100%%; }
 .quarter  {width: 25%%; }
 .smcap    {font-variant: small-caps;}
 .u        {text-decoration: underline;}
 .bold     {font-weight: bold;}
 .big { font-size: larger; }
 .small { font-size: smaller; }
You can make your output_css setting entirely, or add to the existing one. For example, to indent <p> paragraphs, you could add:
Code:
[epub]
add_to_output_css:
 p {
         text-indent: 4em;
    }
 div.fff_chapter_notes {
         font-style: italic;
    }
Note that p setting won't help with stories written with <br> instead of <p> tags.

The div.fff_chapter_notes setting italicizes the author notes.

Quote:
Originally Posted by DavidBrookes View Post
Thank you for that - the Modify ePub plugin did the trick - regarding the overrides section to put in the personal.ini file, is there a specific place it needs to be placed or can it be put at the start of the personal.ini file as I know from my IT work something placing of settings in configuration files can be important?
Position in the file doesn't matter. You need to be careful to not accidentally separate existing lines from their section, and it's best to look for an existing section header and put your config under that rather than having multiple of the same [section] headings.
JimmXinu is offline   Reply With Quote
Old 03-05-2024, 03:19 PM   #9344
goosenik
Junior Member
goosenik began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2024
Device: none
Okay, first of all, you're a wizard and I'm in awe.

Second, thank you so much!

Third-- so the indentation and italics work, but I do now notice at the end of the work, there's no space before the end-note. Essentially it goes:

"and that was the end of the story."
Notes for the Chapter:
Here are the chapter notes and etc.

It's all just smooshed together. I swear, I tried to research how to add line breaks or to add like a 'space, hard line, space' before/after the notes, but whenever I add anything to your sample, it loses the italics. Is there any chance you could show me just that one last fix?
goosenik is offline   Reply With Quote
Old 03-05-2024, 05:02 PM   #9345
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,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
The key is that you control the CSS that is applied.

Add something like margin-top:1em; to the div.fff_chapter_notes rule. Or 2em, etc if you want more space.
JimmXinu 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 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 01:59 AM.


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