Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-23-2023, 03:43 AM   #8941
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by novelas_ View Post
"Can you please explain the statement you made, which I have highlighted in bold?"
If you set up a meta data colums this stores all the metadata collected from a site. If you're strugeling with some code and are trying to get it right it can come in handy. If I don't get the result I'm looking for in a certain column I emty it, change the code and use Update Calibre Metadata from saved Metadata Column. For one it's faster, but also it's frowned upon to hit the same site/story over and over again which could result your IP addres being blocked or you even banned from a site (or so I've been told).

Ps. see this scrteenshot Click image for larger version

Name:	ScreenShot.jpg
Views:	26
Size:	44.6 KB
ID:	203929 for which option to choose for the update.

Quote:
Originally Posted by novelas_ View Post
did you manage to set it up?
No I did not, didn't have time this week to play around. I'll try again this weekend, but I'm getting so fed up ff.net issues that I'm thinking about abandoning it all together. Half the stories are crossposted on AO3 anyway.

Quote:
Originally Posted by culytera View Post
Was it on purpose that you put the ='s before the comment prefix #?
Code:
===========================================## FANFICTION.NET ##================================================ =================
You can ignore this, I use to have a rather large .ini file so it wanted a long line in the middle to easliy find where I wanted to go when scrolling through it. Since then I scrubbed the .ini file so it's kinda useless now, but I'm used to it.
ackomb is offline   Reply With Quote
Old 09-23-2023, 01:13 PM   #8942
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 74
Karma: 10
Join Date: Sep 2018
Device: iPad mini
Okay, y'all I did a dumb. I did a final update on all the fic I've been organizing (thousands of files) and didn't think there'd be new chapters, but apparently there were more that I'd downloaded without subscribing to than I predicted. My log_page wasn't working, but I figured I'd fix it once I had all the metadata downloaded finally. I do have new chapters marked, but the full-text search can't identify special characters so just searching for (new) doesn't work.

So, does anyone know if the job logs for Calibre are saved anywhere, or if there's a way to bulk search Table of Contents? This isn't like all the fics were updated recently, or everything I modified has new chapters. I have no idea how many do, and i'm kicking myself. I know this can be avoided in future, but I'd like to be able to ID new chapters now.

MacOS 12.6.8 Calibre 6.26 Fanficfare 4.27
chicleeblair is offline   Reply With Quote
Old 09-23-2023, 01:18 PM   #8943
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,053
Karma: 3259703
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Instead of Calibre's Full Text Search, I tend to use the plugin Quality Check > Search ePubs feature, it's regexp and you can escape the parans: \(new\)
JimmXinu is offline   Reply With Quote
Old 09-24-2023, 08:37 PM   #8944
chibimaya92
Junior Member
chibimaya92 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2023
Device: none
Hello,
i know it was ask again and again but i'm here for fanfiction.net too, well not only but the others sites work fine.
Can i ask help to configure my personal.ini ?
Can i ask help to understand and try to create also my own configuration with my customs columns for AO3 and Ffnet ? I read the others posts about it and i found it really interesting

I'm trying te create a catalog with Calibre and export it on cvs.
I only use AO3 and FFnet for my readings, and i want really specifics columns.
Can i ask here or i need to find another topics for that ?

I already read the FAQs, and try the browser cache and/or the proxy, didn't work at all. I try the browser cache thing on different browser too

I'm really sorry to disturb you again with all of it
chibimaya92 is offline   Reply With Quote
Old 09-24-2023, 08:39 PM   #8945
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 74
Karma: 10
Join Date: Sep 2018
Device: iPad mini
I’m confident that I’ve looked for answers to these two questions and haven’t seen them addressed, at least north that google can tell me, so hopefully they help someone else.

1. My chapterstotal column is text so that it can handle “?”s and when I update anthologies, it collects the total number of chapters in each ePub. Is there a way to get it to sum these like the #chapters column, which is integers?

(I just realized that the “?” could be an issue here, too, but I’m thinking that you could remove them in the case of an “anthology tag” )

