Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » Generating EPF XML Import file from external content
Generating EPF XML Import file from external content [message #589685] Tue, 24 June 2008 14:04
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
After some hard work I managed to get the "xsmall" (from XML
pipeline project up and running and integrated with my EPF import
framework in progress.

The cookbook so far is as follows:

1. Recursively iterate all subdirectories from starting directory with
html) filter - Use DirectoryWalker with FileFilters (Apache Common IO)
2. For each htm or html file [file], check if <o:DocumentProperties> is
(Word htm NOT filtered)
2a. Extract Metadata into [file]-metadata.xml
2b. Extract folder location relative to starting directory for each file
and use this to define package structure (placement) of file. Will
corresponde to package structure in EPF
2c. Set <package> according to package structure from file location (or if
<o:Category> is set, this tag overrules package structure by location!)
2d. If no Metadata present, create default metadata file (using template
in directory or closest parent directory where such a template is present)
2e. Tidy each htm or html file to generate minimalistic xhtml file that
conforms to EPF style guide.
2e. Merge metadata file with xhtml file (using xsmall), creating a
content-file for each
3. Use xsmall pipeline to build one MyPlugin.xml file using all the
content-files as input
4. User must manually load MyPlugin.xml into a Library of choice

Suggestions are welcome!

Previous Topic:Extending OpenUP for SPL Development
Next Topic:Can't update EPF
Goto Forum:

Current Time: Tue Oct 13 18:42:23 GMT 2015

Powered by FUDForum. Page generated in 0.03200 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software