Ticket #336 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

RSS feed for /blog

Reported by: athomas Assigned to: pacopablo
Priority: normal Component: TracBlogPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.9

Description

You know you want it.

Attachments

tracblog-rss.patch (6.2 kB) - added by mjk@aellaweil.de on 08/18/06 07:21:41.
Patch for RSS feed
tracblog-rss-0.2.patch (8.1 kB) - added by mjk@aellaweil.de on 08/18/06 08:36:24.
Patch for RSS feed (less ugly version)
tracblog-rss-0.3.patch (1.6 kB) - added by kindlund@mitre.org on 11/16/06 01:01:08.
fix: RSS <author> fields now properly list email addresses from different blog posters

Change History

04/26/06 00:36:53 changed by pacopablo

  • status changed from new to assigned.

Why temptest thou me, satan? :)

Yeah, I want it. I'll see if I can whip something up.

08/18/06 07:21:41 changed by mjk@aellaweil.de

  • attachment tracblog-rss.patch added.

Patch for RSS feed

08/18/06 07:22:25 changed by mjk@aellaweil.de

  • priority changed from lowest to normal.

Yes, feed for blogs is essential ;-)

With a little help from johann@browsershots.org and his SimpleBlogPlugin I implemented a simple rss feed.

My code is ugly.

See attachment.

08/18/06 08:36:24 changed by mjk@aellaweil.de

  • attachment tracblog-rss-0.2.patch added.

Patch for RSS feed (less ugly version)

08/25/06 02:42:22 changed by pacopablo

(In [1186]) Refs #336

  • applied RSS patch
  • Added setup.cfg to build

08/25/06 22:11:37 changed by pacopablo

(In [1189]) Refs #336

  • Fix for lack of to_unicode on 0.9. Doesn't break the plugin on 0.10, btu I untested with 0.9.6

11/16/06 01:00:09 changed by kindlund@mitre.org

Fixed a bug, where the RSS feed was pulling the first email address found in the trac userbase, rather than the email address of the blog poster. This becomes apparent when you have multiple users posting blog messages. Before, the corresponding RSS XML <author> fields all contained the same email address -- even if each poster set a unique email address.

Specifically, the _user2email(self, user) function didn't actually map a given blog poster's username to their email address -- it simply found the first email address from the userbase.

I've attached tracblog-rss-0.3.patch, which fixes this issue. The email_map code was taken directly from Timeline.py within v0.10 of the main trac codebase. It seems the Timeline.py RSS feed implementation makes a bit more sense.

11/16/06 01:01:08 changed by kindlund@mitre.org

  • attachment tracblog-rss-0.3.patch added.

fix: RSS <author> fields now properly list email addresses from different blog posters

11/21/06 02:13:25 changed by pacopablo

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

(In [1582])

  • Applied patch for RSS email addresses from kindlund@mitre.org, Closes #336
  • Removed reference to addHeadingLinks in new_blog.cs. Closes #786
  • Added code to redirect to the page where posting a new entry was selected. Closes #452
  • Added patch to allow for customizable footer on blog posts from dfaerch. Closes #745

Add/Change #336 (RSS feed for /blog)




Change Properties
Action