Wiki source code of Wiki Importer Enhancements
Show last authors
author | version | line-number | content |
---|---|---|---|
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. | ||
2 | |||
3 | == Wiki Importer API == | ||
4 | |||
5 | **Wiki Importer:** | ||
6 | It parses the data and returns a Wiki Abstraction. | ||
7 | |||
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. | ||
9 | |||
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 ). | ||
11 | |||
12 | [[image:WikiImporter.png]] | ||
13 | |||
14 | == Wiki Model API == | ||
15 | |||
16 | The revised Wiki Model API,every Wiki implements this Abstract Wiki Model API which adheres to XWiki standards. | ||
17 | |||
18 | [[image:WikiModelAPI.png]] |