Added a new ''modified:' metadata tag to be able to specify the

publication time and date and the last modified time and date
independently.

This makes it possible to access the last updated date with {{ article.locale_modified }} in templates.
Additionally, an already delivered feed entry can be corrected by changing the modified date and time, as it is used for atom:update
/ rss pubDate field now.
This commit is contained in:
Florian Jacob 2013-11-05 19:38:58 +01:00
commit 4b2fcb09a4
73 changed files with 381 additions and 152 deletions

View file

@ -34,7 +34,11 @@
<h1 class="entry-title"><a href="./filename_metadata-example.html">FILENAME_METADATA example</a></h1>
<footer class="post-info">
<abbr class="published" title="2012-11-30T00:00:00">
Fri 30 November 2012
Published: Fri 30 November 2012
</abbr>
<br />
<abbr class="modified" title="2012-03-02T14:01:01">
Updated: Fri 02 March 2012
</abbr>
<address class="vcard author">
@ -59,7 +63,11 @@
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2012-02-29T00:00:00">
Wed 29 February 2012
Published: Wed 29 February 2012
</abbr>
<br />
<abbr class="modified" title="2012-03-02T14:01:01">
Updated: Fri 02 March 2012
</abbr>
<address class="vcard author">
@ -84,7 +92,11 @@
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-04-20T00:00:00">
Wed 20 April 2011
Published: Wed 20 April 2011
</abbr>
<br />
<abbr class="modified" title="2012-03-02T14:01:01">
Updated: Fri 02 March 2012
</abbr>
<address class="vcard author">
@ -108,7 +120,11 @@
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="2011-02-17T00:00:00">
Thu 17 February 2011
Published: Thu 17 February 2011
</abbr>
<br />
<abbr class="modified" title="2012-03-02T14:01:01">
Updated: Fri 02 March 2012
</abbr>
<address class="vcard author">