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 02-13-2021, 10:05 PM   #5476
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Without legend_spoilers:true, spoilers come out with an unusable button which couldn't be easily fixed in CSS, which is why it got special code.

Quotes already come out indented and, as you already figured out, some CSS can adjust the appearance.
JimmXinu is offline   Reply With Quote
Old 02-14-2021, 09:25 AM   #5477
Rei97
Member
Rei97 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Oct 2020
Device: Android mobile
Feature request

Hi, not sure if this is the right place to request but can I please request a feature: is it possible to make it so that in fanficfare log, those fanfics with errors are group sorted/listed together according to the error( for easier bulk copying).For example "Story does not exist" stack together,
urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host-stack together
Bad Story URL--stack together
Existing epub contains # chapters, web site only has # Use Overwrite to force update-stack together
HTTP Error 429: Too Many Requests-stack together
Please consider this feature, if possible
Thank you

Last edited by Rei97; 02-14-2021 at 09:30 AM.
Rei97 is offline   Reply With Quote
Old 02-15-2021, 12:35 AM   #5478
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,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Code:
 category=>(Mass Effect - All Media Types)=>Mass Effect: Andromeda&&category=~^Mass Effect: Andromeda$
This ran on a few fics tagged "Mass Effect - All Media Types, Mass Effect Trilogy". What did I do wrong on the conditional?

Also, is there a better way to merge the "All Media Types" tag only if either Trilogy or Andromeda are present?

Last edited by ownedbycats; 02-15-2021 at 01:31 AM.
ownedbycats is offline   Reply With Quote
Old 02-15-2021, 02:21 AM   #5479
icecold
Enthusiast
icecold began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Mar 2020
Device: Android,
What happens if I use Always Update but the url leads to a story with many less chapters than it had before. I don't want to accidently lose my copy of a fic that's been deleted from the internet. I mainly just want to update the CSS.

From my understanding it just doesn't add new chapters. I just want to be absolutely sure.

Last edited by icecold; 02-15-2021 at 02:23 AM.
icecold is offline   Reply With Quote
Old 02-15-2021, 03:11 AM   #5480
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,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by icecold View Post
What happens if I use Always Update but the url leads to a story with many less chapters than it had before. I don't want to accidently lose my copy of a fic that's been deleted from the internet. I mainly just want to update the CSS.

From my understanding it just doesn't add new chapters. I just want to be absolutely sure.
It'll delete the missing chapters.

In my experience, the old ePub gets moved to the recycle bin. But to rely on that is not a good idea. You can use add book > add empty book > duplicate book with "copy formats" checked, or polish epub (just embed the cover) to make an original_epub.

Last edited by ownedbycats; 02-15-2021 at 03:52 AM.
ownedbycats is offline   Reply With Quote
Old 02-15-2021, 06:06 AM   #5481
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I've added Chrome Cache to download from, but I still get errors on some chapters, in spite of having all the chapter-pages in chrome cache. It varies how many chapters fail.

Example:
error: Download epub completed, 12 failed chapters, 23 total chapters.
url: https://www.fanfiction.net/s/6968129/1/Magica

Under Defaults:
browser_cache_path:C:\Users\myname\AppData\Local\G oogle\Chrome\User Data\Default\Cache

Under Fanfiction.net
use_browser_cache:true
browser_cache_age_limit:4.0

Have I done something wrong?

I use the latest test version.

Last edited by Tanjamuse; 02-15-2021 at 06:31 AM.
Tanjamuse is offline   Reply With Quote
Old 02-15-2021, 12:19 PM   #5482
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Code:
 category=>(Mass Effect - All Media Types)=>Mass Effect: Andromeda&&category=~^Mass Effect: Andromeda$
This ran on a few fics tagged "Mass Effect - All Media Types, Mass Effect Trilogy". What did I do wrong on the conditional?

Also, is there a better way to merge the "All Media Types" tag only if either Trilogy or Andromeda are present?
"## Note that if metakey == conditionalkey the conditional is ignored." You can't use category in a conditional for category.

And even if you could, it wouldn't have fit the case you described: "Mass Effect - All Media Types, Mass Effect Trilogy" isn't matched by ^Mass Effect: Andromeda$.

I'd need to see the story URL before thinking about it any more deeply.

Quote:
Originally Posted by Tanjamuse View Post
I've added Chrome Cache to download from, but I still get errors on some chapters, in spite of having all the chapter-pages in chrome cache. It varies how many chapters fail.

browser_cache_path:C:\Users\myname\AppData\Local\G oogle\Chrome\User Data\Default\Cache
If your quote is accurate, you have an extra space in 'G oogle' in your browser_cache_path which will prevent browser cache from working.

Which would explain your issues--especially since you haven't shared what the error(s) you are seeing are.

