Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion

Notices

Reply
 
Thread Tools Display Modes
dentaa
Member
 
Join Date: Sep 2016
Posts: 55

Old March 3rd, 2017, 03:22 AM
Not an employee of Wolflair, but as a database developer... I would add this..

1. Is there an intention to add the ability to print any screen (topic/article) from within realmworks at some point?
2. Is there an intention to add a bulk import feature (spreadsheet, etc.) of some sort?
3. Is there any intention to release an API or open up mod support for features that are missing?
4. Is there any intention to include spellcheck?
5. Is there a "Hot List" anywhere that shows what features are being slotted for the future, etc?


1a. I think a report option could be added without too much difficulty to most database structures.
1b. I would like this but I don't think its a top tier issue but something on the wish list.
2. There are many applications out there that will convert documents into XML. I have played with this simply importing spreadsheets into Filemaker then exporting the XML structure. I have dabbled with local copies. It has not been pretty, but I haven't spent a lot of time doing it. I expect this could be done, but unless you had documentation from Wolflair, which I don't think they would need to spend time developing for public release given the nature of the product, it would be difficult.
3. API's can built for nearly anything. I don't see Wolflair going to the trouble to do this for numerous reasons. While I have not examined a local database I doubt Wolflair has any restrictions on access to the underlying database. Would I want to go in and write the classes and configurations for a those models? No thank you. But if you wanted it, I expect you could play with a local copy.
4. Spellcheck would be a nightmare as there are so many made up words, names etc. If I were the developer I would say set word up to learn your names, places, items and spells then cut and paste.
5. They have covered this on the website, I think last update was early 2016. Post Content Market Release I would like to see that list myself.

Last edited by dentaa; March 3rd, 2017 at 03:28 AM.
dentaa is offline   #21 Reply With Quote
Silveras
Senior Member
 
Join Date: Aug 2010
Posts: 1,528

Old March 3rd, 2017, 07:27 AM
Quote:
Originally Posted by EightBitz View Post
Maybe I misread it, but I thought kb's question was generally in regards to "Why would ANYONE pull data from CSVs when they can just export the CSV to an XML?"
Yeah, he asked "How" not "why".

I see people looking at XML as some kind of magical format that, once data is in XML, everything is easy. That's a fairly naive view.

XML is a very flexible format for exchanging data between systems. Part of its value is that it is "self-describing", meaning that the XML file internally can tell you what kind of content is acceptable in a given record.

But what really makes XML shine for data exchange is having a DTD or XSD .. a definition of what is supposed to be in the XML data file. It specifies what records are required, which ones can appear more than once, what values they can have, and more. And those documents often represent agreement within an industry on a standard for data exchange... that's where XML becomes really valuable.

With a DTD or XSD (I forget the specific name DTD stands for, but XSD is "XML Schema Document"), programmers working on System A can write an export for data from System A, and programmers for any other system can write an import routine that can read that file and import it. If the XML document does not match what the DTD or XSD defines, it is "malformed" and will cause problems. The DTD or XSD can be used to "check" (validate) the document before attempting import and avoid having the import blow up in the middle of the attempt.

But the key here is that people ... programmers... still have to write both export and import routines that use that DTD or XSD as the guide. -- And, on this note, this is what is missing for data exchange between various VTT programs, or VTTs and other programs : an agreed-upon industry-standard definition of the data to exchange. (Not that it would be all that easy .. each Game System might well require a separate one because the underlying differences are too great.)

So exporting a spreadsheet (or anything else) to auto-generated XML as a file format isn't all that helpful. Because it is really just a heavily-annotated text file at that point. Someone would still have to do the steps you, EightBitz, are preforming ... pre-processing the raw XML into a form that matches the DTD or XSD.
Silveras is offline   #22 Reply With Quote
Farling
Senior Member
 
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623

Old March 3rd, 2017, 08:36 AM
Quote:
Originally Posted by Silveras View Post
So exporting a spreadsheet (or anything else) to auto-generated XML as a file format isn't all that helpful. Because it is really just a heavily-annotated text file at that point. Someone would still have to do the steps you, EightBitz, are preforming ... pre-processing the raw XML into a form that matches the DTD or XSD.
That is what I've been working on. I use a simple web site to convert a CSV into an XML file. The XML file merely has a row element inside of which are child elements. The name of each child element is the CSV "header".

I then use an XSLT to transform XML from that row/cell export format into the XML format required by RealmWorks.

This translation requires deciding where each of the CSV columns needs to be put into a RealmWorks topic. (This is the complicated step.)

The XSLT script generates another XML file which is in the RWEXPORT file format, so it can be directly imported into an existing realm.

----

Separately I have done a similar XSLT to convert the XML file used by the Obsidian Portal web site as a backup format, and remapped their fields into the appropriate fields for an RWEXPORT file.
Farling is offline   #23 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,690

Old March 3rd, 2017, 12:46 PM
Quote:
Originally Posted by Silveras View Post
Yeah, he asked "How" not "why".

I see people looking at XML as some kind of magical format that, once data is in XML, everything is easy. That's a fairly naive view.

XML is a very flexible format for exchanging data between systems. Part of its value is that it is "self-describing", meaning that the XML file internally can tell you what kind of content is acceptable in a given record.

