Wiki Importer Enhancements

Version 6.13 by Arun Reddy on 2009/10/11 13:06

As the existing Wiki Importer ( GSOC PROJECT - SANDBOX  ) have few set backs in  architecture, i would like to make a proposal to modify and enhance to make it better.

Wiki Importer API

Wiki Importer:

  • import(List<InputStream> in)::Wiki takes the list of InputStreams like XML's, Zips etc which varies from Wiki to Wiki parses the data to return a Abstract Wiki Model which can be used in import to XWiki.

For eg: In case of a MediaWiki XML dump, the xml files and zip file with attachments can be passed as a list of InputStreams.They are parsed one by one on demand and returned as a Wiki Model.

WikiImporter.png

Wiki Model API

The revised Wiki Model API,every Wiki implements this Abstract Wiki Model API which adheres to XWiki standards.

WikiModelAPI.png