Creates an XML Source from an input stream.
Creates an XML Source from an input stream.
The input stream to read from. Will be closed after reading.
if given, parser expects file to be in this language and doesn't read language from siteinfo element
Function to filter pages by their title. Pages for which this function returns false, won't be yielded by the source.
Creates an XML Source from a parsed XML OAI response.
Creates an XML Source from a parsed XML OAI response.
The xml which contains the pages
Creates an XML Source from a reader.
Creates an XML Source from a reader.
The input stream to read from. Will be closed after reading.
if given, parser expects file to be in this language and doesn't read language from siteinfo element
Function to filter pages by their title. Pages for which this function returns false, won't be yielded by the source.
Creates an XML Source from a parsed XML tree.
Creates an XML Source from a parsed XML tree.
The xml which contains the pages
Loads wiki pages from an XML stream using the MediaWiki export format.
The MediaWiki export format is specified by http://www.mediawiki.org/xml/export-0.4 http://www.mediawiki.org/xml/export-0.5 http://www.mediawiki.org/xml/export-0.6 http://www.mediawiki.org/xml/export-0.8 etc.