DnDAppFiles icon indicating copy to clipboard operation
DnDAppFiles copied to clipboard

HTML Spell List similar to DM's Screen

Open oldbie opened this issue 7 years ago • 2 comments

I'm wondering how difficult it would be to create a searchable HTML list of spells that draws from the various spell XML files. That would be immensely helpful for at-the-table spell casting, when I'd rather pull it up in my browser than in GM5.

Conversely, if someone knows of a way to easily parse those XMLs for searching/reading in a browser, that might work, too.

Thanks again for the amazing resource. I'm forever indebted!

oldbie avatar Jun 20 '17 15:06 oldbie

I think you'll have to write that yourself. I understand this repo is exclusively focused on files that are directly compatible with the GM5 app suite.

Conversely, you could just script a conversion of your own. And there are plenty of XMl to HTML converters online.

nonplayer avatar Jun 24 '17 02:06 nonplayer

You can use javascript embedded in HTML to load and display the contents of XML files. Then you can just write your HTML viewer once and overwrite the XML files when they change. Here's an example... https://www.w3schools.com/xml/ajax_applications.asp

NeilMartin avatar Jun 24 '17 17:06 NeilMartin