![]() |
#8176 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,502
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
The expected mode of operation is to use "Update Epub" mode normally, which intentionally keeps pre-existing modified chapters.
If you choose to use overwrite regularly and do manual edits, it's up to you to come up with something. |
![]() |
![]() |
![]() |
#8177 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2021
Device: none
|
Development environment
Hi,
i just cloned the project from the github page but i'm struggling the get all the dependencies right. What would be the correct stepts to set it up for adding support to a new site? |
![]() |
![]() |
![]() |
#8178 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,502
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
![]() There's a makeplugin.py file to make the plugin zip, so you need python CLI to run that, and I believe that script needs the package six installed (using pip). Then to install the plugin, run calibre-customize -a FanFicFare.zip. To run as CLI in your dev dir, I'd:
Advanced option: the CLI has a developer option --save-cache, if you also have use_basic_cache:true for your new site, then the CLI will save the cached pages so you can run tests over and over without hitting the server again. |
|
![]() |
![]() |
![]() |
#8179 |
Enthusiast
![]() Posts: 40
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
|
There are a few custom images I want to insert into a chapter in a story, but I'm running into a lot of trouble making it work:
- I wanted to put the images at a path which has special characters (& and ') and spaces in it (on Windows 10), but no matter how I escape the characters in the additional_images I always get a 404 error where it can't find them. I eventually gave up and used a location which had no spaces and special characters, but I want to know if it's possible. - Once custom images are added into the fic, I don't know how to preserve their insertion into the text. Every time I update the story through FFF, the inserted images have their source and longdesc replaced by "failedtoload" when the text of the chapters are unmodified. - As an alternative, can FFF ignore the processing of custom images added to an epub? I find it odd that images which don't follow the ffdl-*.jpg naming format get deleted when the story gets updated unless they are in additional_images, especially since ffdl-*.jpg images that are in existing chapters don't get redownloaded from what I can tell. |
![]() |
![]() |
![]() |
#8180 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,502
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
See https://www.w3schools.com/tags/ref_urlencode.ASP I find an easy way to get the URL is to drag the image onto my browser, then copy the location it shows. Quote:
Plus, there's an easier way to do it: Put the <img> tags in the chapter text with src attr pointing to the URL of the image on disk (or where ever) and then run an FFF Update Always (if there aren't new chapters) and FFF will process it as if the author had put it in. Your custom image will be 'downloaded', mapped to an ffdl-# name and included in the epub. |
||
![]() |
![]() |
![]() |
#8181 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
|
Probably a stupid question, but since I'm not the most computer literate person around...
I was adding the username and password for a site to the personal.ini but it won't let me save it because there is a % in the password. I'm assuming there is some kind of workaround, but I don't know what it is... or do I just need to change the password on the site? |
![]() |
![]() |
![]() |
#8182 |
Member
![]() Posts: 23
Karma: 10
Join Date: Aug 2012
Device: Iphone
|
Got a bit of a weird one for you. Trying to create a anthology from https://www.squidgeworld.org/series/1174
But its only finding story id's https://www.squidgeworld.org/works/3...=true#comments https://www.squidgeworld.org/works/3...=true#comments https://www.squidgeworld.org/works/3...=true#comments there should be 11. |
![]() |
![]() |
![]() |
#8183 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,193
Karma: 63194629
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
@JimmXinu perhaps add something about escaping percentage signs to the FAQ? |
|
![]() |
![]() |
![]() |
#8184 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
|
|
![]() |
![]() |
![]() |
#8185 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,193
Karma: 63194629
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Escape characters are ignored. It'll be treated as a single percent sign. If you have two percent signs, you'd want %%%%. Last edited by ownedbycats; 03-08-2023 at 09:10 PM. |
|
![]() |
![]() |
![]() |
#8186 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 32768
Join Date: Dec 2012
Device: Kobo Glo HD, Kobo Clara HD
|
Thank you!
EDIT: And damn it! I had hoped that was the issue but it doesn't seem to be. I'm getting a 403 Client Error from scribblehub from this link: *censored* I looked at the site list and that appears to be the way I should be entering the link... it also grabs it when I click on "Download from URLs". Is there an issue with scibblehub like there is on FFN? I've never downloaded a fic from SH before, so I don't know anything about it. EDIT the Second: Nevermind... I just downloaded it from another site where it worked fine, and given the other site was HF I've removed the scribblehub link since I don't want to get in trouble for something that might be more smut than I was told it was. Last edited by JDesat; 03-08-2023 at 09:54 PM. Reason: Edit 2 |
![]() |
![]() |
![]() |
#8187 | |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2018
Device: none
|
Quote:
Code:
[www.scribblehub.com] ## Using cloudscraper can satisfy the first couple levels of ## Cloudflare bot-proofing, but not all levels. Older versions of ## OpenSSL will also raise problems, so versions of Calibre older than ## v5 will probably fail. Only a few sites are configured with ## use_cloudscraper:true by default, but it can be applied in other ## sites' ini sections. user_agent setting is ignored when ## use_cloudscrape use_cloudscraper:true ## number of seconds to sleep between calls to the story site. May be ## useful if pulling large numbers of stories or if the site is slow. ## The actual sleep time used on each request is a random number ## between 0.5 and 1.5 times slow_down_sleep_time. slow_down_sleep_time:5 slow_down_sleep_time may not be necessary, but I put it just in case to not be flagged as a bot for the site if there is a lot of stories to update. |
|
![]() |
![]() |
![]() |
#8188 | |||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,502
Karma: 4277235
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
You need to set always_login:true under [squidgeworld.org] along with username and password. Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#8189 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,193
Karma: 63194629
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I added this to the end of the FAQ:
Code:
## How do I use a percentage sign in personal.ini without getting an error? Percentage signs are a special character and need to be 'escaped.' To do this, simply double it ('%%' rather than '%'). The second one will be ignored. Last edited by ownedbycats; 03-09-2023 at 05:51 AM. |
![]() |
![]() |
![]() |
#8190 |
Member
![]() Posts: 14
Karma: 10
Join Date: Apr 2022
Device: kindle paperwhite
|
I am trying to update a fanfic from quotev that has more than one author but the author order keeps switching. It is annoying because when I send the converted fanfic to my kinlde I have to delete the orginal fanfic and I loose all my progress. Can you please fix it so the author order doesn't keep changing. Here is a link so know what i mean.
https://www.quotev.com/story/1514438...rrior-Princess |
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 494 | 05-18-2024 02:34 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 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 |