I see. I misunderstood the purpose of the description element. It describes the feed, not the project.

The goal is to put a listing of our projects with recent activity on a web page. I'm going to combine the timeline RSS feeds for each project for this, and I was hoping to get the project description in there as well.

Rereading the RSS spec, I see I can add a custom element in a namespace, so that's what I will do in a custom template.

I don't think adding the project name will add anything, so please consider my request withdrawn.

Thanks for responding,

Michael

On 2010-05-29, at 1:30 AM, Mikael Relbe <[email protected]> wrote:

Hi Michael

I understand your request, but I am not quite sure about your
proposal.

They way I use the name and description fields is to assign a short
name for the project (typically come kind of code, or a very, very
short name) and the description, on the other hand, is more lengthy
and... descriptive ;)

I think your problem really is the abilities provided by your RSS
reader... For example, I like the RSSOwl reader (www.rssowl.org) which
allows me to collect several timelines and present them all in one
view/table, in which I can see the name of the projects along with the
entries which gives me a very feasible overview of several projects at
the same time (the field "Location" in RSSOwl represents the project
name).

Nevertheless, replacing the description the description of the project
is not the optimal solution, I think, because how would you distinguis
a Timeline feed from other feed types (browser, ticket etc)?

I therefore suggest the following instead (if we're going to change
this at all):

     <title>${project.name}</title>
     <link>${abs_href.timeline()}</link>
-    <description>Trac Timeline </description>
+    <description>Trac Timeline ${project.name}</description>

Best regards,
Mikael Relbe

On 29 Maj, 00:23, Michael Joyce <[email protected]> wrote:
Hello.

I've been trying to file a ticket on the trac website, and every time
it is rejected as spam. So I'm going to try here.

Description:

For multiple projects, the description element for the timeline.rss
view is too generic, especially when tools aggregate multiple project
RSS feeds into one place. The description element should be a
description of the project.

And I have a patch too!

Index: trac/timeline/templates/timeline.rss
===================================================================
--- trac/timeline/templates/timeline.rss        (revision 9798)
+++ trac/timeline/templates/timeline.rss        (working copy)
@@ -5,7 +5,7 @@
    <channel>
      <title>${project.name}</title>
      <link>${abs_href.timeline()}</link>
-    <description>Trac Timeline</description>
+    <description>${project.descr}</description>
      <language>${req.locale and \
                  '%s-%s' % (req.locale.language,
req.locale.territory) or \
                  'en-US'}</language>

Cheers,

Michael

--
Michael Joyce - Web Application Project Coordinator, Mathematics
Leonard S. Klinck Building, Room 126F
604-822-3068
[email protected]

--
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected] . For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en .



--
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to