Action=parse can take multiple titles, and you can get
other page metadata in addition to just HTML output.
Not to mention you can bundle it into one request with
action=parse|query.

-Chad

On Feb 23, 2009 3:14 PM, "Michael Dale" <mdale@wikimedia.org> wrote:

it would be really nice if we could get html output from the api query
... this would avoid issuing doing dozens of action parse requests
separately.

It apperas to be mentioned pretty regularly... does anyone know if a bug
to that end has been filed.. I will plop one in there if none exists
(did not find any with in my quick search)

--michael



Bryan Tong Minh wrote:
> On Fri, Feb 20, 2009 at 6:45 PM, marco tanzi <tanzi.marco@gmail.com> wrote:
>
>> I received a correct json object, but the content of the revision is
>> full of data I do not need like {{....}} [[...]] ecc. I would like to
>> get only the clean description, only text (like the one visible from
>> the wiki website).
>>
>>
>
> Run the parsed text (action=parse) through an HTML parser that strips
> all the tags.
>
>
> Bryan
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api