View Single Post
Old 02-15-2025, 05:38 PM   #10354
ThreeLizards
Member
ThreeLizards began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2025
Device: Kindle Paperwhite 2024
Hi!

So I'm trying to edit the title page, cuz I just really like how it looks when you download an AZW3 file from AO3. (Which I included an image of. And it has the summary on a separate page.)

Could I possible have some help recreating that? I attached the code below. I found some of Culterya's stuff again and used that as a basis. I've been at it for a few hours so any help would be appreciated.

Spoiler:
# Add HTML to format the title page

titlepage_entries: rating,warnings,ao3categories,fandoms,ships,charac ters,freeformtags,language,description

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>
<div class="title">
<h1><a href="${storyUrl}">${title}</a> by ${authorHTML}</h1>
</div>

titlepage_entry:
<dt><b>${label}:</b></dt> <dd>${value}</dd>
</body>
</html>
Attached Thumbnails
Click image for larger version

Name:	what I want.png
Views:	133
Size:	87.9 KB
ID:	213706  
ThreeLizards is offline   Reply With Quote