# HG changeset patch # User Dirkjan Ochtman # Date 1242377212 -7200 # Node ID 5ccca71775e1a195280e149c7257e4f333977ee0 # Parent cebdfdcc3e42986b0c1ab77ab85e5fbd7ec2634e atom/rss: use newer template syntax everywhere diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/atom/changelog.tmpl --- a/templates/atom/changelog.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/atom/changelog.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,10 +1,10 @@ -#header# +{header} {urlbase}{url} - #repo|escape# Changelog - #latestentry%feedupdated# + {repo|escape} Changelog + {latestentry%feedupdated} -#entries%changelogentry# +{entries%changelogentry} diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/atom/changelogentry.tmpl --- a/templates/atom/changelogentry.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/atom/changelogentry.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,16 +1,16 @@ - #desc|strip|firstline|strip|escape|nonempty# + {desc|strip|firstline|strip|escape|nonempty} {urlbase}{url}#changeset-{node} - #author|person|escape# - #author|email|obfuscate# + {author|person|escape} + {author|email|obfuscate} - #date|rfc3339date# - #date|rfc3339date# + {date|rfc3339date} + {date|rfc3339date}
-
#desc|escape|nonempty#
+
{desc|escape|nonempty}
diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/atom/filelog.tmpl --- a/templates/atom/filelog.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/atom/filelog.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,8 +1,8 @@ -#header# +{header} {urlbase}{url}atom-log/tip/{file|escape} - #repo|escape#: #file|escape# history - #latestentry%feedupdated# + {repo|escape}: {file|escape} history + {latestentry%feedupdated} -#entries%changelogentry# +{entries%changelogentry} diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/atom/map --- a/templates/atom/map Fri May 15 10:46:39 2009 +0200 +++ b/templates/atom/map Fri May 15 10:46:52 2009 +0200 @@ -1,5 +1,5 @@ default = 'changelog' -feedupdated = '#date|rfc3339date#' +feedupdated = '{date|rfc3339date}' mimetype = 'application/atom+xml; charset={encoding}' header = header.tmpl changelog = changelog.tmpl diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/atom/tagentry.tmpl --- a/templates/atom/tagentry.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/atom/tagentry.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,8 +1,8 @@ - #tag|escape# + {tag|escape} {urlbase}{url}#tag-{node} - #date|rfc3339date# - #date|rfc3339date# - #tag|strip|escape# + {date|rfc3339date} + {date|rfc3339date} + {tag|strip|escape} diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/atom/tags.tmpl --- a/templates/atom/tags.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/atom/tags.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,11 +1,11 @@ -#header# +{header} {urlbase}{url} - #repo|escape#: tags - #repo|escape# tag history + {repo|escape}: tags + {repo|escape} tag history Mercurial SCM - #latestentry%feedupdated# + {latestentry%feedupdated} -#entriesnotip%tagentry# +{entriesnotip%tagentry} diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/rss/changelog.tmpl --- a/templates/rss/changelog.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/rss/changelog.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,6 +1,6 @@ -#header# - #repo|escape# Changelog - #repo|escape# Changelog - #entries%changelogentry# +{header} + {repo|escape} Changelog + {repo|escape} Changelog + {entries%changelogentry} \ No newline at end of file diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/rss/changelogentry.tmpl --- a/templates/rss/changelogentry.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/rss/changelogentry.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,7 +1,7 @@ - #desc|strip|firstline|strip|escape# + {desc|strip|firstline|strip|escape} {urlbase}{url}rev/{node|short} - - #author|obfuscate# - #date|rfc822date# + + {author|obfuscate} + {date|rfc822date} diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/rss/filelog.tmpl --- a/templates/rss/filelog.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/rss/filelog.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,6 +1,6 @@ -#header# - #repo|escape#: #file|escape# history - #file|escape# revision history - #entries%filelogentry# +{header} + {repo|escape}: {file|escape} history + {file|escape} revision history + {entries%filelogentry} diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/rss/filelogentry.tmpl --- a/templates/rss/filelogentry.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/rss/filelogentry.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,7 +1,7 @@ - #desc|strip|firstline|strip|escape# - {urlbase}{url}log{#node|short#}/{file|urlescape} - - #author|obfuscate# - #date|rfc822date# + {desc|strip|firstline|strip|escape} + {urlbase}{url}log{{node|short}}/{file|urlescape} + + {author|obfuscate} + {date|rfc822date} diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/rss/tagentry.tmpl --- a/templates/rss/tagentry.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/rss/tagentry.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,6 +1,6 @@ - #tag|escape# + {tag|escape} {urlbase}{url}rev/{node|short} - - #date|rfc822date# + + {date|rfc822date} diff -r cebdfdcc3e42 -r 5ccca71775e1 templates/rss/tags.tmpl --- a/templates/rss/tags.tmpl Fri May 15 10:46:39 2009 +0200 +++ b/templates/rss/tags.tmpl Fri May 15 10:46:52 2009 +0200 @@ -1,6 +1,6 @@ -#header# - #repo|escape#: tags - #repo|escape# tag history - #entriesnotip%tagentry# +{header} + {repo|escape}: tags + {repo|escape} tag history + {entriesnotip%tagentry}