[Tickets #7197] Re: Use Horde_Routes in jonah/delivery/index.php

bugs at horde.org bugs at horde.org
Fri Aug 22 20:15:05 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7197
------------------------------------------------------------------------------
  Ticket             | 7197
  Updated By         | Ben Klang <ben at alkaloid.net>
  Summary            | Use Horde_Routes in jonah/delivery/index.php
  Queue              | Jonah
  Type               | Enhancement
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Ben Klang
------------------------------------------------------------------------------


Ben Klang <ben at alkaloid.net> (2008-08-22 16:15) wrote:

Chuck, Ben and Mike Naberezny just discussed this in IRC.  Here is the  
outcome:

* Routes will be created for the feed slug, the tag, the author and  
the month (including the year).  This will result in URLs like:
/:feed/author/:author_id
/:feed/tag/:tag_id
/:feed/date/:year-month
/:feed

* The output format will be determined by the URL suffix (XML vs. HTML)

* All other filterable attributes will be implemented as query  
strings.  The format of these attributes will be modeled after GData  
(ref: http://code.google.com/apis/gdata/reference.html#Queries)

Examples:
/myfeed/date/2008-08.html?tags=tag1|tag2
This returns all articles dated 2008-08-01 through 2008-08-31 tagged  
with EITHER tag1 or tag2 from the "myfeed" feed in HTML format

/hordefeed/author/bklang.rss2?q=some%20search%20text
This returns all articles by bklang from the "hordefeed" feed  
containing the text "some search text" in RSS2 form.

/otherfeed/tag/elephants.atom?start-index=23
This returns all articles tagged "elephant" starting at the 23rd  
article of the "otherfeed" feed in Atom format.

/airplanes.html
This returns all the articles from the "airplanes" feed in HTML form.





More information about the bugs mailing list