IF/THEN Logic...
-
Update I re-posted this in the Ideas and Development forum where this is more appropriate. I cannot delete it here, so please go there with any replies, etc.
We need to somehow incorporate IF/THEN or rules login into the theming engine. Perhaps this can be controlled through the various XML files...?Such that, if certain values passed by XML content isn't properly formatted, or escaped somehow, the theme will respond accordingly. Like if instead of <releasedate>19851018T000000</releasedate> in a gamelist.xml file, it reads <releasedate>VARIOUS</releasedate>, the theme will return the text instead of a date?IF <releasedate> != "" { RETURN <releasedate>; } ELSE { RETURN "VARIOUS"; }
or something like that? Is this possible?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.