View Single Post
Old 12-17-2023, 02:05 PM   #99
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2018
Device: iPad mini
So far words_added hasn't worked for me. I'm stuck on Calibre 6.26, because my MacOS can't be updated, but my plug-in is up to dare. I have my log_page customization under [epub]. Should I have that part under AO3?

Here is the relevent part of my personal.ini:
Spoiler:

[epub]
]include_logpage: smart
logpage_at_end: true


logpage_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>Update Log</title>
<link href="stylesheet.css" type="text/css" charset="UTF-8" rel="stylesheet"/>
</head>
<html>
<body class="fff_logpage">
<h3>Update Log</h3>

# metadata
logpage_update_start:<p class="log_entry">
# ${id}, ${label}, ${value}
# Must contain <span id="${id}">${value}</span> for
# log updates to work correctly.
logpage_entry:<br/><b>${label}:</b> <span id="${id}">${value}</span>

# metadata
logpage_update_end:</p>
logpage_entries:dateUpdated, words_added, numWords, datePublished,
words_added_label:Words Added

# metadata - only used when creating a new logpage from scratch
# Must contain </body> for log updates to work correctly.
logpage_end:
<a href="${storyUrl}">${title}</a>
</body>
</html>


chicleeblair is offline   Reply With Quote