Add an experimental rssjs feed based on the experimental rss.js spec.

This is simply a JSON representation of the RSS 2.0 feed, accessible at /feed/rssjs/ anywhere.

props pento.
see #25639.


git-svn-id: https://develop.svn.wordpress.org/trunk@26294 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-11-20 22:57:09 +00:00
parent 9df3f0fde2
commit 555703dff2
8 changed files with 258 additions and 5 deletions

View File

@@ -743,7 +743,7 @@ class WP_Rewrite {
* @access private
* @var array
*/
var $feeds = array( 'feed', 'rdf', 'rss', 'rss2', 'atom' );
var $feeds = array( 'feed', 'rdf', 'rss', 'rss2', 'atom', 'rssjs' );
/**
* Whether permalinks are being used.