Hi all,
I've been using the API and so far I'm very pleased! I would like to know if it is possible to get the HTML version of an article directly , or if I have to get the wiki markup and convert it (which is what i am doing).
Second question is if the API can return the 'search' results of a keyword that doesn't exist (when you enter a word for which there isn't an article yet, wikipedia returns a page with possible articles). Can the API provide me with the list? I've tried most things on the manual but none worked for me (so please don't respond rtfm :) )
Thanks for the great work to everyone involved with the API or reading the list,
Markos
On 16/01/2008, Markos Gogoulos mgogoulos@gmail.com wrote:
Hi all,
I've been using the API and so far I'm very pleased! I would like to know if it is possible to get the HTML version of an article directly , or if I have to get the wiki markup and convert it (which is what i am doing).
You don't need the API to get the HTML version of an article. You can just use action=render
Second question is if the API can return the 'search' results of a keyword that doesn't exist (when you enter a word for which there isn't an article yet, wikipedia returns a page with possible articles). Can the API provide me with the list? I've tried most things on the manual but none worked for me (so please don't respond rtfm :) )
Sadly, the search API is not yet supported by the Lucerne search backend currently in place on Wikipedia et al.
Andrew Dunbar (hippietrail)
Thanks for the great work to everyone involved with the API or reading the list,
Markos
-- Under the paving stones, the beach _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
I still need the API to easily fetch some data (links, categories etc) so if I can get the HTML out of it it will be really nice for my application. Is there such an option?
Thanks once again, Markos
On Jan 16, 2008 1:18 PM, Andrew Dunbar hippytrail@gmail.com wrote:
On 16/01/2008, Markos Gogoulos mgogoulos@gmail.com wrote:
Hi all,
I've been using the API and so far I'm very pleased! I would like to
know if
it is possible to get the HTML version of an article directly , or if I
have
to get the wiki markup and convert it (which is what i am doing).
You don't need the API to get the HTML version of an article. You can just use action=render
Second question is if the API can return the 'search' results of a
keyword
that doesn't exist (when you enter a word for which there isn't an
article
yet, wikipedia returns a page with possible articles). Can the API
provide
me with the list? I've tried most things on the manual but none worked
for
me (so please don't respond rtfm :) )
Sadly, the search API is not yet supported by the Lucerne search backend currently in place on Wikipedia et al.
Andrew Dunbar (hippietrail)
Thanks for the great work to everyone involved with the API or reading
the
list,
Markos
-- Under the paving stones, the beach _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
-- http://wiktionarydev.leuksman.com http://linguaphile.sf.net
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Markos Gogoulos schreef:
I still need the API to easily fetch some data (links, categories etc) so if I can get the HTML out of it it will be really nice for my application. Is there such an option?
You can get links and categories though the API, and obtain the page HTML though:
http://en.wikipedia.org/w/index.php?title=Main_Page&action=render
Roan Kattouw (Catrope)
mediawiki-api@lists.wikimedia.org