Hi Vincent,
I changed the name of the project to XFS as you proposed and move the
Github repo to the new name [1]. I hope it'll be fine for 'xwiki-contrib'.
I was not aware about the attempt of Fabio but I was aware of Caleb's
one and already used it in some project. Him and me discussed a few
times the nice parts about its tools and some of the problems he had.
XFS is clearly inspired from this solution proposed by Caleb except that
I tried to be closer from the technologies used in XWiki (Maven, Java,
Filter Module, XWiki XML Schema of REST API).
PS: I've updated the page you gave [2] with links for Caleb's solution.
[1]
Hi Jean,
On 20 Aug 2015 at 09:34:22, Jean SIMARD
(jean.simard@xwiki.com(mailto:jean.simard@xwiki.com)) wrote:
Hi devs,
Lately, I've been working on some sort of new format to import
information in XWiki [1] (I'm not that comfortable with editing XAR
format with my text editor). You'll find an example of this format in
the testing procedure of my module [2]. To create this format, I used
the XML Schema described in the REST API of XWiki [3]. To code the
importer, I've used the filter module [4]. I've also create a REST
service in order to import through REST (using filters) [5].
This topic is an old one: we’ve been wanting to have an easy file system
format for xwiki pages for a long time, in order to make it easier to
edit content (editing XWiki XML format is not very easy to say the
least, especially for attachments for example!).
So it’s cool that you started working on this and using the Filter
Module is great!
I guess we should rework the import/export pages in the future to allow
using any Filter implementation (import from XAR, import from another
wiki, etc). This would also allow extensions to contribute new formats too.
FTR there have been several experiments in the past too:
* Fabio had started something similar here:
http://design.xwiki.org/xwiki/bin/view/Design/DirectoryStructureforXWikiApp… (it
links to
https://github.com/fmancinelli/xwikifs)
* I know Caleb also did something in javascript but I don’t have a link.
I'd like that project be a part of
xwiki-contrib. At the moment, I've
called it 'api-xwf'. Maybe 'api-xwiki-format' would be more self
explicit. If you'd prefer something else, please let me know.
It would be great if you could find a more specific name since there
could be several xwiki page formats. “api-xfs” for example, where XFS
would stand for XWiki FileSystem Format.
Thanks
-Vincent
https://github.com/woshilapin/api-xwf/tree/master/xwf-filter-stream/src/tes…
[3]
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
_______________________________________________
devs mailing list
devs(a)xwiki.org