Ticket #6654 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

add RSS link to browser even on individual posts

Reported by: Vaclav Slavik <vslavik@fastmail.fm> Assigned to: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

It is common for blogs to have <link rel="alternate"> in the header even on individual posts, but FullBlogPlugin doesn't do that. This patch fixes it.

It's a bit of a hack: I didn't use Trac's add_link() function, because that would add (IMHO inappropriate on individual posts) "Download in other formats" link to the bottom of the page. So I add the feed link manually in fullblog_view.html template.

Attachments

feed-on-posts.patch (0.8 kB) - added by Vaclav Slavik <vslavik@fastmail.fm> on 02/17/10 10:11:24.

Change History

02/17/10 10:11:24 changed by Vaclav Slavik <vslavik@fastmail.fm>

  • attachment feed-on-posts.patch added.

(follow-up: ↓ 2 ) 03/04/10 15:08:31 changed by osimons

Oh. I see. You want the RSS feed for the blog to be discoverable by browers when viewing individual posts too. Makes sense.

For individual posts, my idea was to provide a detailed feed for the post that also inluded comments as well: #4803

What would be the correct combination of links here?

(in reply to: ↑ 1 ) 03/04/10 15:18:46 changed by vslavik@fastmail.fm

Replying to osimons:

What would be the correct combination of links here?

I don't understand the question... But you can have multiple feeds on the same page, so why not have <link> entries for both posts and comments feeds? It's quite common way to do it...

03/09/10 14:13:24 changed by osimons

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

(In [7762]) FullBlogPlugin: Link to main RSS feed when viewing individual posts. The various list views already does this using add_link(), but done in head directly to avoid "Alternate Formats" section.

Thanks to Vaclav Slavik for report + patch. Closes #6654.


Add/Change #6654 (add RSS link to browser even on individual posts)




Change Properties
Action