Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#602 closed defect (fixed)

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: Branch:
Release Notes:
API Changes:
Internal 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 (1)

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

Download all attachments as: .zip

Change History (5)

comment:1 by trac@…, 20 years ago

Severity: normalminor
Version: 0.7.1devel

oops.

comment:2 by bje@…, 20 years ago

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.

by bje@…, 20 years ago

Attachment: newrss.patch added

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

comment:3 by daniel, 20 years ago

Milestone: 0.8
Owner: changed from Jonas Borgström to daniel
Priority: normallow
Status: newassigned

comment:4 by anonymous, 20 years ago

Resolution: fixed
Status: assignedclosed

Worked on in [850].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.