Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
i know the orriginal was to convert obsidian portal stuff to realmworks but it seems you have done a lot more work to the program.
Hello EightBlitz!
I have tried out finally the HTML export. Though the help commands did not work for some reason, the GUI was quite easy to use. Thanks for the great work.
I tried to export my realm for testing purposes. I was interested in the mechanics section and did a full "export" (Compact output) and chose a mechanics source file. Changed the policy settings correctly.
I encountered some issues:
1. Script did not finish the convension, due to an unexpected NULL value with a smart image:
Checked the topic in question. It has a smart image tag added which is unedfined, but has a Annotation text. This seems to be the issue. Removing the smart image snippet fixed it.
[ERROR]
Command Line: &(".\RWExport-To-HTML.ps1") -Source 'H:\RWExport\Shadowrun 1.rwoutput' -Destination '.\MyRealm.html' -Sort 2 -SimpleImageScale 0 -SmartImageScale 0 -CSSFileName 'RWExport_091b_1.5.css' -Format 'HTML' -Prefix -Suffix -Details -Indent -SeparateSnippets -Force
Reason: InvalidOperation - Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
Location: Line 1215, Character 17
Script Line: $SplitFileName = $FileName.split(".")
Topic: Bruderschafts Sektion
Section: Description
Snippet Type: Smart_Image
[/ERROR]
The same issue appeared in a second attempt with a picture snippet. No picture but annotation text. Removed the snippet to fix the issue.
2. The resulting HTML could be reviewed anyways: German umlaute and special characters don't appear correctly in the browser (äöüß), maybe there should be an option to choose a codepage (or use utf-8) also just a guess atm?
3. I also make extensive use of tables in my realm. The text from tables seems often to be garbled (overwrites itself, however the documentation states that tables are untested / not supported) Example image: http://i.imgur.com/mr4qIlD.png
I suppose that here the line breaks need to be triggered somehow, when an end of a cell has been reached.
4. Exporting to word did not work. Following error message was reported:
H:\RWExport\RWExport-To-HTML.ps1 : Das angeforderte Element ist nicht in der Sammlung vorhanden.
In Zeile:1 Zeichen:1
+ &(".\RWExport-To-HTML.ps1") -Source 'H:\RWExport\Shadowrun1.rwoutput' ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped:) [RWExport-To-HTML.ps1], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,RWExport-To-HTML.ps1
It seems to claim that the input file is not present? However it starts when going for a html file:
----
That was all for the first export attempt. Thanks again for the effort and great documentation.
First, make sure you have the current version, which is 1.5.
Second, if you're selecting Word as the output format, change your destination file to have a .doc or .docx extension.
Other than that, I'm not sure. Is anyone else besides ArgoForg having these issues?
Found the problem. For anyone getting this issue with the "= operator missing" (as reported in ArgoForg's post, the solution is to make sure you're running version 4.5 of the .Net framework and then download and install version 5.0 of Windows Management Framework. This will update PowerShell and the error will go away.
[ERROR]
Command Line: &(".\RWExport-To-HTML.ps1") -Source 'D:\Owncloud\RPG\Utilities\RWExport\SWSkills 0.2.rwoutput' -Destination 'D:\Owncloud\RPG\Utilities\RWExport\skill02.html' -Sort 4 -SimpleImageScale 0 -SmartImageScale 0 -CSSFileName 'RWExport_091b_1.6.css' -Format 'HTML' -Prefix -Suffix -Details -Indent -KeepStyles -Force
Reason: InvalidOperation - You cannot call a method on a null-valued expression.
Location: Line 741, Character 17
Script Line: $InsertPoint = $Text.IndexOf($TagPreface) + $TagPreface.Length
Topic: Brawl
Section: Overview
Snippet Type: Labeled_Text
[/ERROR]
First, EightBitz, thank you SO much for creating this!
Question: Has anyone been able to get the ExtractFiles function to work? Is there a trick to it that I'm missing? I've tried everything I can think of, but it doesn't work. It just fails (no error or anything), and subsequent attempts (until I reboot) give me an error (see attached).
Any assistance is greatly appreciated!
If it helps/matters, here's what I'm using (and yes, that folder is empty except for the CSS and the "realm_files" subfolder):
-Source 'C:\Users\russ\Documents\GAMING\Saltmarsh Campaign\_RW Info\saltmarsh_rw.rwoutput' -Destination 'C:\Users\russ\Documents\GAMING\Saltmarsh Campaign\_RW Info\saltmarsh_rw' -Sort 4 -SimpleImageScale 0 -SmartImageScale 0 -CSSFileName 'RWExport_091b_1.6.css' -Format 'HTML' -Prefix -Suffix -Indent -KeepStyles -ExtractFiles -Force
I've also tried "... -Destination 'C:\Users\russ\Documents\GAMING\Saltmarsh Campaign\_RW Info\saltmarsh_rw\'..." but that hasn't worked, either.
First, EightBitz, thank you SO much for creating this!
Question: Has anyone been able to get the ExtractFiles function to work? Is there a trick to it that I'm missing? I've tried everything I can think of, but it doesn't work. It just fails (no error or anything), and subsequent attempts (until I reboot) give me an error (see attached).
Any assistance is greatly appreciated!
If it helps/matters, here's what I'm using (and yes, that folder is empty except for the CSS and the "realm_files" subfolder):
-Source 'C:\Users\russ\Documents\GAMING\Saltmarsh Campaign\_RW Info\saltmarsh_rw.rwoutput' -Destination 'C:\Users\russ\Documents\GAMING\Saltmarsh Campaign\_RW Info\saltmarsh_rw' -Sort 4 -SimpleImageScale 0 -SmartImageScale 0 -CSSFileName 'RWExport_091b_1.6.css' -Format 'HTML' -Prefix -Suffix -Indent -KeepStyles -ExtractFiles -Force
I've also tried "... -Destination 'C:\Users\russ\Documents\GAMING\Saltmarsh Campaign\_RW Info\saltmarsh_rw\'..." but that hasn't worked, either.