UPDATE:
Try setting use_browser_cache_only:true (under ffnet section), then FFF will only use the cache.

Last edited by JimmXinu; 02-15-2021 at 12:39 PM.
JimmXinu is offline   Reply With Quote
Old 02-15-2021, 12:40 PM   #5483
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
It's weird, I don't get the space in Google when I look in my PI. Originally I copied the string from windows, I've now written Google out myself and it looks the same. I'll run some more stories and see if it has helped.

Thanks for a solution to the Cloudflare problem.

Tanjamuse is offline   Reply With Quote
Old 02-15-2021, 01:47 PM   #5484
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,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
"## Note that if metakey == conditionalkey the conditional is ignored." You can't use category in a conditional for category.

And even if you could, it wouldn't have fit the case you described: "Mass Effect - All Media Types, Mass Effect Trilogy" isn't matched by ^Mass Effect: Andromeda$.
It actually activated when I didn't want it to. Commenting out the line prevented that from happening. I have another idea though so I will try that.

EDIT: This worked! A while back I also shared a similar code (for characters) on MetadataManagement.

Code:
exclude_metadata_pre:
## Removes redundant "Mass Effect - All Media Types"
 category=~^Mass Effect - All Media Types$&&category=~(Mass Effect: Andromeda|Mass Effect Trilogy)

Last edited by ownedbycats; 02-15-2021 at 01:56 PM.
ownedbycats is offline   Reply With Quote
Old 02-15-2021, 02:01 PM   #5485
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I've written a new wiki document about using the browser cache feature:
https://github.com/JimmXinu/FanFicFa...erCacheFeature

I appreciate some feedback on whether it covers all the necessary details clearly.
JimmXinu is offline   Reply With Quote
Old 02-15-2021, 06:12 PM   #5486
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2021-02-15
- Add additional_images setting for html & epub formats. Close #648

Code:
## When include_images:true, you can also specify a list of images to
## include in the EPUB or HTML, such as for use in customized CSS.
## Specified images will be included as "images/<basename>".  So
## "images/background.jpeg" and "images/someimage.gif" in the examples
## below.  No processing is done on additional_images.
## Note that when used with HTML format in the FFF Calibre Plugin,
## Calibre will discard any images that aren't used.  Set up your
## custom output_css before testing additional_images.
## Note also that services such as imgur will start blocking you if
## you get images from them too often.  It's better to have your own
## local copy.
#additional_images:file:///C:/Users/user/Desktop/nook/background.jpeg,http://www.somesite.com/someimage.gif
JimmXinu is offline   Reply With Quote
Old 02-16-2021, 02:59 AM   #5487
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I got the same error as yesterday, although it doesn't really register as an error, but I don't know what else I should call it.

I've attached images of what I see and here's the string copied directly from my PI.

[Defaults]
browser_cache_path:C:\Users\name\AppData\Local\Goo gle\Chrome\User Data\Default\Cache

[www.fanfiction.net]
use_browser_cache:true
browser_cache_age_limit:4.0

Here's the story link: https://www.fanfiction.net/s/10551226/1/

I don't know if it makes a difference, but the URL is from inside an txt-file and not from the Ids column in Calibre.
Attached Thumbnails
Click image for larger version

Name:	FFF (1) Warning.png
Views:	138
Size:	8.3 KB
ID:	185409   Click image for larger version

Name:	FFF (2) Log.png
Views:	141
Size:	15.4 KB
ID:	185410  

Last edited by Tanjamuse; 02-16-2021 at 10:44 AM.
Tanjamuse is offline   Reply With Quote
Old 02-16-2021, 10:09 AM   #5488
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
I got the same error as yesterday, although it doesn't really register as an error, but I don't know what else I should call it.
I am still seeing space in "\Go ogle\" when you paste it here. I suggest you go delete that word your path and manually retype it.

Chapter errors record the error that caused them inside the ebook. Please look inside and report back what the error is.

A debug log would also help. Restart Calibre in debug from under Calibre's Preferences drop down before running the download.

Remember to attach or use [code] tags around debug log.
JimmXinu is offline   Reply With Quote
Old 02-16-2021, 10:42 AM   #5489
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I did retype it yesterday, although then there was a space between G and oogle.

Code:
Error

FanFicFare failed to download this chapter. Because continue_on_chapter_error is set to true, the download continued.

Chapter URL:
https://www.fanfiction.net/s/10551226/1/

Error:
Traceback (most recent call last):
FailedToDownload: cloudscraper reports: "Detected a Cloudflare version 2 chal
Tanjamuse is offline   Reply With Quote
Old 02-16-2021, 10:43 AM   #5490
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,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
That error says that the cache isn't being used for that page.

Without debug log or seeing your personal.ini directly, that's all I can tell you about it.
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 10:05 AM.


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