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-09-2024, 01:08 AM   #9451
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: 7,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ChaoticAdventure View Post
(I'm downloading from Ao3 if that makes a difference.)
Actually, in this case, it does make a difference. For AO3, FFF doesn't use extracategories because category is replaced with site specific fandoms:
Code:
## AO3 uses the word 'category' differently than most sites.  The
## adapter used to be hardcoded to include the site specific metadata
## fandom in the standard metadata field category.  By making it
## configurable, users can change it.
include_in_category:fandoms
Since extracategories is generally only used for specific fandom/ship/etc sites and AO3 is a general site, it's never come up before.

This is obscure enough that since you've already found another solution, I'm not going to worry about it.
JimmXinu is offline   Reply With Quote
Old 04-09-2024, 01:01 PM   #9452
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: 7,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2024-04-09
- basexf: Add XF categorized tags into: category, genre, characters, contenttags and formattags
- basexf: Fix for prefix tags, put in prefixtags included in genre

SB / SV have added categories for forum(thread) tags.

FFF already collected them all together in forumtags--this continues so nobody's config breaks.

But now, the categorized tags are collected into the appropriate FFF metadata entries. I don't see a one-to-one mapping for any existing FFF standard metadata entry for XF's 'Content' or 'Format' categories, so they are each their own thing.

I also found that 'prefix' tags were broken, so I put those in their own prefixtags entry also and include them in genre.

A couple more details:

capitalize_forumtags applies to all the forum(thread) tags:
Code:
## XenForo tags are all lowercase everywhere that I've seen.  This
## makes the first letter of each word uppercase.  Applied before
## replace_metadata.  Also applies to category, genre, characters,
## contenttags and formattags collected from site tags.
capitalize_forumtags:true
genre still currently gets all forumtags and category still gets tagsfromtitle,parentforums
Code:
## Add forumtags to standard entry genre and tagsfromtitle to
## category.  Can be changed in personal.ini if desired.
include_in_genre:genre,forumtags,prefixtags
include_in_category:category,tagsfromtitle,parentforums
If you disagree or have other ideas about how to handle this, now is the time to discuss--before it gets released.
JimmXinu is offline   Reply With Quote
Advert
Old 04-09-2024, 06:10 PM   #9453
Amalthia
Wizard
Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.
 
Amalthia's Avatar
 
Posts: 1,204
Karma: 1000000
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Hi, this is a mostly cosmetic question.

Yesterday, when I selected "Download from URL's" in FFF the URL was black with no underline.

Today, the URLs are blue with and underline. Is this a new change with Calibre or something else?

I don't recall making any changes in Calibre that would change the appearance of the URLs so now I'm curious as to what happened. I'm not sure if changes to browsers would impact the color of the urls?

Thanks,
Amalthia
Amalthia is offline   Reply With Quote
Old 04-09-2024, 06:35 PM   #9454
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: 7,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
You're talking abou the appearance of URLs that you put in the edit box of the "Download from URLs"? After you've put them in?

I'm not aware of anything changing about that. I suspect it would depend on OS and browser, plus how you put the URLs in.

OTOH, I don't think it matters. Only the text itself is used. Unless it somehow isn't working correct now when you go to do the downloads.
JimmXinu is offline   Reply With Quote
Old 04-09-2024, 06:40 PM   #9455
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: 11,437
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Could it have anything to do with the plain text changes for personal.ini? Completely different dialog, though.
ownedbycats is offline   Reply With Quote
Advert
Old 04-09-2024, 06:49 PM   #9456
Amalthia
Wizard
Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.
 
Amalthia's Avatar
 
Posts: 1,204
Karma: 1000000
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
You're talking abou the appearance of URLs that you put in the edit box of the "Download from URLs"? After you've put them in?
Yes, this is what I'm talking about. The downloads work and everything but I was curious as to why the color and underline changed from one day to the next. It's a cosmetic change as far as I can tell.
Amalthia is offline   Reply With Quote
Old 04-09-2024, 08:18 PM   #9457
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: 7,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Could it have anything to do with the plain text changes for personal.ini? Completely different dialog, though.
Different code, that change didn't touch the URL edit box.

Quote:
Originally Posted by Amalthia View Post
Yes, this is what I'm talking about. The downloads work and everything but I was curious as to why the color and underline changed from one day to the next. It's a cosmetic change as far as I can tell.
If it's not affecting functionality, I'm inclined to not worry about it.

I'm not seeing it happen, so that severely limits my ability to figure it out.

If you really want to know what's going on, I would need to know your OS, browser, Calibre version, site & page your copying from, and exact steps taken (ie copy/paste or drop/drop).
JimmXinu is offline   Reply With Quote
Old 04-10-2024, 12:30 AM   #9458
Amalthia
Wizard
Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.
 
Amalthia's Avatar
 
Posts: 1,204
Karma: 1000000
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
Different code, that change didn't touch the URL edit box.



If it's not affecting functionality, I'm inclined to not worry about it.

I'm not seeing it happen, so that severely limits my ability to figure it out.

If you really want to know what's going on, I would need to know your OS, browser, Calibre version, site & page your copying from, and exact steps taken (ie copy/paste or drop/drop).
I think in this case it's not worth the time to dig deeper.

I probably changed something in my browser that's affecting how the urls look when I copy and paste.

thanks for your help!
Amalthia
Amalthia is offline   Reply With Quote
Old 04-10-2024, 11:40 AM   #9459
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,390
Karma: 62500066
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Is this a case of links being visited vs not coloring (default is reddish when visited and blue for not)
I know a lot of books override those to Black
theducks is offline   Reply With Quote
Old 04-13-2024, 07:48 AM   #9460
kamille3
Connoisseur
kamille3 began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Jul 2021
Device: None
Literotica seems to be have stopped working since the website rolled out a new version of the author page. Fix appreciated.
kamille3 is offline   Reply With Quote
Old 04-13-2024, 07:53 AM   #9461
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: 11,437
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
Different code, that change didn't touch the URL edit box.
Hm, it makes me wonder - maybe the plain-text fix could also be implemented to the Download dialog?
ownedbycats is offline   Reply With Quote
Old 04-13-2024, 11:15 AM   #9462
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: 7,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by kamille3 View Post
Literotica seems to be have stopped working since the website rolled out a new version of the author page. Fix appreciated.
See issue #1058.

Quote:
Originally Posted by ownedbycats View Post
Hm, it makes me wonder - maybe the plain-text fix could also be implemented to the Download dialog?
Possibly.

I have just found a way to get formatted/colored URL text to appear in the URL dialog:

Drag/drop or copy/paste some text from browser containing URLs that aren't story URLs.
JimmXinu is offline   Reply With Quote
Old 04-14-2024, 11:02 AM   #9463
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: 7,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
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, 07:48 AM   #9464
w4tchdoge
Enthusiast
w4tchdoge began at the beginning.
 
w4tchdoge's Avatar
 
Posts: 30
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, 86 views)
w4tchdoge is offline   Reply With Quote
Old 04-15-2024, 11:17 AM   #9465
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: 7,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
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
Reply

Tags
fanfiction


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 527 08-15-2025 02:36 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 06:42 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 01:48 PM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 07:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 05:37 AM.


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