2. I have a custom column called “type” made up of permitted values (book, fic, article, short stories, etc.) These map to my fanfic and books virtual libraries. Is there a way that ePubs downloaded by FFF can be marked as “fic” by default?
chicleeblair is offline   Reply With Quote
Old 09-24-2023, 09:34 PM   #8946
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: 7,602
Karma: 54930589
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by chicleeblair View Post
2. I have a custom column called “type” made up of permitted values (book, fic, article, short stories, etc.) These map to my fanfic and books virtual libraries. Is there a way that ePubs downloaded by FFF can be marked as “fic” by default?
Code:
[defaults]
custom_columns_settings: 
## Book type
 "Fanfiction"=>#booktype
ownedbycats is offline   Reply With Quote
Old 09-24-2023, 09:40 PM   #8947
culytera
Connoisseur
culytera began at the beginning.
 
Posts: 77
Karma: 10
Join Date: Jul 2021
Device: iPhone
Quote:
Originally Posted by chibimaya92 View Post
Hello,
i know it was ask again and again but i'm here for fanfiction.net too, well not only but the others sites work fine.
Can i ask help to configure my personal.ini ?
Can i ask help to understand and try to create also my own configuration with my customs columns for AO3 and Ffnet ? I read the others posts about it and i found it really interesting

I'm trying te create a catalog with Calibre and export it on cvs.
I only use AO3 and FFnet for my readings, and i want really specifics columns.
Can i ask here or i need to find another topics for that ?

I already read the FAQs, and try the browser cache and/or the proxy, didn't work at all. I try the browser cache thing on different browser too

I'm really sorry to disturb you again with all of it
You can check this thread for some examples, might help you get started.
culytera is offline   Reply With Quote
Old 09-24-2023, 11:43 PM   #8948
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,053
Karma: 3259703
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by chibimaya92 View Post
Can i ask help to configure my personal.ini ?
...
I will help with specific issues when I have time (my time will be limited this week, FYI). But all my general answers are already here or in the wiki.

If they don't help, perhaps someone else can.

Quote:
Originally Posted by chicleeblair View Post
1. My chapterstotal column is text so that it can handle “?”s and when I update anthologies, it collects the total number of chapters in each ePub. Is there a way to get it to sum these like the #chapters column, which is integers?
IMO, chapterstotal isn't very useful. Most incomplete stories have '?' and if any story in an anthology has '?' the sum of chapterstotal could well be less than the sum of numChapters.

chapterstotal is a site specific metadata entry. IE, FFF only collects it for AO3 (and other OTW) sites. In fact, it's derived from chapterslashtotal using add_to_replace_metadata.

From defaults.ini:
Code:
## chapterslashtotal contains 1/3 or 1/1 or 3/? etc as reported by AO3.
## chapterstotal is just the total chapters part after the /
include_in_chapterstotal:chapterslashtotal.NOREPL
add_to_replace_metadata:
 chapterstotal=>^([0-9])+/(.+)$=>\2
If you set a metadata entry (using custom_columns_settings) into a float or integer type custom column, FFF will automatically split the list by commas and sum the values when it's an anthology.

But with the default definition of chapterstotal, that's a problem, because of the '?'.

Here's a brute force approach make chapterstotal the total or current when total is ?
Code:
## chapterslashtotal contains 1/3 or 1/1 or 3/? etc as reported by AO3.
include_in_chapterstotal:chapterslashtotal.NOREPL
add_to_replace_metadata:
 chapterstotal=>((?P<chap>[0-9]+)/\?)|([0-9]+/(?P<totchap>[0-9]+))=>\g<chap>\g<totchap>
Putting that in [defaults] works while doing away with '?' for chapterstotal.

Splitting out a separate copy or putting it under a more specific section should be possible, but I'm too tired right now.
JimmXinu is offline   Reply With Quote
Old 09-25-2023, 07:47 AM   #8949
chibimaya92
Junior Member
chibimaya92 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2023
Device: none
Quote:
Originally Posted by culytera View Post
You can check this thread for some examples, might help you get started.
Thanks ! I will check that !
chibimaya92 is offline   Reply With Quote
Old 09-25-2023, 01:42 PM   #8950
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 74
Karma: 10
Join Date: Sep 2018
Device: iPad mini
Quote:
Originally Posted by ownedbycats View Post
Code:
[defaults]
custom_columns_settings: 
## Book type
 "Fanfiction"=>#booktype

