Author Topic: (semi-)migrating to google spreadsheets  (Read 2251 times)

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
(semi-)migrating to google spreadsheets
« on: June 26, 2013, 05:03:18 AM »
So, a very good guy has made tabletop.js, which draws data from google spreadsheets. Then using javascript, an html page is generated dynamically, based on the data stored there.

The end result is this: http://dictummortuum.droppages.com/testing

The pages may end being a little slower, but it's still fast enough when I tested it.

The reason for doing such a thing is to have a clean html file in order to edit them easier. For example, the html file in the above page, without counting the javascript code, is this:

Code: [Select]
<div id="page-wrap">
<div class="info-col">

<p id="catpicker"><a href="#" id="allcat" class="curr">All</a> | <a href="#" id="red" class="filter">Bad</a> | <a href="#" id="black" class="filter">Average</a> | <a href="#" id="blue" class="filter">Good</a> | <a href="#" id="navy" class="filter">Perfect</a></p>

<p id="indexlinks"><a href="#general">General Feats</a> | <a href="#spellsgeneral">General Spell Feats</a> | <a href="#summoning">Summoning Feats</a> | <a href="#martial">Martial Study/Martial Stance</a></p>
<h1>Paladin Guide</h1>

<h3>Attributes</h3>
<dl id="attributes"></dl>
<h3>Races</h3>
<dl id="races"></dl>
<h3>Class Features</h3>
<dl id="classFeatures"></dl>
<h3>Alternative Class Features</h3>
<dl id="alternativeClassFeatures"></dl>
<h3>Feats</h3>
<dl id="feats"></dl>

</div>
</div>

Moreover, I'm planning to revive CubeKnight's critter database using google spreadsheets. It will be a LOT slower, since it will not be a regular database (unfortunately I can't host it anywhere), but it's better to have the functionality than not.

Tell me what you think :D
Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline Amechra

  • Epic Member
  • ****
  • Posts: 4560
  • Thread Necromancy a specialty
    • View Profile
Re: (semi-)migrating to google spreadsheets
« Reply #1 on: June 26, 2013, 12:52:18 PM »
I like it; is there any way that you can include the write-ups for each component? (I.e., why a given race is bad, and so on and so forth.)

EDIT: If no-one is adverse, I might do the above with the Soulmeld handbook.
« Last Edit: June 26, 2013, 12:56:07 PM by Amechra »
"There is happiness for those who accept their fate, there is glory for those that defy it."

"Now that everyone's so happy, this is probably a good time to tell you I ate your parents."

Offline Dictum Mortuum

  • Sr. Member
  • ***
  • Posts: 467
    • View Profile
Re: (semi-)migrating to google spreadsheets
« Reply #2 on: June 26, 2013, 02:00:24 PM »
I like it; is there any way that you can include the write-ups for each component? (I.e., why a given race is bad, and so on and so forth.)

EDIT: If no-one is adverse, I might do the above with the Soulmeld handbook.

Click on a box :D
Also, there's a "drop everything down" function if you press the "Paladin Guide" header. It might require that you press it twice the first time, I need to fix that.
Dictum Mortuum's Handbooks: My personal character optimization blog.

Offline nijineko

  • DnD Handbook Writer
  • ****
  • Posts: 2413
  • two strange quarks short of a graviton....
    • View Profile
    • TwinSeraphim
Re: (semi-)migrating to google spreadsheets
« Reply #3 on: June 26, 2013, 02:35:04 PM »
very interesting... i can see some nifty potential for my gaming group, epicfetch.

Offline JohnnyMayHymn

  • Hero Member
  • ***
  • Posts: 762
  • Former Lord of the Kitchen Sink
    • View Profile
Re: (semi-)migrating to google spreadsheets
« Reply #4 on: June 27, 2013, 03:45:39 AM »
nice ... does it really help you play jazz piano?
The Emperor
Can you find the Wumpus?