Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10619 (new enhancement)

Opened 1 year ago

Last modified 1 year ago

[PATCH] Atom feed helper: add support for atom an entry custom url

Reported by: matt Assigned to: david
Priority: normal Milestone: 2.x
Component: Plugins Version: edge
Severity: normal Keywords: atom, feed, plugin, helper
Cc:

Description

At the moment, one can supply a custom root url for the feed but isn't able to set a custom url for each entry.

This patch solves this problem, and by supplying an :entry_url option, you can specify the alternate html url of each entry. If the option isn't passed along, the polymorphic_url method is used (if available).

This also has the side effect of letting the plugin work in rails 1.x too now.

Attachments

atom_feed_helper_patch.diff (1.4 kB) - added by matt on 12/26/07 17:15:22.

Change History

12/26/07 17:15:22 changed by matt

  • attachment atom_feed_helper_patch.diff added.

12/28/07 15:19:56 changed by matt

  • keywords changed from atom, feed to atom, feed, plugin, helper.
  • owner changed from core to david.