Wow. That’s painfully simple. Thank you!
chicleeblair is offline   Reply With Quote
Old 09-25-2023, 03:53 PM   #8951
Aliumas147
Junior Member
Aliumas147 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2023
Device: Phone
So is there a way to save as seperate chapters?
Aliumas147 is offline   Reply With Quote
Old 09-26-2023, 10:56 AM   #8952
applegaa
Enthusiast
applegaa began at the beginning.
 
applegaa's Avatar
 
Posts: 38
Karma: 10
Join Date: Apr 2019
Device: none
Quote:
Originally Posted by ownedbycats View Post
Code:
[defaults]
custom_columns_settings: 
## Book type
 "Fanfiction"=>#booktype
I've been struggling with attempts to have FFF conditionally set the Status column to "Anthology" for anthologies. I haven't had much luck with what I've tried so far, so I tried modifying the above code.

I also found a wiki entry that had this code:

Code:
[defaults]
generate_cover_settings:
 ${anthology}=>true=>Anthology Cover
I tried to combine the logic from both, resulting in this:

Code:
custom_columns_settings:
 ${anthology}=>true=>"Anthology"=>#status
However, it complains that it's only expecting two values to unpack. Can anybody help me fix this (or show me a better way)?

- Andrew
applegaa is offline   Reply With Quote
Old 09-26-2023, 11:01 AM   #8953
applegaa
Enthusiast
applegaa began at the beginning.
 
applegaa's Avatar
 
Posts: 38
Karma: 10
Join Date: Apr 2019
Device: none
PS: I wish there was an [anthology] section in personal.ini we could use for things that we only want to apply to anthologies.
applegaa is offline   Reply With Quote
Old 09-26-2023, 04:40 PM   #8954
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: 7,602
Karma: 54930589
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by applegaa View Post
I've been struggling with attempts to have FFF conditionally set the Status column to "Anthology" for anthologies. I haven't had much luck with what I've tried so far, so I tried modifying the above code.

I also found a wiki entry that had this code:

Code:
[defaults]
generate_cover_settings:
 ${anthology}=>true=>Anthology Cover
I tried to combine the logic from both, resulting in this:

Code:
custom_columns_settings:
 ${anthology}=>true=>"Anthology"=>#status
However, it complains that it's only expecting two values to unpack. Can anybody help me fix this (or show me a better way)?

- Andrew
Yeah, custom column settings are an all-or-nothing thing, no conditionals there. You could probably create a custom entry (mapped to status), do a replace for the anthologies, and then insert that into the column.

I don't seem to have any special handling for anthologies myself (either in personal.ini or my metadata postprocessing) but I only have a few so maybe I just did them manually.

Last edited by ownedbycats; 09-26-2023 at 11:40 PM.
ownedbycats is offline   Reply With Quote
Old Yesterday, 08:51 PM   #8955
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,053
Karma: 3259703
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by Aliumas147 View Post
So is there a way to save as seperate chapters?
If you mean have FFF automatically save each chapter in a story as an individual book when downloading, no.

You can use EpubSplit (see link in my sig) to very easily split individual chapters into separate books after the fact.

You can put a chapter range after the story URL when you download it to limit which chapters are downloaded, example:
https://www.fanfiction.net/s/11111/1/Title[5-8]

Search also ignore_chapter_url_list and first_chapter / last_chapter.

Quote:
Originally Posted by applegaa View Post
PS: I wish there was an [anthology] section in personal.ini we could use for things that we only want to apply to anthologies.
That might actually be possible now. There have been some changes since the last time I looked at that idea. But it would only be applicable to custom_columns_settings and generate_cover_settings. Everything else would still be controlled per-story.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 401 01-03-2023 08:00 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 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 09:22 AM.


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