Wiki source code of Wiki Importer Enhancements

Last modified by Arun Reddy on 2009/10/12 08:17

Hide last authors
Arun Reddy 6.10 1 As the existing Wiki Importer ( [[GSOC PROJECT - SANDBOX >>http://svn.xwiki.org/svnroot/xwiki/sandbox/gsoc/importexport/]] ) have few set backs in architecture, i would like to make a proposal to modify and enhance to make it better.
Arun Reddy 1.1 2
Arun Reddy 6.9 3 == Wiki Importer API ==
Arun Reddy 6.8 4
Arun Reddy 6.13 5 **Wiki Importer:**
Arun Reddy 7.1 6 It parses the data and returns a Wiki Abstraction.
Arun Reddy 6.12 7
Arun Reddy 7.1 8 * **import(List<InputStream> in)::Wiki** takes the list of InputStreams like XML's, Zips etc which vary from Wiki to Wiki,parses the data to return a Abstract Wiki Model which can be used in import to XWiki.
Arun Reddy 6.12 9
Arun Reddy 7.1 10 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( MediaWiki ).
Arun Reddy 6.8 11
Arun Reddy 6.5 12 [[image:WikiImporter.png]]
Arun Reddy 3.1 13
Arun Reddy 6.2 14 == Wiki Model API ==
15
Arun Reddy 6.12 16 The revised Wiki Model API,every Wiki implements this Abstract Wiki Model API which adheres to XWiki standards.
Arun Reddy 3.1 17
Arun Reddy 6.6 18 [[image:WikiModelAPI.png]]