But what really makes XML shine for data exchange is having a DTD or XSD .. a definition of what is supposed to be in the XML data file. It specifies what records are required, which ones can appear more than once, what values they can have, and more. And those documents often represent agreement within an industry on a standard for data exchange... that's where XML becomes really valuable.

With a DTD or XSD (I forget the specific name DTD stands for, but XSD is "XML Schema Document"), programmers working on System A can write an export for data from System A, and programmers for any other system can write an import routine that can read that file and import it. If the XML document does not match what the DTD or XSD defines, it is "malformed" and will cause problems. The DTD or XSD can be used to "check" (validate) the document before attempting import and avoid having the import blow up in the middle of the attempt.

But the key here is that people ... programmers... still have to write both export and import routines that use that DTD or XSD as the guide. -- And, on this note, this is what is missing for data exchange between various VTT programs, or VTTs and other programs : an agreed-upon industry-standard definition of the data to exchange. (Not that it would be all that easy .. each Game System might well require a separate one because the underlying differences are too great.)

So exporting a spreadsheet (or anything else) to auto-generated XML as a file format isn't all that helpful. Because it is really just a heavily-annotated text file at that point. Someone would still have to do the steps you, EightBitz, are preforming ... pre-processing the raw XML into a form that matches the DTD or XSD.
In case there was any doubt remaining, this!

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is offline   #24 Reply With Quote
Strategon
Member
 
Join Date: Dec 2013
Posts: 39

Old March 3rd, 2017, 02:03 PM
Quote:
Originally Posted by kbs666 View Post
In case there was any doubt remaining, this!
You're missing the point. The point is not how a bulk import is made available; the point is there is not one so it has been left to users to mod a power-shell work around for something that is missing. Grant you, users who do stuff like this are worth their weight in gold; the emphasis is on the missing feature that really should be there.

For that matter, I would appreciate a clear channel of communication without having to search through a plethora of posts to find such details. o.O
Strategon is offline   #25 Reply With Quote
MaxSupernova
Senior Member
 
Join Date: Mar 2014
Posts: 411

Old March 3rd, 2017, 02:31 PM
Nice to see my spirit lives on.
MaxSupernova is offline   #26 Reply With Quote
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,690

Old March 3rd, 2017, 02:35 PM
Quote:
Originally Posted by Strategon View Post
You're missing the point. The point is not how a bulk import is made available; the point is there is not one so it has been left to users to mod a power-shell work around for something that is missing. Grant you, users who do stuff like this are worth their weight in gold; the emphasis is on the missing feature that really should be there.

For that matter, I would appreciate a clear channel of communication without having to search through a plethora of posts to find such details. o.O
You don't get it.

How would someone go about coding a bulk import feature? I've been writing software, specifically database oriented software, for more than 20 years and I have no idea how you could take in a random .csv and spit out a realm. The fact is, as Silveras already explained, the process we have now is the closest we are ever likely to get in regards to bulk import.

Right now with the right XLST you can transform a properly formatted spreadsheet into a rwexport file and import it. What more can you ask for?

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is offline   #27 Reply With Quote
Silveras
Senior Member
 
Join Date: Aug 2010
Posts: 1,528

Old March 3rd, 2017, 04:30 PM
Quote:
Originally Posted by Strategon View Post
You're missing the point. The point is not how a bulk import is made available; the point is there is not one ...
Uh.. no.

The XSD that LWD has provided is the bulk import option.
Silveras is offline   #28 Reply With Quote
AEIOU
Senior Member
 
Join Date: Jan 2012
Posts: 1,147

Old March 3rd, 2017, 04:40 PM
Considering that printing was an extremely low priority, export to an external source was only going to be implemented if RW stopped development and import from an external source was never on the to-do list as far as I can remember, I think LWD has knocked it out of the park and bent over backwards for us. I'm still stunned and giddy about this.
AEIOU is offline   #29 Reply With Quote
daplunk
Senior Member
 
Join Date: Jan 2016
Location: Adelaide, Australia
Posts: 2,294

Old March 3rd, 2017, 05:17 PM
I dint think it was for us as all �� I think the communities ability to turn around the bulk import as fast as it did probably surprised Rob as much as it did us. I also think we are all going to need to be a bit patient with what comes next. Our Realms have been isolated and safe up until now. What comes next can't be predicted 100%. There's going to be alot more data and alot more chance of bugs as a result of all the change we are capable of making. It's going to be really interesting. But this is why the content market isn't here yet. Rob is doing his best to predict what happens next and is focussing on destroying every bug before that happens. He's focussed on the foundation which none of us really take into consideration with our wants and needs. But honestly, what we all need is what Rob and team are delivering. A rock solid foundation to build our imaginations upon.

Realm Works - Community Links
Realm Work and Hero Lab Videos
Ream Works Facebook User Group
CC3+ Facebook User Group

D&D 5e Community Pack - Contributor
General Hero Lab Support & Community Resources
D&D 5e Community Pack - Install Instructions / D&D 5e Community Pack - Log Fault / D&D 5e Community Pack - Editor Knowledge Base

Obsidian
Obsidian TTRPG Tutorials
daplunk is offline   #30 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:26 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.