summaryrefslogtreecommitdiff
path: root/mercurial/templates/rss
diff options
context:
space:
mode:
Diffstat (limited to 'mercurial/templates/rss')
-rw-r--r--mercurial/templates/rss/bookmarkentry.tmpl6
-rw-r--r--mercurial/templates/rss/bookmarks.tmpl6
-rw-r--r--mercurial/templates/rss/changelog.tmpl6
-rw-r--r--mercurial/templates/rss/changelogentry.tmpl7
-rw-r--r--mercurial/templates/rss/error.tmpl10
-rw-r--r--mercurial/templates/rss/filelog.tmpl6
-rw-r--r--mercurial/templates/rss/filelogentry.tmpl7
-rw-r--r--mercurial/templates/rss/header.tmpl5
-rw-r--r--mercurial/templates/rss/map12
-rw-r--r--mercurial/templates/rss/tagentry.tmpl6
-rw-r--r--mercurial/templates/rss/tags.tmpl6
11 files changed, 77 insertions, 0 deletions
diff --git a/mercurial/templates/rss/bookmarkentry.tmpl b/mercurial/templates/rss/bookmarkentry.tmpl
new file mode 100644
index 0000000..93b5614
--- /dev/null
+++ b/mercurial/templates/rss/bookmarkentry.tmpl
@@ -0,0 +1,6 @@
+<item>
+ <title>{bookmark|escape}</title>
+ <link>{urlbase}{url}rev/{node|short}</link>
+ <description><![CDATA[{bookmark|strip|escape|addbreaks}]]></description>
+ <pubDate>{date|rfc822date}</pubDate>
+</item>
diff --git a/mercurial/templates/rss/bookmarks.tmpl b/mercurial/templates/rss/bookmarks.tmpl
new file mode 100644
index 0000000..8cc8172
--- /dev/null
+++ b/mercurial/templates/rss/bookmarks.tmpl
@@ -0,0 +1,6 @@
+{header}
+ <title>{repo|escape}: bookmarks </title>
+ <description>{repo|escape} bookmark history</description>
+ {entries%bookmarkentry}
+ </channel>
+</rss>
diff --git a/mercurial/templates/rss/changelog.tmpl b/mercurial/templates/rss/changelog.tmpl
new file mode 100644
index 0000000..65b96ad
--- /dev/null
+++ b/mercurial/templates/rss/changelog.tmpl
@@ -0,0 +1,6 @@
+{header}
+ <title>{repo|escape} Changelog</title>
+ <description>{repo|escape} Changelog</description>
+ {entries%changelogentry}
+ </channel>
+</rss> \ No newline at end of file
diff --git a/mercurial/templates/rss/changelogentry.tmpl b/mercurial/templates/rss/changelogentry.tmpl
new file mode 100644
index 0000000..12fe8e0
--- /dev/null
+++ b/mercurial/templates/rss/changelogentry.tmpl
@@ -0,0 +1,7 @@
+<item>
+ <title>{desc|strip|firstline|strip|escape}</title>
+ <guid isPermaLink="true">{urlbase}{url}rev/{node|short}</guid>
+ <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description>
+ <author>{author|obfuscate}</author>
+ <pubDate>{date|rfc822date}</pubDate>
+</item>
diff --git a/mercurial/templates/rss/error.tmpl b/mercurial/templates/rss/error.tmpl
new file mode 100644
index 0000000..87e6009
--- /dev/null
+++ b/mercurial/templates/rss/error.tmpl
@@ -0,0 +1,10 @@
+{header}
+ <title>Error</title>
+ <description>Error</description>
+ <item>
+ <title>Error</title>
+ <description>{error|escape}</description>
+ <guid>http://mercurial.selenic.com/#error</guid>
+ </item>
+ </channel>
+</rss>
diff --git a/mercurial/templates/rss/filelog.tmpl b/mercurial/templates/rss/filelog.tmpl
new file mode 100644
index 0000000..31f4dc7
--- /dev/null
+++ b/mercurial/templates/rss/filelog.tmpl
@@ -0,0 +1,6 @@
+{header}
+ <title>{repo|escape}: {file|escape} history</title>
+ <description>{file|escape} revision history</description>
+ {entries%filelogentry}
+ </channel>
+</rss>
diff --git a/mercurial/templates/rss/filelogentry.tmpl b/mercurial/templates/rss/filelogentry.tmpl
new file mode 100644
index 0000000..51cd3af
--- /dev/null
+++ b/mercurial/templates/rss/filelogentry.tmpl
@@ -0,0 +1,7 @@
+<item>
+ <title>{desc|strip|firstline|strip|escape}</title>
+ <link>{urlbase}{url}log{node|short}/{file|urlescape}</link>
+ <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description>
+ <author>{author|obfuscate}</author>
+ <pubDate>{date|rfc822date}</pubDate>
+</item>
diff --git a/mercurial/templates/rss/header.tmpl b/mercurial/templates/rss/header.tmpl
new file mode 100644
index 0000000..ed29196
--- /dev/null
+++ b/mercurial/templates/rss/header.tmpl
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="{encoding}"?>
+<rss version="2.0">
+ <channel>
+ <link>{urlbase}{url}</link>
+ <language>en-us</language>
diff --git a/mercurial/templates/rss/map b/mercurial/templates/rss/map
new file mode 100644
index 0000000..0f141be
--- /dev/null
+++ b/mercurial/templates/rss/map
@@ -0,0 +1,12 @@
+default = 'changelog'
+mimetype = 'text/xml; charset={encoding}'
+header = header.tmpl
+changelog = changelog.tmpl
+changelogentry = changelogentry.tmpl
+filelog = filelog.tmpl
+filelogentry = filelogentry.tmpl
+tags = tags.tmpl
+tagentry = tagentry.tmpl
+bookmarks = bookmarks.tmpl
+bookmarkentry = bookmarkentry.tmpl
+error = error.tmpl
diff --git a/mercurial/templates/rss/tagentry.tmpl b/mercurial/templates/rss/tagentry.tmpl
new file mode 100644
index 0000000..42fa038
--- /dev/null
+++ b/mercurial/templates/rss/tagentry.tmpl
@@ -0,0 +1,6 @@
+<item>
+ <title>{tag|escape}</title>
+ <link>{urlbase}{url}rev/{node|short}</link>
+ <description><![CDATA[{tag|strip|escape|addbreaks}]]></description>
+ <pubDate>{date|rfc822date}</pubDate>
+</item>
diff --git a/mercurial/templates/rss/tags.tmpl b/mercurial/templates/rss/tags.tmpl
new file mode 100644
index 0000000..93f1e96
--- /dev/null
+++ b/mercurial/templates/rss/tags.tmpl
@@ -0,0 +1,6 @@
+{header}
+ <title>{repo|escape}: tags </title>
+ <description>{repo|escape} tag history</description>
+ {entriesnotip%tagentry}
+ </channel>
+</rss>