From 336ac5f08ff4b25da8ba36eba7b2362566ef9a86 Mon Sep 17 00:00:00 2001 From: mako Date: Thu, 6 Sep 2007 20:40:23 +0000 Subject: [PATCH] Moved to using templates now under Subversion. git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@814 c2f067bf-98e0-425f-9c98-e76020cfa380 --- config/config.ini | 2 +- templates/foafroll.xml.tmpl | 31 +++++++++++++++++++++++++++++++ templates/opml.xml.tmpl | 15 +++++++++++++++ templates/rss10.xml.tmpl | 37 +++++++++++++++++++++++++++++++++++++ templates/rss20.xml.tmpl | 30 ++++++++++++++++++++++++++++++ 5 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 templates/foafroll.xml.tmpl create mode 100644 templates/opml.xml.tmpl create mode 100644 templates/rss10.xml.tmpl create mode 100644 templates/rss20.xml.tmpl diff --git a/config/config.ini b/config/config.ini index 3638fcd..c9a5a97 100644 --- a/config/config.ini +++ b/config/config.ini @@ -19,7 +19,7 @@ new_feed_items = 1 log_level = DEBUG # template_files: Space-separated list of output template files -template_files = templates/index.html.tmpl planet/examples/rss20.xml.tmpl planet/examples/rss10.xml.tmpl planet/examples/opml.xml.tmpl planet/examples/foafroll.xml.tmpl +template_files = templates/index.html.tmpl templates/rss20.xml.tmpl templates/rss10.xml.tmpl templates/opml.xml.tmpl templates/foafroll.xml.tmpl # The following provide defaults for each template: # output_dir: Directory to place output files diff --git a/templates/foafroll.xml.tmpl b/templates/foafroll.xml.tmpl new file mode 100644 index 0000000..a78e3e8 --- /dev/null +++ b/templates/foafroll.xml.tmpl @@ -0,0 +1,31 @@ + + + + + + " /> + + + + + + + "> + + + " /> + + + + + + + + + diff --git a/templates/opml.xml.tmpl b/templates/opml.xml.tmpl new file mode 100644 index 0000000..b56ee5f --- /dev/null +++ b/templates/opml.xml.tmpl @@ -0,0 +1,15 @@ + + + + <TMPL_VAR name ESCAPE="HTML"> + + + + + + + + " xmlUrl="" title="" htmlUrl="" /> + + + diff --git a/templates/rss10.xml.tmpl b/templates/rss10.xml.tmpl new file mode 100644 index 0000000..f4f01f3 --- /dev/null +++ b/templates/rss10.xml.tmpl @@ -0,0 +1,37 @@ + + +"> + <TMPL_VAR name ESCAPE="HTML"> + + - + + + + + " /> + + + + + + +"> + <TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR title_plain ESCAPE="HTML"></TMPL_IF> + + + + + + + + + + + + diff --git a/templates/rss20.xml.tmpl b/templates/rss20.xml.tmpl new file mode 100644 index 0000000..ab95440 --- /dev/null +++ b/templates/rss20.xml.tmpl @@ -0,0 +1,30 @@ + + + + + <TMPL_VAR name> + + en + - + + + + <TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR title_plain ESCAPE="HTML"></TMPL_IF> + + + + + + + + + () + + + + + + + + + -- 2.39.2