Make WordPress Core

Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#7257 closed enhancement (wontfix)

Create hook for between the rss/atom and channel elements in feeds

Reported by: craigandrews Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Feeds Keywords:
Focuses: Cc:


To use Blogline's "access restriction," an xml element must be inserted immediately before the "channel" tag opens, or immediately after it closes. Right now, there are no hooks to do that.

Can you add such hooks?

Here is the documentation for access:restriction in bloglines: http://www.bloglines.com/about/specs/fac-1.0


Attachments (1)

add rss_before_channel hooks.patch (1.4 KB) - added by craigandrews 7 years ago.
add rss_before_channel, rss2_before_channel, and

Download all attachments as: .zip

Change History (8)

#1 @craigandrews
7 years ago

I'm attaching a patch with adds three new hooks:

I think the names are pretty self-explanatory. No hooks are needed for atom, as atom_head covers the "before channel" case.

7 years ago

add rss_before_channel, rss2_before_channel, and

#2 @jtatum
7 years ago

  • Cc jtatum added
  • Keywords has-patch added

#3 @Denis-de-Bernardy
7 years ago

  • Component changed from General to Feeds
  • Owner anonymous deleted

#4 @peaceablewhale
6 years ago

According to the RSS Specification (http://www.rssboard.org/rss-specification), "Subordinate to the <rss> element is a single <channel> element, which contains information about the channel (metadata) and its contents". I am not sure if it is valid to add an element between <rss> and <channel>.

#5 @Denis-de-Bernardy
6 years ago

  • Keywords needs-patch added; has-patch removed
  • Milestone changed from 2.9 to Future Release

patch needs a refresh, too

#6 in reply to: ↑ description @solarissmoke
5 years ago

  • Keywords needs-patch removed
  • Resolution set to wontfix
  • Status changed from new to closed

Replying to craigandrews:

Here is the documentation for access:restriction in bloglines: http://www.bloglines.com/about/specs/fac-1.0

This extension seems to have fallen by the wayside. The link is dead and searching for it reveals just a couple of remnants. I guess it was never adopted. On that basis there doesn't seem to be much need for this enhancement.

Feel free to reopen if you still think there is a case for a new action.

#7 @dd32
5 years ago

  • Milestone Future Release deleted

Quite agree given the lack of traction on this over the last 3 years.

Note: See TracTickets for help on using tickets.