From e7f6dc0a5754ae6607bebfcedc1130cd12e43f5d Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Wed, 16 Mar 2005 01:16:15 +0000 Subject: Fix for bug 82878: Generate RSS 1.0 version of bug lists. Patch by Jason Remillard. r=myk a=myk --- template/en/default/list/list.rss.tmpl | 95 ++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 template/en/default/list/list.rss.tmpl (limited to 'template/en/default/list/list.rss.tmpl') diff --git a/template/en/default/list/list.rss.tmpl b/template/en/default/list/list.rss.tmpl new file mode 100644 index 000000000..53352f225 --- /dev/null +++ b/template/en/default/list/list.rss.tmpl @@ -0,0 +1,95 @@ +[%# 1.0@bugzilla.org %] +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Bugzilla Bug Tracking System. + # + # The Initial Developer of the Original Code is Netscape Communications + # Corporation. Portions created by Netscape are + # Copyright (C) 1998 Netscape Communications Corporation. All + # Rights Reserved. + # + # Contributor(s): Walter Hoehn + # John Belmonte + # Jason Remillard + # + # This is a template for generating an RSS 1.0 representation of a buglist. + #%] + +[% PROCESS global/variables.none.tmpl %] +[% USE date %] + +[% DEFAULT title = "$terms.Bugzilla $terms.Bugs" %] + + + + + + [% title FILTER xml %] + [% "$terms.Bugzilla $terms.bug list" FILTER xml %] + + [% Param('urlbase') %]buglist.cgi? + [%- urlquerypart.replace('ctype=rss[&]?','') FILTER xml -%] + + + hourly + 2 + + + + [% FOREACH bug = bugs %] + + [% END %] + + + + + + [% FOREACH bug = bugs %] + + [% bug.short_desc FILTER xml %] + [% Param('urlbase') FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %] + [% bug.reporter_realname FILTER xml %] + [% date.format( format=>"%Y-%m-%dT%H:%MZ",time=>bug.opentime) FILTER xml %] + + [%# Filter out the entire block, so that we don't need to escape the html code out %] + [% FILTER xml %] + + + + + + + + + + + + + + + + + + + + + + +
FieldValue
[% columns.opendate.title FILTER none %][% bug.opendate FILTER none %]
[% columns.assigned_to_realname.title FILTER none %][% bug.assigned_to_realname FILTER none %]
[% columns.priority.title FILTER none %][% bug.priority FILTER none %]
[% columns.bug_severity.title FILTER none %] [% bug.bug_severity FILTER none %]
[% columns.bug_status.title FILTER none %][% bug.bug_status FILTER none %]
[% columns.changeddate.title FILTER none %][% bug.changeddate FILTER none -%]
+ [% END %] +
+
+ [% END %] +
-- cgit v1.2.3-24-g4f1b