Opened 20 years ago
Closed 19 years ago
#336 closed enhancement (fixed)
RSS feed for /blog
| Reported by: | Alec Thomas | Owned by: | John Hampton |
|---|---|---|---|
| Priority: | normal | Component: | TracBlogPlugin |
| Severity: | trivial | Keywords: | |
| Cc: | Trac Release: | 0.9 |
Description
You know you want it.
Attachments (3)
Change History (9)
comment:1 Changed 20 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 19 years ago by
| Priority: | lowest → normal |
|---|
Yes, feed for blogs is essential ;-)
With a little help from johann@… and his SimpleBlogPlugin I implemented a simple rss feed.
My code is ugly.
See attachment.
Changed 19 years ago by
| Attachment: | tracblog-rss-0.2.patch added |
|---|
Patch for RSS feed (less ugly version)
comment:4 Changed 19 years ago by
comment:5 Changed 19 years ago by
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.
Changed 19 years ago by
| Attachment: | tracblog-rss-0.3.patch added |
|---|
fix: RSS <author> fields now properly list email addresses from different blog posters
comment:6 Changed 19 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
(In [1582])
- Applied patch for RSS email addresses from kindlund@…, Closes #336
- Removed reference to
addHeadingLinksinnew_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



Why temptest thou me, satan? :)
Yeah, I want it. I'll see if I can whip something up.