berteh / mindslide

View Freeplane mindmap as an HTML presentation (aka freemind to powerpoint slideshow)
http://berteh.github.io/mindslide/
60 stars 19 forks source link

after I installed freeplane and mindslide with reveal.js and after exporting to mind slide, The created open as plain text. #14

Closed freeplanemindslide closed 8 years ago

freeplanemindslide commented 10 years ago

I've extracted the two zip folders and placed the reveal.js in mindslide then I copied mindslide/mindslide.xsl, mindslide/config.xml and mindslide/reveal-configuration.xsl into your freeplane/resources/xslt directory. afterthat and when exporting to mindeslide the file created opens in firefox as a plain text

freeplanemindslide commented 10 years ago

untitled

freeplanemindslide commented 10 years ago

please any help as I'm really interested in using this fantastic feature.

berteh commented 10 years ago

hello. sorry to read you encountered problems.

From the screenshot I think firefox does open the file as html (since your have bold titles, colored hyperlinks and formated code blocks)... but seems like the css and js files are not loaded.

I guess the adress for the css and js in your system do not match that of the current file location... did you save this exported mindmap into the mindslide folder?

could you please copy-paste here the beginning of your file in "source" mode (hit ctrl+u and paste here everything between the <html and <body tags.

B.

freeplanemindslide commented 10 years ago

yeah that's completely true. the html file and the mindeslide folder, css and js, should be in the same directory. I figured out by myself and I was here to write it when I saw your response was already there. thank u. another thing pls, why mindeslide dont creat a presentation silde for a node that doesnt have a child node? Btw, is there any way to make a single file the run the presentation without any dependency on other files?? I know html doesn't work that way but I'm considering sharing those presentation with people in an easier way, in a simple one file containing all the images and the txt. I'm not sure but I think java is capable of generating .exe files and freeplane is based on java. so is there anyway to make it work. I agree this question should be in freeplane page but u guys are interested in presentation export in a nice and attractive way. Thats what makes u the guys to be asked for such a feature :)

berteh commented 10 years ago

is there any way to make a single file the run the presentation without any dependency on other files?

indeed html does not work that way, and I (unfortunately) don't have the time to develop this kind of packaging functionnality.

If you want to try I would recommend to

  1. add a tiny webserver in your mindslide directory (eg mongoose.exe)
  2. export all the mindmaps you want to share (with their images) in your mindslide directory
  3. create a self-extracting archive out of the mindslide directory (with 7-zip)

and tell your users to execute this archive, run "mongoose.exe", right-click the mongoose icon and select "open my web location"... tadaaaah, should work ;)

if 3 clicks is too much you should remove last step, and create an installer instead (either with NSIS or 7zS

good luck with this. If you ever do it, please post your feedback here for other users!

scaprile commented 8 years ago

Hi, sorry to reopen this, I think it is the best place but I might be wrong. There have been changes in reveal.js and your git master as recommended in the "how to install" slide in the demo don't work with reveal out of the box anymore. I had to manually modify the generated (exported) html so it points to existent files, cause referenced files are not there anymore

$ diff freeplaneTutorial.html freeplaneTutorial_works.html
12,13c12,13
< <link rel="stylesheet" href="reveal.js/css/reveal.min.css">
< <link rel="stylesheet" id="theme" href="reveal.js/css/theme/default.css">
---
> <link rel="stylesheet" href="reveal.js/css/reveal.css">
> <link rel="stylesheet" id="theme" href="reveal.js/css/theme/black.css">
37,40c37,40
< <!--
<             [if lt IE 9]>
<             <script src="reveal.js/lib/js/html5shiv.js"></script>
<             <![endif]
---
> <!--
>             [if lt IE 9]>
>             <script src="reveal.js/lib/js/html5shiv.js"></script>
>             <![endif]
215,216c215,216
< <a href="Images/mouse/mouse_RB.png" class="image" title="Background
< context menu"><img src="Images/mouse/mouse_RB.png" alt="Background
---
> <a href="Images/mouse/mouse_RB.png" class="image" title="Background
> context menu"><img src="Images/mouse/mouse_RB.png" alt="Background
2849c2849
< <script src="reveal.js/lib/js/head.min.js"></script><script src="reveal.js/js/reveal.min.js"></script><script>
---
> <script src="reveal.js/lib/js/head.min.js"></script><script src="reveal.js/js/reveal.js"></script><script>
$

Regards

berteh commented 8 years ago

thanks @scaprile for the info and investigations!

I'll update the package. next time don't hesitate to open a new issue, instead of trying to find an old one.

scaprile commented 8 years ago

Well, this thread led me in the right direction to find the cause (I'm not fluent in css and classes, I'm an old school engineer), so I thought this was the best place for others to find it until you fixed it. Cheers.

berteh commented 8 years ago

@scaprile should be fixed now. kindly re-download and check. thanks again for the report. B.