[WikiEN-l] extracting protein target infobox information via page export

Rajarshi Guha rajarshi.guha at gmail.com
Wed Jan 19 15:18:02 UTC 2011


On Wed, Jan 19, 2011 at 10:10 AM, Andrew Gray <andrew.gray at dunelm.org.uk> wrote:
> On 19 January 2011 14:29, Rajarshi Guha <rajarshi.guha at gmail.com> wrote:
>
> The XML output is mainly the "plain" wikitext code of the page, rather
> than the rendered text version. As a result, you don't get the
> rendered version of the infobox, you just get the snippet of code
> calling it:
>
> {{PBB|geneid=811}}
>
> This template is surprisingly simple - it takes the "geneid" number
> and directs to a pre-generated specific subpage, in this case
>
> http://en.wikipedia.org/wiki/Template:PBB/811

Thanks a lot for the pointer. This pretty much solves my problem -
however, if I want to use the export method via the API, I need to
provide a pageid - how would I programmatically obtain the pageid for
the above page?

-- 
Rajarshi Guha
NIH Chemical Genomics Center



More information about the WikiEN-l mailing list