Edgewall Software

Ticket #602 (closed defect: fixed)

Opened 4 years ago

Last modified 2 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:

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@… 4 years ago.
Patch to (subjectively) improve RSS output for Timeline.py

Change History

Changed 4 years ago by trac@…

  • version changed from 0.7.1 to devel
  • severity changed from normal to minor

oops.

Changed 4 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 4 years ago by bje@…

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

Changed 4 years ago by daniel

  • owner changed from jonas to daniel
  • priority changed from normal to low
  • status changed from new to assigned
  • milestone set to 0.8

Changed 4 years ago by anonymous

  • status changed from assigned to closed
  • resolution set to fixed

Worked on in [850].

Add/Change #602 (Too much duplication between title/description in RSS)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from daniel. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.