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-14-2024, 10:02 AM   #9466
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,344
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2024-04-14
- New Site: fanfictions.fr (#1061) French language site, thanks yvesmotteux
JimmXinu is offline   Reply With Quote
Old 04-15-2024, 06:48 AM   #9467
w4tchdoge
Member
w4tchdoge began at the beginning.
 
w4tchdoge's Avatar
 
Posts: 20
Karma: 10
Join Date: Jul 2023
Device: Calibre
Question Scribble Hub missing title_page.xhtml

Is anyone else having issues with epubs for stories from Scribble Hub not having a title_page.xhtml file in the epub? I've only just noticed this as I was experimenting with changing titlepage_* in my INI file but it seems like none of the recent SH stories I've downloaded via FFF have a title_page.xhtml file. I've also looked through my FFF downloads and the last time an SH story had a title_page.xhtml file was Aug 2023.

Now I'm not entirely sure whether I messed something up in my INI file or Scribble Hub changed something. I did try checking with these two stories in a Calibre library where I hadn't touched the INI file in a long time and they were still lacking a title_page.xhtml file but I'm also including the sections of my current INI file that affect Scribble Hub as well as attaching my safe-d INI file in case they're needed for debugging purposes.

[defaults] and [epub] sections (with comments removed)
Spoiler:
Code:
[defaults]
is_adult:true

no_image_processing:true
remove_transparency: false

dateCreated_format:%%Y-%%m-%%d %%H:%%M:%%S
datePublished_format:%%Y-%%m-%%d
dateUpdated_format:%%Y-%%m-%%d

extratags:

browser_cache_path:C:\Users\User\AppData\Local\Google\Chrome\User Data\Default\Cache\Cache_Data
browser_cache_age_limit:0.2

## ------------------------------------------------
## ------------------------------------------------


[epub]
include_images:true

keep_summary_html:true

make_firstimage_cover:false

add_to_extra_valid_entries:,GC_status_wipe
include_in_GC_status_wipe:"No"

titlepage_start:<?xml version="1.0" encoding="UTF-8"?>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>${title} by ${author}</title>
 <link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
 </head>
 <body class="fff_titlepage">
 <div class="title">
 <h2><a href="${storyUrl}">${title}</a> by ${authorHTML}</h2>
 </div>
 <hr id="underTitle-horRule">

titlepage_entry:
 <b>${label}:</b> ${value}<br />

titlepage_wide_entry:
 <b>${label}:</b> ${value}<br />

titlepage_no_title_entry:

titlepage_end:
 </body>
 </html>

add_to_output_css:
 .fff_titlepage hr { border-top: 1px; border-style: solid none none none; }
 .fff_titlepage [id="underTitle-horRule"] { border-top: medium; border-style: solid none none none; }


[www.scribblehub.com] section
Spoiler:
Code:
[www.scribblehub.com]
username:XXXXXXXX
password:XXXXXXXX

use_cloudscraper:true
#use_flaresolverr_proxy:directimages
#use_flaresolverr_proxy:true

user_agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
slow_down_sleep_time:1

#tweak_fg_sleep:true
#min_fg_sleep:2.0
#max_fg_sleep:4.0
#max_fg_sleep_at_downloads:2

include_titlepage:false

category_label:Tags
genre_label:Genre

## Add formatting (a border and some padding) for tables in the story text
add_to_output_css:
 td { padding: 0.5em }
 table { border: 1px solid; border-collapse: collapse; }

add_to_extratags:,From SH

add_to_extra_valid_entries:,prefix_tags,prefix_genres,prefix_fandoms,prefix_status,prefix_warnings

include_in_prefix_tags:category
include_in_prefix_genres:genre
include_in_prefix_fandoms:fandoms
include_in_prefix_status:status
include_in_prefix_warnings:warnings

add_to_replace_metadata:
 prefix_tags=>^(.*)=>[SH] [t] \1
 prefix_genres=>^(.*)=>[SH] [g] \1
 prefix_fandoms=>^(.*)=>[SH] [f] \1
 prefix_status=>^(.*)=>[SH] [s] \1
 prefix_warnings=>^(.*)=>[SH] [w] \1

include_subject_tags:prefix_tags,prefix_genres,prefix_fandoms,prefix_status,prefix_warnings,extratags

# Cover related settings for Scribble Hub
cover_exclusion_regexp:(https://www.scribblehub.com/)?(/img/)?noimagefound.jpg
generate_cover_settings:
 ${cover_image} => ((first)|(default)|(^$)) => ScribbleHub

add_to_custom_columns_settings:
 dateUpdated=>#fff_dateupdated
 numChapters=>#fff_chapter_count
 numWords=>#fff_words
 status=>#fff_status
# ↓ Always set "#cgenst" to "No" so that when works that did not previously have a author specified cover get one, they will no longer be indicated as having a generated cover
 GC_status_wipe=>#cgenst


Any help/insight would be much appreciated.
Attached Files
File Type: txt FFF-master-personal-safe.fffini.txt (63.9 KB, 25 views)
w4tchdoge is offline   Reply With Quote
Old 04-15-2024, 10:17 AM   #9468
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,344
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by w4tchdoge View Post
Is anyone else having issues with epubs for stories from Scribble Hub not having a title_page.xhtml file in the epub?
You have include_titlepage:false under [www.scribblehub.com].

So naturally you're not getting a title page.
JimmXinu is offline   Reply With Quote
Old 04-15-2024, 11:07 AM   #9469
w4tchdoge
Member
w4tchdoge began at the beginning.
 
w4tchdoge's Avatar
 
Posts: 20
Karma: 10
Join Date: Jul 2023
Device: Calibre
...Wow, how the heck did I miss that? Now I feel like a moron
Thanks for pointing out my dumb mistake
w4tchdoge is offline   Reply With Quote
Old 04-15-2024, 11:15 AM   #9470
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: 8,667
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Did you enable it for a specific story and then forget about it? You can use a [storyUrl] section for that.
ownedbycats is offline   Reply With Quote
Old 04-18-2024, 04:36 AM   #9471
sorin61
Member
sorin61 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2012
Device: Kobo touch
OK.... So literotica made a massive change in their site and FFF can't find the stories anymore (You can't even add authors to favorites, but that's another thing).
Hopefully you can figure what changed and what has to be changed to functionality... Thanks!
sorin61 is offline   Reply With Quote
Old 04-18-2024, 04:39 AM   #9472
sorin61
Member
sorin61 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2012
Device: Kobo touch
Literotica issues

OK... so literotica made some serious changes on their site and FFF can't find the stories anymore.
Hopefully you can find out what changed and what has to be changed to regain functionality.
Thank you!
sorin61 is offline   Reply With Quote
Old 04-18-2024, 10:01 AM   #9473
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,344
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by sorin61 View Post
OK... so literotica made some serious changes on their site and FFF can't find the stories anymore.
Hopefully you can find out what changed and what has to be changed to regain functionality.
Thank you!
See issue #1058.
JimmXinu is offline   Reply With Quote
Old 04-18-2024, 03:07 PM   #9474
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: 8,667
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Probably not feasible (and a bit niche), but thought it worth asking anyways: A menu option that automatically inserts [storyUrl] sections for the selected stories to the end of personal.ini.

The one problem I can see with it is accidentally ending up with conflicts from duplicate sections.
ownedbycats is offline   Reply With Quote
Old 04-18-2024, 05:03 PM   #9475
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,344
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by ownedbycats View Post
Probably not feasible (and a bit niche), but thought it worth asking anyways: A menu option that automatically inserts [storyUrl] sections for the selected stories to the end of personal.ini.

The one problem I can see with it is accidentally ending up with conflicts from duplicate sections.
Yeah, no, not likely.

What on earth are you doing that you want that many story sections??
JimmXinu is offline   Reply With Quote
Old 04-18-2024, 06:10 PM   #9476
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: 8,667
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
A lot of add_category_when_multi_category:false mostly.
ownedbycats is offline   Reply With Quote
Old 04-19-2024, 10:36 PM   #9477
cantper
Junior Member
cantper began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2024
Device: none
For stories on [base_xenforoforum] sites, is there any way to apply the "skip_threadmarks_categories:" only for select stories?

Like skip downloading the categories for a certain story, but download those categories for every other story in general.
cantper is offline   Reply With Quote
Old 04-20-2024, 08:28 AM   #9478
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: 8,667
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by cantper View Post
For stories on [base_xenforoforum] sites, is there any way to apply the "skip_threadmarks_categories:" only for select stories?
[storyUrl] sections.
ownedbycats is offline   Reply With Quote
Old 04-20-2024, 05:28 PM   #9479
Wolgan
Enthusiast
Wolgan began at the beginning.
 
Wolgan's Avatar
 
Posts: 26
Karma: 18
Join Date: Jun 2017
Device: Kindle Fire
[storiesonline.net] Invalid URLs picked up from RSS/Email notification

This isn't a bug or issue with FFF (I don't think), more with my particular email notification setup. For context, storiesonline.net publishes rss feeds with updates to series or stories you've bookmarked. I use feedrabbit.com to automatically route those rss updates to my email, then use the Get Story URLs from Email option in FFF to update stories.

My issues that it's recently started grabbing an extra url from the rss text (actual example: https://storiesonline.net/library/st...o.php?id=25311, which is a valid site url) that it interprets into "https://storiesonline.net/library/25311" (not a valid site url) somewhere in the process (may be just an overly greedy regex somewhere).

I first looked at just filtering any urls that start with "https://storiesonline.net/library/" but as best I can tell, the Reject URL list doesn't support wildcards.

Wondering if anyone could suggest another workaround to skip those urls? It's not a huge deal, the update just fails on those URLs, but since that site is really sensitive to download timing, it nearly doubles the amount of time FFF takes to do updates for their stories, which is already considerably long.

For reference, below is the raw body of the email I received for that example story, minus headers and with identifying info replaced with "redacted".

Spoiler:
Code:
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">
</head>

<table cellspacing=3D"0" cellpadding=3D"8" border=3D"0" style=3D"width:100%=
; font-family:Arial,Sans-Serif; border:1px solid #ccc">
  <tr>
    <td style=3D"background-color:#f6f6f6; color:#888; border-bottom:1px so=
lid #ccc; font-family:Arial,Sans-serif; font-size:11px">
      <h3 style=3D"margin:0; font-family:Arial,Sans-serif; font-size:16px; =
font-weight:bold; color:#222">
        <a href=3D"https://storiesonline.net/library/my.php?list=3Dser">SOL=
: My Active Serials</a>
      </h3>
      <div style=3D"padding-top:3px">SOL My Active Serials: Updates to seri=
als that you have in your library on Storiesonline</div>
    </td>
  </tr>
  <tr>
    <td>
      <div style=3D"padding:2px">
        <div style=3D"padding-bottom:6px">
          <h3 style=3D"padding:0; margin:0; font-family:Arial,Sans-serif; f=
ont-size:16px; font-weight:bold; color:#222">
            <a href=3D"https://storiesonline.net/s/25311/rosencrantz-and">R=
osencrantz and Guildenstern by lordshipmayhem</a>
          </h3>
          <div style=3D"padding-top:2px; color:#888; font-family:Arial,Sans=
-serif; font-size:11px">
            by lordshipmayhem on
            Friday 19 April 2024 08:36 PM UTC-07
            | Tags:
            science-fiction
          </div>
        </div>

<div>
<p>Two old friends join the Armed Forces of the Confederacy. Meanwhile, Wil=
liam Whitefeather has one final training course to teach...</p><p style=3D"=
background-color: yellow">Added Chapters 31-33 (final)</p><p>[<a href=3D"ht=
tps://storiesonline.net/library/storyInfo.php?id=3D25311">More Info</a>]</p=
>
</div>

        <div style=3D"padding-top: 3px;">
          <span>Tags:</span>
          <ul style=3D"display: inline; list-style: none; margin: 0; paddin=
g: 0;">
            <li style=3D"display: inline-block; margin: 0 4px 2px 0; line-h=
eight: 24px; background-color: #f5f5f5; color: #999; padding: 0 8px; border=
-radius: 2px;">science-fiction</li>
          </ul>
        </div>
      </div>
    </td>
  </tr>
  <tr>
    <td style=3D"background-color:#f6f6f6; color:#888; border-top:1px solid=
 #ccc; font-family:Arial,Sans-serif; font-size:11px">
      You received this email because you set up a subscription at <a href=
=3D"https://feedrabbit.com/">Feedrabbit</a>.
      This email was sent to you at <a href=3D"mailto:redacted@gmail.com=
" target=3D"_blank" rel=3D"noopener">redacted@gmail.com</a>.
      <a href=3D"https://feedrabbit.com/subscriptions/redacted" target=3D"_bla=
nk" rel=3D"noopener">Unsubscribe or change your subscription</a>.
    </td>
  </tr>
</table>

</html><img width=3D"1px" height=3D"1px" alt=3D"" src=3D"http://email.feedr=
abbit.com/o/eJwUyVEKwyAMANDT1M8SbWKTDw9jarIJdQVXGLv92PdrxTQ3D1biHjdiIonhWWj=
DQ4U4RQdoBi5CbGbRqnvCHHpJkBAwAWwkBOuRhWtWV1PeGfOC4GZtVtV-r8c1wiyjzvtrr_d5fR=
aEx6j9_MsvAAD__2QjJv4">

Last edited by Wolgan; 04-20-2024 at 05:30 PM. Reason: clarity
Wolgan is offline   Reply With Quote
Old 04-20-2024, 07:27 PM   #9480
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,344
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
New Test Version Posted

2024-04-20
- adapter_storiesonlinenet: Fix for /library/ -> /s/

Quote:
Originally Posted by Wolgan View Post
My issues that it's recently started grabbing an extra url from the rss text (actual example: https://storiesonline.net/library/storyInfo.php?id=25311, which is a valid site url) that it interprets into "https://storiesonline.net/library/25311" (not a valid site url) somewhere in the process (may be just an overly greedy regex somewhere).
So this is really about /library/ vs /s/ in the story URL.

The storyInfo.php URL is actually a different URL that only shows info about the story. When /n/ (vs /s/) was added I was a little lazy and broke storyInfo.php URLs.
JimmXinu is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 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 08:27 AM.


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