View Single Post
Old 09-27-2024, 09:52 AM   #9982
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
Quote:
Originally Posted by JimmXinu View Post
I'm not seeing that happen.

That error is coming when it's processing the chapter title page for TOC. What's your personal.ini look like?
Code:
[defaults]
is_adult:true
collect_series: true

authorUrl_label:Author link
category_label:Fandom
dateCreated_label:Created
site_label:Site
storyUrl_label:Story link


#dateRange_label:Dates
#include_in_dateRange:datePublished,dateUpdated

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


add_to_output_css:
 body {
  text-align: left;
 }
 body.fff_titlepage {
  font-size: 2.5vmax;
 }
 hr {
  display: block;
  border: 0;
  border-top: 1px solid;
  padding: 0;
 }
## https://stackoverflow.com/a/50191135
 .flex-parent {
  display: flex;
  align-items: center;
 }
 .flex-child-edge {
  flex-grow: 2;
  border-bottom: 1px solid;
 }
 .flex-child-text {
  flex-basis: auto;
  flex-grow: 0;
  text-align: center;
  margin: 0 5px 0 5px;
 }
 .flex-child-text.stats span { font-weight: bold; }
 .flex-child-text.category { font-weight: bold; }
 .fff_titlepage .title h1 {
  font-size: 3vmax;
  margin: 0;
 }
 .fff_titlepage .title h1 { font-weight: normal; }
 .fff_titlepage .title h1 a { font-weight: bold; } 
 .fff_titlepage .title a,
 .fff_titlepage .tags a,
 .fff_titlepage .tag-summary-content a {
   color: #1C70C8;
 }
 .fff_titlepage .tag-summary-content a {
  font-style: italic;
 }
 .fff_titlepage .tag-summary-content p {
  margin-top: 0;
 }
 .fff_titlepage .tags {
  display: block;
  padding: 0;
 }
 dl .inline dt:after { content:'\00a0'; }
 dl .inline dt { float: left; }
 .fff_titlepage dd { margin-left: 0.75em; }
 .fff_titlepage dl, .fff_titlepage dt { margin: 0; }


titlepage_start:<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <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"/>
 <meta name="calibre-html-render-data"/>
 </head>
 <body class="fff_titlepage">
 <div class="title">
 <h1><a href="${storyUrl}">${title}</a> by ${authorHTML}</h1>
 </div>
  <div class="flex-child-edge"></div>
  <div class="flex-child-text category">${category} ◈ ${status}</div>
  <div class="flex-child-edge"></div>
 <div class="tag-summary-content">${description}</div>
  <div class="flex-child-edge"></div>
  <div class="flex-child-text stats"> ${numWords} ◈ ${chapterslashtotal}</div>
  <div class="flex-child-edge"></div>
 <dl class="tags">

titlepage_entries:<div class="inline">,seriesHTML,<br />,rating,characters,ships,<br />,datePublished,dateUpdated,dateCreated,</div>


## ${id}, ${label}, ${value}
titlepage_entry:
 <dt><b>${label}:</b></dt> <dd>${value}</dd>

## ${id}, ${label}, ${value}
## Used with entries listed in wide_titlepage_entries, typically description, storyUrl, authorUrl
titlepage_wide_entry:

## When using tables, make these span both columns.
wide_titlepage_entries:

## ${id}, ${value}
## For example, if you've set description_label:
## (that is, nothing)
titlepage_no_title_entry:${value}<br />

## metadata
titlepage_end:
 </dl>
  <div class="flex-child-edge"></div>
  <div class="flex-child-text"> ${language} ◈ ${siteabbrev}</div>
  <div class="flex-child-edge"></div>
 </body>
 </html>


include_subject_tags: extratags, genre

keep_summary_html:true

sort_ships:true

extratags:

replace_metadata:
 status=>Completed=>Complete
 freeformtags,characters,ships=>"|’|”|“=>'
 freeformtags,characters,ships=>(?i)Other .* to be Added|.*to be added.*=>
 freeformtags,characters,ships=>(?i).*background.*=>


