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 04-17-2022, 01:24 AM   #7021
DisturbedDragon
Member
DisturbedDragon began at the beginning.
 
Posts: 22
Karma: 10
Join Date: May 2016
Device: Kindle paperwhite
Thank you for the prompt response
DisturbedDragon is offline   Reply With Quote
Old 04-17-2022, 07:34 AM   #7022
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quick question: How would I remove a specific piece of text from a fanfic description? (e.g. "This is a complete fic. Posting new chapters on Sundays!")
ownedbycats is online now   Reply With Quote
Old 04-17-2022, 11:07 AM   #7023
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
replace_metadata on description.

Keeping in mind that a) by default keep_summary_html:true, so you may need to deal with HTML; and b) Calibre rewrites the HTML of it's 'Comments' field, so you can't depend on that to see the exact HTML. Do Edit book on the epub instead.

Yes, there is an unfortunate mishmash of naming convention here.
JimmXinu is offline   Reply With Quote
Old 04-18-2022, 10:36 AM   #7024
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I have a fanfic I'd like to download.

Problem: it was deleted from FanFiction.net.

However, all of the chapters are available on the Wayback Machine.

Are there any options here, such as jury-rigging the ffnet adapter to accept a wayback'd copy? Problems I can see with that approach:

- The Wayback Machine header. This can be stripped by appending id_ to the timestamp (see here).
- The timestamp section of the URL varies.
- It was captured about a decade ago, though I'm not sure how much ffnet (and the adapter's) changed since then.

Non-FFF solutions I'm open to, though hopefully something better than "saving and compiling the ebook manually."

EDIT: Actually -- is there an option to have FFF generate an epub structure for 15 chapters, but leave the content blank? That would make 'saving and compiling the ebook manually' a bit easier.

Last edited by ownedbycats; 04-18-2022 at 10:58 AM.
ownedbycats is online now   Reply With Quote
Old 04-18-2022, 12:13 PM   #7025
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
However, all of the chapters are available on the Wayback Machine.

Are there any options here, such as jury-rigging the ffnet adapter to accept a wayback'd copy? Problems I can see with that approach:
This has been raised before.

Yes, it is theoretically possible; and if you can make it work, good for you. But I don't have any interest in supporting downloading from Wayback Machine.

Quote:
Originally Posted by ownedbycats View Post
EDIT: Actually -- is there an option to have FFF generate an epub structure for 15 chapters, but leave the content blank? That would make 'saving and compiling the ebook manually' a bit easier.
No, FFF doesn't have such a feature; it's not really in scope. But if you're already poking at code, you can pretty trivially change adapter_test1 to do that for you.

Actually, you may want to look at the adapter_test1 teststory settings and modify that rather than the site adapter.
JimmXinu is offline   Reply With Quote
Old 04-18-2022, 03:48 PM   #7026
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
yeah, actually supporting wayback would be problematic -- not all chapters get archived, or old versions of the site.

What I've decided to do is make a copy of a different 15-chapter fanfic and swap out the info and content. This will preserve the FFF structure as well as possible.

So a question: In the ebook file itself, aside from the title page, file0000.xhtmls, and content.opf, are there any other places where there are traces of the 'donor' fic that I need to replace?

EDIT: Mostly out of curiosity, what's the difference between "chaptertitle" and "chapterorigtitle"?

Last edited by ownedbycats; 04-18-2022 at 04:22 PM.
ownedbycats is online now   Reply With Quote
Old 04-18-2022, 05:10 PM   #7027
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
So a question: In the ebook file itself, aside from the title page, file0000.xhtmls, and content.opf, are there any other places where there are traces of the 'donor' fic that I need to replace?
Nothing comes to mind.

Quote:
Originally Posted by ownedbycats View Post
EDIT: Mostly out of curiosity, what's the difference between "chaptertitle" and "chapterorigtitle"?
Used for mark_new_chapters so removing new chapter marks doesn't require hitting the site.
JimmXinu is offline   Reply With Quote
Old 04-18-2022, 05:59 PM   #7028
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
There was also the table of contents, but aside from that I think I got it all.
ownedbycats is online now   Reply With Quote
Old 04-19-2022, 09:26 PM   #7029
midnightmane
Member
midnightmane began at the beginning.
 
Posts: 22
Karma: 12
Join Date: Feb 2016
Device: Kindle/Calibre
What kind of custom column do I need to make in order to add kudos and Hits? I have tried intger.
midnightmane is offline   Reply With Quote
Old 04-20-2022, 11:34 AM   #7030
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Integer column type works, I just tested it. You have to use the custom_columns_settings setting in personal.ini because it's a site-specific metadata entry.
JimmXinu is offline   Reply With Quote
Old 04-20-2022, 08:23 PM   #7031
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2022-04-20
- Xenforo2 status Ongoing==In-Progress
- Update translations.
JimmXinu is offline   Reply With Quote
Old 04-20-2022, 09:37 PM   #7032
sandmanwake
Enthusiast
sandmanwake has learned how to buy an e-book online
 
Posts: 26
Karma: 82
Join Date: Aug 2018
Device: none
Quote:
Originally Posted by ownedbycats View Post
I have a fanfic I'd like to download.

Problem: it was deleted from FanFiction.net.
I don't know if you know about this site: https://ff2ebook.com/index.php

If someone else used the site to download the story you were interested in downloading, you might be able to get an archived epub of it via the Archive link at the top of the page.
sandmanwake is offline   Reply With Quote
Old 04-20-2022, 10:42 PM   #7033
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: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thanks, that will be helpful.
ownedbycats is online now   Reply With Quote
Old 04-20-2022, 11:00 PM   #7034
midnightmane
Member
midnightmane began at the beginning.
 
Posts: 22
Karma: 12
Join Date: Feb 2016
Device: Kindle/Calibre
Quote:
Originally Posted by JimmXinu View Post
Integer column type works, I just tested it. You have to use the custom_columns_settings setting in personal.ini because it's a site-specific metadata entry.
Do you have an example I checked the default.ini but I couldn't find any examples

Last edited by midnightmane; 04-20-2022 at 11:02 PM. Reason: fixing voice typing errors
midnightmane is offline   Reply With Quote
Old 04-20-2022, 11:10 PM   #7035
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,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by midnightmane View Post
Do you have an example I checked the the v i n i but I couldn't find any examples in the default.ini
Assuming you named the custom column 'mycolumn', it becomes '#mycolumn' in use (that's a Calibre thing), put a custom_columns_settings under [archiveofourown.org] in personal.ini:

Code:
[archiveofourown.org]
add_to_custom_columns_settings:
 kudos=>#mycolumn
(Change 'mycolumn' to your column name.)

The add_to_ is really only needed if you have other custom_columns_settings under [defaults], but it's a good habit.

MR's built-in search doesn't like searching for custom_columns_settings, says it's too long. But a google search for: site:mobileread.com custom_columns_settings will find previous discussions.
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 11:07 PM.


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