Quote:
Originally Posted by dennocoil
After much trial and error, I got the concept of how it's supposed to work and it works now. Just to get some clarification, what does this have to do in relation to everything else?
Code:
extra_valid_entries:likes
likes_label:Likes
|
What I call "standard" metadata entries are hard coded and common to most adapters.
Standard list entries Standard scalar entries
Many site adapters have what I call "site specific" metadata entries that they collect. The system is informed about these using
extra_valid_entries so it knows to add them to the list (they are added as 'list' entries rather than scalar). Only valid entries can be included in title pages, used in replace_metadata, added to extra_subject_tags, etc.
An individual user can also add their own for even more sophisticated processing.
Any valid metadata entry, either standard or 'extra' can be given a label with
<entryname>_label that will be used in the titlepage and logpage. If
<entryname>_label is not present, Python's
.title() function will be applied to the entry name. See
code.