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-01-2021, 09:31 PM   #5581
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by J3L View Post
Any idea why for the last several weeks I am unable to download from SOL?
For instance
https://storiesonline.net/s/75558/once-upon-an-alien
gives this error message
Quote:
Originally Posted by JimmXinu View Post
That's a 404 page not found error. I'm able to download that story fine.

So either the site is flakey, or that's how they are choosing to implement throttling if you are downloading too fast.

I'd try setting a sleep time since that site doesn't have one in defaults:
Code:
[storiesonline.net]
slow_down_sleep_time:2
I think this is a case of using the wrong theme on the site.

The adapter is searching the author pages for the story link. It just goes increases the page number until either the story is found, or the page cannot be retrieved. And that means the story wasn't found on the authors page. I am running with the classic theme here and it worked.

Looking at the code in the adapter, it has a catch for HTTPError and handles error code 404. This is in the method "findStoryRow". That raises a "FailedToDownload" exception with a message about the theme. This worked at some point. Or at least I assume it did as I have no idea when I last tested it. Has there been changes to how this should work?
davidfor is offline   Reply With Quote
Old 03-02-2021, 09:04 AM   #5582
J3L
Junior Member
J3L began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2007
Location: Pittsburgh, PA
Device: GEB-1150, Sony PRS-505, 900, 950
Quote:
Originally Posted by davidfor View Post
I think this is a case of using the wrong theme on the site.
I still cannot download.
I never changed anything and everything is default. Where do I find the "theme" and how do I change it?
J3L is offline   Reply With Quote
Old 03-02-2021, 10:15 AM   #5583
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
A while back storiesonline.net (and their WLPC companion sites) changed their login system, changed everybody's theme/skin and broke their theme/skin setting around the same time. See #610

Since then, FFF changed to use the new login and they fixed the setting, although it was still changed for users, who need to go into their site account settings and change Listings Theme to 'Classic' for FFF to work.

However, it does look like I mistakenly removed the special case 404 handling that reported "Story not found in Author's list--Set Access Level to Full Access and change Listings Theme back to Classic" to the user. I'll add that check back in.
JimmXinu is offline   Reply With Quote
Old 03-02-2021, 10:21 AM   #5584
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

2021-03-02
- Put 'Change theme to Classic' back in adapter_storiesonlinenet
JimmXinu is offline   Reply With Quote
Old 03-02-2021, 01:27 PM   #5585
J3L
Junior Member
J3L began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2007
Location: Pittsburgh, PA
Device: GEB-1150, Sony PRS-505, 900, 950
Your latest test version (2021-03-02) did nothing for me, however changing SOL theme to 'Classic' did the trick.
Thank you, thank you, thank you!
J3L is offline   Reply With Quote
Old 03-02-2021, 01:48 PM   #5586
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 J3L View Post
Your latest test version (2021-03-02) did nothing for me, however changing SOL theme to 'Classic' did the trick.
Thank you, thank you, thank you!
Did the test version at least give you the "change Listings Theme back to Classic" error?
JimmXinu is offline   Reply With Quote
Old 03-02-2021, 03:31 PM   #5587
J3L
Junior Member
J3L began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2007
Location: Pittsburgh, PA
Device: GEB-1150, Sony PRS-505, 900, 950
Quote:
Originally Posted by JimmXinu View Post
Did the test version at least give you the "change Listings Theme back to Classic" error?
No error as such. Just download as usual

FFF log was;
Quote:
Add | Once Upon an Alien - MisguidedChild | Download epub completed, 21 chapters. | https://storiesonline.net/s/75558
Calibre log in debug mode
see: Calibre log1.txt

I tried on another computer. Downloaded fine.
Calibre 5.12.0; FFF v.3.29.0
same FFF log

Calibre log
see: Calibre log2.txt

I did not compare the two Calibre logs, but they appear to be different as in one case my email appears once and in log 2 three times

BTW personally I would prefer a portable standalone GUI FFF version. I use Calibre only for the FFF plug-in and the occasional epub-merge. 100 MB overhead seems excessive for that.
Attached Files
File Type: txt Calibre log1.txt (30.1 KB, 100 views)
File Type: txt Calibre log2.TXT (23.2 KB, 100 views)
J3L is offline   Reply With Quote
Old 03-02-2021, 05:12 PM   #5588
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,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I've been using Power Search to look for fanfics with wrong/messy metadata (e.g. "Fanfiction.Fandom") on the titlepages and then updating them in small batches.

question: Is there any way to see what changes will be made to the Calibre metadata before confirming update?

Also, is the "mark updated books" meant to clear existing marks?

Last edited by ownedbycats; 03-02-2021 at 05:22 PM.
ownedbycats is online now   Reply With Quote
Old 03-02-2021, 06:13 PM   #5589
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
question: Is there any way to see what changes will be made to the Calibre metadata before confirming update?
Nothing in FFF. Use a separate staging library maybe?

Quote:
Originally Posted by ownedbycats View Post
Also, is the "mark updated books" meant to clear existing marks?
That's the way Calibre implements them. You hand it a dict() of book IDs to db.set_marked_ids() and they are applied, clearing any prior marks.

I probably could retain the existing marks by looking them up and including them in the set, but each book can only have one mark value and FFF uses mark values ('fff_success', 'fff_failed' & 'fff_chapter_error' each with appended numbers to match original order) to indicate different end states.

I fear mixing FFF marks and Reading List marks, for example, would cause more confusion than help.

Marks are designed to be ephemeral and are reset by many operations. There are several more durable options already available such as tags, custom columns, & Reading Lists.
JimmXinu is offline   Reply With Quote
Old 03-02-2021, 06:22 PM   #5590
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,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Yeah the confusion would not be good. I can just use a @cleanup tag.
ownedbycats is online now   Reply With Quote
Old 03-02-2021, 08:25 PM   #5591
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,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
New question: Photobucket is very annoying and puts watermarks on images when hotlinked (example). However, if you copy and paste the image url into browser, the watermark goes away.

I've been manually swapping out the images in ebook-edit, but s there any way to work around this with FFF?

ownedbycats is online now   Reply With Quote
Old 03-02-2021, 09:59 PM   #5592
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
How often do you see this in stories? And with how many authors? Anybody else?

If it's a common thing, I think I may have a solution. But it's rather kludgey and will need to be optional. And with only one test case, I've no idea if it works in general.
JimmXinu is offline   Reply With Quote
Old 03-02-2021, 10:53 PM   #5593
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,975
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
It's not very common; I usually fix them right away so I'm not sure how many I have were affected by them and most of the few that I checked actually had the images go 404/410 from accounts being deleted.

Here is another test case with a working image though.

Last edited by ownedbycats; 03-03-2021 at 12:31 AM.
ownedbycats is online now   Reply With Quote
Old 03-03-2021, 02:06 AM   #5594
icecold
Enthusiast
icecold began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Mar 2020
Device: Android,
Is it possible to add when a chapter was last edited using custom output for SB/SV/QQ and/or Royalroad? I'm not sure if the metadata's there to do that like you can with when the threadmark was posted.

Also is it possible to add the author of the threadmark via custom output? It feels possible put I'm not sure. This question comes from omakes in quests usually not being the author of the quest itself.

Last edited by icecold; 03-03-2021 at 02:40 AM.
icecold is offline   Reply With Quote
Old 03-03-2021, 10:52 AM   #5595
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 icecold View Post
Is it possible to add when a chapter was last edited using custom output for SB/SV/QQ and/or Royalroad? I'm not sure if the metadata's there to do that like you can with when the threadmark was posted.

Also is it possible to add the author of the threadmark via custom output? It feels possible put I'm not sure. This question comes from omakes in quests usually not being the author of the quest itself.
Yes and no.

You can include date and kwords from threadmarks. We used to have author available too, but XenForo stopped including author in threadmarks.

From defaults.ini, remember to uncomment lines you want to use:
Code:
## base_xenforoforum stories with threadmarks have a few additional
## pieces of metadata available that most adapters don't. 'date';
## 'words'--word count as number only: "12104"; and kwords--the
## threadmark human-readable string for word count with parens:
## "(12.1k)" These can be used with custom output (see
## https://github.com/JimmXinu/FanFicFare/wiki/CustomOutput ) or with
## chapter_title_*_pattern settings.
## Examples for html & epub:
#[base_xenforoforum:html]
#tocpage_entry:
# <a href="#section${index04}">${chapter}</a> ${date} ${kwords}<br />
#[base_xenforoforum:epub]
#tocpage_entry:
# <a href="file${index04}.xhtml">${chapter}</a> ${date} ${kwords}<br /><br />

## The 'date' value for chapters mentioned above can be formated with
## datethreadmark_format.  Otherwise it will default to
## dateCreated_format
#datethreadmark_format:%%Y-%%m-%%d %%H:%%M

## The basic pattern used when not using add_chapter_numbers or
## mark_new_chapters
#chapter_title_def_pattern:${title} ${date}

## Pattern used with add_chapter_numbers, but not mark_new_chapters
#chapter_title_add_pattern:${number}. ${title} ${date}

## Pattern used with mark_new_chapters, but not add_chapter_numbers
## (new) is just text and can be changed.
#chapter_title_new_pattern:(new) ${title} ${date}

## Pattern used with add_chapter_numbers and mark_new_chapters
## (new) is just text and can be changed.
#chapter_title_addnew_pattern:${number}. (new) ${title} ${date}
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 07:34 PM.


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