View Single Post
Old 08-05-2012, 05:38 PM   #721
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.
 
Posts: 1,820
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
Here's a new feature I've implemented that I'd like feedback on: Update logging.

A bit like titlepage, the logpage records configured metadata, but each time an epub story is updated, it adds a new log entry with only the configured metadata that have changed.

Here's an example. The first time, it recorded all the metadata. The next time, it recorded only what was changed.

Quote:
Update Log

Packaged: 2012-08-03 22:27:39 Published: 2012-06-05 Updated: 2012-07-29 Chapters: 9 Words: 54,470 Status: In-Progress Title: Harry Crow Author: robst Category: Harry Potter Rating: T Summary: The Dursleys are excruciatingly normal. They were just plain ordinary people, trying to live their orderly lives. Why should they take what they consider an abnormal freak into their home? Harry raised by goblins fic.
===================(hr, really)
Packaged: 2012-08-05 09:52:52 Updated: 2012-08-05 Chapters: 10 Words: 61,182
Turning it on is just like titlepage or tocpage: add "include_logpage: true" to the [epub] section of your personal.ini. Use "logpage_entries" to control what your log records and in what order.

Code:
[epub]
## include a Update Log page before the story text.  If included, the
## log will be updated each time the epub is an all the metadata
## fields that have changed since the last update (typically
## dateUpdated,numChapters,numWords at a minimum) will be shown.
## Great for tracking when chapters came out and when the description,
## etc changed.
include_logpage: true

## items to include in the log page Empty metadata entries, or those
## that haven't changed since the last update, will *not* appear, even
## if in the list.  You can include extra text or HTML that will be
## included as-is in each log entry. Eg: logpage_entries: ...,<br />,
## summary,<br />,...
logpage_entries: dateCreated,datePublished,dateUpdated,numChapters,numWords,status,title,author,description,category,genre,rating,warnings
Right now, FFDL is putting this right after the title and TOC pages (if present) and does show it in the epub TOC.

FFDL adds new entries to the bottom of the log.

If the logpage is present in the epub, but include_logpage has been turned to false, on the next update, the logpage will be removed and the accumulated log lost even if it's turned back on later.

I think this is handy. When there's an update for an old story I often wonder when the last previous update was. Or some authors change the description a lot, etc.

Last edited by JimmXinu; 08-06-2012 at 11:40 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote