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