Changes for page Wiki Importer Enhancements
on 2009/10/11 09:10
on 2009/10/11 09:11
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,24 +4,17 @@ 4 4 5 5 6 6 Wiki Importer has two methods, 7 -*. **parse(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 Generic Wiki Model which can be used to import the files into XWiki using our importer or can create his own. 8 -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. 9 9 10 -* .**Wiki(Wiki wiki,WikiImporterConfigurationconfig)List<Summary>** takesintheWiki Modelalong withconfigurationdetails(preservinghistory,defaultspacesandothercustomisation)and import the same into XWikibased on it.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. 11 11 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 12 [[image:WikiImporter.png]] 13 13 14 -**WikiImporter Configuration :**Uses java.util.properties. 15 -[[image:Configuration.png]] 16 16 17 -**Summary :** The result of import process is represented by Summary. 18 -[[image:Summary.png]] 19 - 20 - 21 21 == Wiki Model API == 22 22 23 -The revised Wiki Model API,every Wiki hadits own Wikimodel which implements this Wiki Model API which adheres to XWiki standards.17 +The revised Wiki Model API,every Wiki implements this Abstract Wiki Model API which adheres to XWiki standards. 24 24 25 25 [[image:WikiModelAPI.png]] 26 26 27 -