This is the first github based SPLOT for randomizing the possible words to make up nebulous acronyms like SPLOT first done in a hard coded way you can see in the header of this site.
SPLOTs need not be just WordPress!
See https://cogdog.github.io/permutator for a “stunning” demo where you can see maybe what “COGDOG” stands for.
Ah, but now we have a new twist. Rather than having the word choices being hard coded in a file, they are defined by json files in the
/wordsrc directory on this site.
Try this reproduction of the original SPLOT mix
and a favorite pal
Specifications for JSON Format
this is rough now, needs refinement for sure!
The URl parameter for
wordsrc= specifies the name of a json data file in the
wordsrc/ directory so a file named
felix.json is requested by the URL https://cogdog.github.io/permutator/?wordsrc=felix
To create your own permutator, you could download the GitHub repo and run from your own server. Then, make versions of the data files in the
/wordsrc directory. OR… and even more fun, just add your own files as a pull request to https://github.com/cogdog/permutator.
Download a copy of an existing data file, modify to fit your own permutating message, and submit as a pull request. The json data fields are:
title: The main title that appears in yellow
background: The background image; either local if uploaded to the
images directory or a full URL to source image
attribution: credit for image, added to the footer
allwords: an array of arrays for the word choices (see an example)
It’s still a bit of a work in progress, but at least it’s proof that SPLOTs are not limited to WordPress.
Get Your SPLOT here
- Get theme and documentation (GitHub)