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

Ticket #7626 (closed defect: wontfix)

Opened 2 years ago

Last modified 2 years ago

[PATCH][TINY] Author is missing from items in Atom feed [resource_feeder plugin]

Reported by: airblade Assigned to: core
Priority: normal Milestone: 1.2.4
Component: Plugins Version: edge
Severity: normal Keywords: tiny atom plugins resource_feeder author
Cc:

Description

The Atom feed is supposed to show each item's author but doesn't due to a simple bug: the author variable is not passed to the method which incorporates it into the XML of the feed.

I.e. instead of this:

    if author = call_or_read(options[:item][:author], resource)
      xml.author do
        xml.name()
      end
    end

We should have this:

    if author = call_or_read(options[:item][:author], resource)
      xml.author do
        xml.name(author)
      end
    end

I want to do this so that each feed item's contributor is shown in the feed: credit where credit is due, etc!

Attachments

author_no_longer_awol_from_atom_feed.diff (3.5 kB) - added by airblade on 02/22/07 18:41:27.
Patch containing one line (one word, actually) code change and unit tests.

Change History

02/22/07 18:41:27 changed by airblade

  • attachment author_no_longer_awol_from_atom_feed.diff added.

Patch containing one line (one word, actually) code change and unit tests.

02/22/07 18:47:40 changed by airblade

  • keywords changed from atom plugins resource_feeder author to tiny atom plugins resource_feeder author.

02/22/07 19:12:42 changed by airblade

  • version changed from 1.2.1 to edge.

05/26/07 00:45:02 changed by josh

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

Resource feeder is gone [6835].