import metadata from feeds
When annex.genmetadata is set, metadata from the feed is added to files that are imported from it. Reused the same feedtitle and itemtitle, feedauthor, itemauthor, etc names that are used in --template. Also added title and author, which are the item title/author if available, falling back to the feed title/author. These are more likely to be common metadata fields. (There is a small bit of dupication here, but once git gets around to packing the object, it will compress it away.) The itempubdate field is not included in the metadata as a string; instead it is used to generate year and month fields, same as is done when adding files with annex.genmetadata set. This commit was sponsored by Amitai Schlair, who cooincidentially is responsible for ikiwiki generating nice feed metadata!
This commit is contained in:
parent
faf50a0a2f
commit
d0c1a22e7c
7 changed files with 106 additions and 61 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -11,6 +11,8 @@ git-annex (5.20140614) UNRELEASED; urgency=medium
|
|||
queue flushing than necessary.
|
||||
* Run standalone install process when the assistant is started
|
||||
(was only being run when the webapp was opened).
|
||||
* importfeed: When annex.genmetadata is set, metadata from the feed
|
||||
is added to files that are imported from it.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Mon, 16 Jun 2014 11:28:42 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue