PDA

View Full Version : HTML Export issue


igoldsmid
07-23-2008, 03:38 PM
Hi

I followed all the instructions in the thread: "Exporting UR tree, documents and text to HTML" - http://www.kinook.com/Forum/showthread.php?threadid=2054

Then finally the instruction to run: ConvertToHTML.vbs

When I do this the file just opens in my Text Editor program.

How do I get it to actually run instead and perform the conversion?

Thanks,

IJG

kinook
07-23-2008, 03:44 PM
Right-click on ConvertToHTML.vbs, choose Open With -> Choose Program, Browse to and select C:\Windows\System32\cscript.exe and click OK (also check 'Always use the selected program to open this kind of file' if you want double-click to automatically use this, or choose Open With -> Microsoft (R) Windows Based Script Host in the future).

igoldsmid
07-23-2008, 04:14 PM
Thanks - however still not working. When I click to open it cannot find toc.html

There is no file of that name in the path where I created the export: C:\Documents and Settings\Ian Goldsmid\Desktop\UR Export\export.xml

kinook
07-23-2008, 04:21 PM
Try opening a Command Prompt (Win+R, cmd<Enter>), and in it, enter a command of

cd "C:\Documents and Settings\Ian Goldsmid\Desktop\UR Export"<Enter>

then

cscript ConvertToHTML.vbs<Enter>

igoldsmid
07-23-2008, 05:02 PM
that worked but then the index.html is blank - it has two panes but no content

igoldsmid
07-23-2008, 05:42 PM
i am trying a few more times and now, using CMD I am getting the error:
"Input Error: There is no script engine for file extension .vbs...

But VBS is now clearly associated with cscript.exe

for example in Folder Options - File Types .vbs opens with Microsoft Console Based Script Host...

I can now also double click ConvertToHTML.vbs - see a CMD window momentarily appear/disappear - but with no creation of toc.html

kinook
07-24-2008, 10:07 AM
Originally posted by igoldsmid
that worked but then the index.html is blank - it has two panes but no content Please ZIP and send your exported folder tree (export.xml, toc.html, and export_ folders).

kinook
07-24-2008, 10:10 AM
Originally posted by igoldsmid
i am trying a few more times and now, using CMD I am getting the error:
"Input Error: There is no script engine for file extension .vbs...
Some possibilities: http://www.google.com/search?q=%22Input%20Error:%20There%20is%20no%20scr ipt%20engine%20for%20file%20extension%20.vbs

igoldsmid
07-24-2008, 02:08 PM
Originally posted by kinook
Please ZIP and send your exported folder tree (export.xml, toc.html, and export_ folders).

too large

kinook
07-24-2008, 03:57 PM
There was a problem if the exported content contained non-ASCII characters. The ZIP attachment in that thread has been updated with a fix.