wet_peex peeks for Textpattern objects as XML resources.
wet_peex is a backend plugin without any user interface. It handles HTTP GET requests and replies with an XML response.
To query wet_peex
, send a request to the resource located at http://yoursite.tld/textpattern?wet_peex
.
wet_peex understands these query parameters:
object_type
:article
,section
,category
,link
,image
,file
. Use one of these as a value for thewet_peex
GET parameter, e.g.http://yoursite.tld/textpattern?wet_peex=article
sort
: Sort criteriondir
: Sort direction. Use eitherasc
for ascending sort order, ordesc
for descending sort ordersearch
: Textual search criterionoffset
: First object’s ordinal in replylimit
: Maximum objects returned
A sample request:
http://yoursite.tld/textpattern?wet_peex=article&sort=posted&dir=asc
The XML reply message is rather self explanatory. View source for details. article
is the only currently implemented object type.
This plug-in is released under the Gnu General Public Licence.