Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#539 closed defect (fixed)

timeline RSS <image> <link> url is just the http://hostname/, not link to timeline

Reported by: radix Owned by: daniel
Priority: low Milestone: 0.8
Component: timeline Version: 0.7.1
Severity: minor Keywords: timeline rss image link url
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

While the <channel> <link> is correct, the <image> <link> just points to e.g. http://twistedmatrix.com/ instead of http://twistedmatrix.com/trac/imagination/trac/timeline. It's a very simple fix to timeline_rss.cs:

—- /home/trac/TRAC/trac-0.7.1/templates/timeline_rss.cs 2004-05-20 21:59:41.000000000 +0000 +++ /home/trac/usr/share/trac/templates/timeline_rss.cs 2004-06-11 17:04:57.000000000 +0000 @@ -25,7 +25,7 @@

<image>

<title><?cs var:$project.name?></title> <url><?cs if !$header_logo.src_abs ?><?cs var:$base_url ?><?cs /if ?><?cs var $header_logo.src ?></url>

  • <link><?cs var:$base_url ?></link>

+ <link><?cs var:$base_url ?><?cs var:$trac.href.timeline ?></link>

</image> <?cs each:item = $timeline.items ?>

<?cs if:item.type == #1 ?><-- Changeset —>

Attachments (1)

timeline.patch (612 bytes ) - added by radix 20 years ago.
timeline_rss.cs patch to fix <image> <link>

Download all attachments as: .zip

Change History (4)

comment:1 by radix, 20 years ago

Sorry, I assumed that the comments were <pre>d. I'll attach the patch.

by radix, 20 years ago

Attachment: timeline.patch added

timeline_rss.cs patch to fix <image> <link>

comment:2 by daniel, 20 years ago

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

comment:3 by daniel, 20 years ago

Resolution: fixed
Status: assignedclosed

Applied and fixed in [769]. Many thanks for the patch!

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.