On Tue, Aug 14, 2012 at 5:48 PM, Fred Zimmerman <wfz(a)nimblebooks.com> wrote:
Hi,
Hi,
for an URL like
http://en.wikipedia.org/w/api.php?action=parse&format=txt&page=Para…
I would like to remove the extraneous (array) info at the top
Array ( [parse] => Array ( [title] => Paraguayan guaranà [revid] =>
504403853 [text] =>
and the long appended text
so that I am only receiving the mobile html with no images.
Help!
The response is going to be wrapped in *some* format, be it XML, JSON,
PHP or something else, because it is structured. The API currently
doesn't offer a facility for getting just one property from the
structured response and outputting it raw.
Roan