View Single Post
Old 11-01-2015, 10:48 PM   #105
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by PeterT View Post
Probably by just patching the page-template.xpgt string in nickel or one of the libraries one could ignore all entries in the page-template file.
page-template.xpgt is a common name for it, but like the CSS stylesheet it can have any name.

It is referenced from the html in the same way as a CSS stylesheet:
Code:
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<link rel="stylesheet" type="application/vnd.adobe-page-template+xml" href="page-template.xpgt"/>
There is already a patch that blocks the book's stylesheet, but it blocks both the CSS and XPGT stylesheets, so isn't much use to most people.
GeoffR is offline   Reply With Quote