## Categories
 category=> \(?(- All Media Types|- Fandom|Movies?|Movie [0-9]+|Comics|TV [0-9]+|TV|Video Games?|\d\d\d\d)\)?$=>
 category=>Trilogy=>
 category=> - J. K. Rowling| - C. S. Pacat| - Casey McQuiston=>
 category=>.*Shadowhunter.*|.*Mortal Instrument.*=>Shadowhunters
 category=>.*Star Wars.*=>Star Wars
 category=>No Fandom=>Original Work
 category,ships=> - Fandom=>
 category=> - Neil Gaiman &amp; Terry Pratchett=>
 category=>^A Song of Ice and Fire.*=>Game of Thrones
 category=>^Avatar.*=>Avatar
 category=> Cinematic Universe=>
 category=>The Avengers.*=>Marvel
 category=>.*The Witcher=>Wiedźmin | The Witcher

## *************************************************************************************************************************************************************************************
## *************************************************************************************************************************************************************************************
## *************************************************************************************************************************************************************************************
## *************************************************************************************************************************************************************************************
## Put tags here




## *************************************************************************************************************************************************************************************
## *************************************************************************************************************************************************************************************
## *************************************************************************************************************************************************************************************
## *************************************************************************************************************************************************************************************
## Put Characters here





browser_cache_path:C:\Users\cleme\AppData\Local\Google\Chrome\User Data\Default\Cache\Cache_Data
browser_cache_age_limit:-1

strip_chapter_numbers:true
add_chapter_numbers:true
chapter_title_strip_pattern:^([0-9]+[\.: -]+)?(Chapter *[0-9]+[\.:, -]*)?
chapter_title_add_pattern:Chapter ${number}${title:|: |}
chapter_title_addnew_pattern:Chapter ${number}${title:|: |} | New <3
mark_new_chapters:true

anthology_title_pattern:${title}

[epub]

replace_hr: true

include_logpage: false

cover_min_size: 170,230

image_max_size: 2000, 2000

force_img_self_referer_regexp:gelbooru.com|photobucket.com



[fanfiction.net]
slow_down_sleep_time:6

use_browser_cache:true
use_browser_cache_only:true
open_pages_in_browser:true

add_to_include_subject_tags:,category,rating
skip_author_cover:false
## Extra metadata that this adapter knows about.  See [archiveofourown.org]
## for examples of how to use them.
extra_valid_entries:reviews,favs,follows

titlepage_entries: seriesHTML,description,<br />,category,genre,characters,ships,rating,<br />,favs,reviews,numChapters,numWords,language,<br />,status,datePublished,dateUpdated,dateCreated,siteabbrev,storyUrl

add_to_custom_columns_settings:
 favs=>#popularity
 reviews=>#reviews

## ffnet uses 'Pairings', not 'Relationship', stating they don't have
## to be romantic pairings.
ships_label:Relationship



[archiveofourown.org]
use_basic_cache:true
username:XXXXXXXX
password:XXXXXXXX
add_to_include_subject_tags:,warnings
use_view_full_work:true
use_workskin:true
exclude_notes:inspiredlinks
remove_authorfootnotes_on_update:true
use_archived_author:true

datechapter_format:%%d/%%m/%%y
chapter_title_add_pattern:Chapter ${number}${title:|: |} ◈ ${date}
chapter_title_addnew_pattern:Chapter ${number}${title:|: |} ◈ ${date} | New <3

include_in_description:description,freeformtags.NOREPL

keep_in_order_description:true
keep_in_order_freeformtags:true

join_string_description:\s|\s


ao3categories_label:Sexual Orientation
chapterslashtotal_label:Chapters
titlepage_entries:series00HTML,series01HTML,series02HTML,series03HTML,description,<br />,category,characters,ships,rating,<br />,bookmarked,bookmarks,comments,kudos,chapterslashtotal,numWords,language,<br />,status,datePublished,dateUpdated,dateCreated,siteabbrev,storyUrl

add_to_replace_metadata:
 authorUrl=>(/users/orphan_account)/pseuds/.*$=>\1

add_to_custom_columns_settings:
 bookmarks=>#popularity,r_anthmax
 comments=>#reviews
#Put tags in the test column
# genre,warnings=>#test_tag_column,r

[https://archiveofourown.org/works/33085891/chapters/148727137:epub]
no_image_processing: true

[www.starslibrary.net]
username:XXXXXXXX
password:XXXXXXXX
collect_series: false

[www.twilighted.net]
username:XXXXXXXX
password:XXXXXXXX
## default is false
collect_series: true
Her it is.
I've removed a big part of my 'replace_metadata' because it's very long and doesn't seems to be the problem here.
Clem2605 is offline   Reply With Quote