2008/10/14 Brendan Crosser-McGay <[EMAIL PROTECTED]>:
> I looked through the API docs I found online, and I didn't see any
> straightforward way to access template fields on a page through any obvious
> means.  As an example, I want to access a page, pull in values from a number
> of different pre-defined wiki-page-template fields.  Is there any way to do
> this, or am I stuck doing regex on a big blob of text?

I was happily surprised to find out recently that you can parse HTML
tables (and most infobox-style templates get converted to tables)
using Google Spreadsheets:
<http://ouseful.wordpress.com/2008/10/14/data-scraping-wikipedia-with-google-spreadsheets/>

I don't know if there is some way to automate that on the fly, but it
could be worth checking out anyway. I reckon it's pretty neat.

cheers
Brianna

-- 
They've just been waiting in a mountain for the right moment:
http://modernthings.org/

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

Reply via email to