Hi folks,

I am trying to work with the wikipedia API and i am having some little  
problems :-)

I can fetch the main description of the topic i am looking for using:

http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&rvsection=0&format=json&pageids=wiki_id

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).

How can I do that? there is some parser to clean my json object?

hope someone could help me out|!


kind regards
Marco

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to