Menu

#88 Settle HTML 5 plugin licensing and used resources

Current_release
open
nobody
None
1
2014-08-06
2013-09-03
Radu Coravu
No

The HTML 5 plugin has about 21 MBs dimension, most of which is located in some image files from a project called "960js" copied inside it.
If there are resources which are not useful when building the output, maybe they should be removed from the D4P ZIP archive.

In the folder:

net.sourceforge.dita4publishers.html5\libs\modules\960js\licenses

there are some licenses, one GPL and one MIT, it is probably dual licensed.
Are there any other components used in the HTML5 plugin for which licenses have not been provided?
The DITA For Publishers plugins should remain under Common Public License v1.0 so probably all other open source components used in it should have licenses which allow for this (MIT is fine I think).

Discussion

  • Bertrand Lefort

    Bertrand Lefort - 2014-07-29

    Hi Radu,

    Just see that post - sorry. The work on the html5 plugin was still preliminary at this step.

    The HTML5 plugin itself is under Apache 2.0 license.
    The HTML5 default theme use numerous css and js libraries that are under various licenses that should normally all be compatible the the CPL license. The information is up to date in the latest documentation (see at the end of this post)

    I keep a copy of the libraries because if you run the plugin with args.debug set to yes,
    the plugin copy the libraries in the output and create on reference for each file in the final html (link or script) so you can easily debug the css and javascript code. Once the code is developed, you can copy back the library to the plugin location, rebuild. All the css and javascript will be concatenated and compressed according the specification in the theme.xml. The builded theme is cached, so it is not required to have the libraries unless you want to do development.
    That looks complex, but this is the only way I know to bring HTML5 web development into the plugin.

    That being said, it is not required to used the default theme with the HTML5 plugin. You could also design your own theme with the libraries of your choice.

    You can have a look at the work in progress here (will be merged into the DITA 4 Publishers project when stable enough and ready)
    https://github.com/uo-hrsys/net.sourceforge.dita4publishers.html5

    Here is an example of a complete different theme using the same plugin but with the foundation framework (work still preliminar)
    https://github.com/blefort/net.sourceforge.dita4publishers.html5.foundation

    Regards

    Bertrand

     
  • Anonymous

    Anonymous - 2014-08-06

    Hi Bertrand,

    Thanks for the answers, I'll probably look more into this when a stable DITA 4 Publishers version is released.

    Regards,
    Radu

     
  • Radu Coravu

    Radu Coravu - 2014-08-06

    Hi Bertrand,

    Thanks for the answers, I will look more into this when a stable DITA 4 Publishers version gets released.

    Regards,
    Radu

     

Anonymous
Anonymous

Add attachments
Cancel