Edgewall Software
Modify

Ticket #602 (closed defect: fixed)

Opened 8 years ago

Last modified 5 years ago

Too much duplication between title/description in RSS

Reported by: trac@… Owned by: daniel
Priority: low Milestone: 0.8
Component: general Version: devel
Severity: minor Keywords:
Cc:
Release Notes:
API Changes:

Description

  • Tickets:
    <title>Ticket #9 created: Add Services in contextual menu to Mellel</title>
    <description>Add Services in contextual menu to Mellel</description>
    

Seems that the part after the colon could go in the description. Since the author isn't included if there's no @, perhaps the author could be added, i.e. "Ticket #9 created by nicholas".

  • Changesets:
    <title>Changeset [156]: appswitch.1: Updated for appswitch 1.0.1.
    
    appswitch.xcode: Converted to ...</title>	  
    <link>svn.sabi.net/trac/dev/changeset/156</link>
    <description>appswitch.1: Updated for appswitch 1.0.1.
    

I'm not sure how many RSS readers can handle multiline titles, and in any case, it should be moved to the description, and the description converted to HTML instead of including literal linefeeds just as it is in the real timeline (oh wait, that is still not fixed :). Same comment about authors as above.

  • Wiki changes seem mostly OK.

Attachments

newrss.patch (3.3 KB) - added by bje@… 8 years ago.
Patch to (subjectively) improve RSS output for Timeline.py

Download all attachments as: .zip

Change History

comment:1 Changed 8 years ago by trac@…

  • Severity changed from normal to minor
  • Version changed from 0.7.1 to devel

oops.

comment:2 Changed 8 years ago by bje@…

I've patched my local trac to have what I consider improved RSS outputs from the Timeline module. Specifically:

  • Titles are "<event> by <author>" (eg, "Ticket #602 updated by bje@…")
  • Changeset descriptions are now escape(wiki_to_html()) instead of raw or one-line Wiki

This gives me a nice look, since titles are now all one line and succinct, and descriptions are now formatted as you'd expect (newlines work, lists work, and so on). I haven't touched Log.py or Reports.py, mostly because I haven't seen Log.py in action (?) and I haven't used the RSS from Reports.py.

See attachment "newrss.patch" made against 0.7.1, patching trac/Timeline.py and templates/timeline_rss.cs.

Changed 8 years ago by bje@…

Patch to (subjectively) improve RSS output for Timeline.py

comment:3 Changed 8 years ago by daniel

  • Milestone set to 0.8
  • Owner changed from jonas to daniel
  • Priority changed from normal to low
  • Status changed from new to assigned

comment:4 Changed 7 years ago by anonymous

  • Resolution set to fixed
  • Status changed from assigned to closed

Worked on in [850].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.