View Single Post
Old 12-14-2015, 10:59 AM   #814
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: 6,328
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by MerlinMama View Post
Is there a way to only update the Title Page? Or conversely, NOT update the Title Page?

It's not a big deal, just looking into if something like that already exists. Let me know if you need examples why ~ I started to include examples, but it was looking like a novel...
Kinda-sorta? It depends on what you mean by 'only'. The rest of the epub? And/or the calibre metadata?

The title page is updated any time the epub is updated, either with 'Update EPUB if New Chapters' or 'Update EPUB Always'. However, if there aren't any new chapters, 'Update EPUB Always' will update the title page. If you uncheck 'Update Calibre Metadata?' then it's effectively updating title page only.

If here are new chapters and you don't want them, you could fake it by setting title_chapter_range_pattern:${title} and then doing 'Update EPUB Always' using the URL with an explicit chapter range. Like: http://site.com/story/1234[-14]

You can update Calibre Metadata without touching the title page using the 'Update Calibre Metadata from Web Site' and 'Update Calibre Metadata from Saved Metadata Column' options. But that won't update the epub chapters.

If you set include_titlepage:false and update an epub the title page will be removed. The only way I can think of keeping title page but not updating it while updating chapters is to manually rename OEBPS/title_page.xhtml inside the epub before doing an update with include_titlepage:false.

That's the best I can tell you without knowing what you're trying to accomplish in more detail.
JimmXinu is offline   Reply With Quote