[wp-trac] [WordPress Trac] #9031: Support more URL schemes in Atompub backend

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 3 16:53:14 GMT 2009

#9031: Support more URL schemes in Atompub backend
 Reporter:  znarfor      |       Owner:  anonymous     
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  2.8           
Component:  General      |     Version:  2.7           
 Severity:  normal       |    Keywords:  has-patch atom
 Today, browsing posts through Atompub backend is very limited. You have
 only one endpoint (wp-app.php/posts) and the ability to iterate on it
 (page 2, page 3, page X). You have no way to query or refine your search
 at all (filter by author, by tag, search, etc).

 Too bad, because WP ship with everything needed in its core to do that
 very easily.

 What i propose is to handle URLs in Atompub the same way they are
 supported in Wordpress core. All we need is:

 1) Add a new route in Atompub backend, to match this kind of queries (not

   - wp-app.php/posts/author/xxx
   - wp-app.php/posts/author/xxx/page/2
   - wp-app.php/posts/tag/xxx
   - wp-app.php/posts?s=XXXX

 2) Handle Atompub requests correctly in WP::parse_request

 3) Remove Atompub current offset & pagination handling, let WP core do the

 4) Generate correctly next/last/prev/self Atom links

Ticket URL: <http://trac.wordpress.org/ticket/9031>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list