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 | |||
6 | **Wiki Importer:** | ||
7 | |||
8 | * **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. | ||
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. | ||
11 | |||
12 | [[image:WikiImporter.png]] | ||
13 | |||
14 | |||
15 | == Wiki Model API == | ||
16 | |||
17 | The revised Wiki Model API,every Wiki implements this Abstract Wiki Model API which adheres to XWiki standards. | ||
18 | |||
19 | [[image:WikiModelAPI.png]] |