diff --git a/README.md b/README.md index 72997b8b..a68517aa 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,14 @@ for a Fate Accelerated character, or ./publish_fcs.sh some_character_file.xml for a Fate Core System character. Other publish scripts may be created for -various alternative rule options from Fate System Toolkit or elsewhere. +various alternative rule options from Fate System Toolkit or elsewhere, and +there is also a generic `publish.sh` that depends on a default XSL stylesheet +being defined in the given XML document. Output (currently just HTML) is rendered into the `out` directory. Validation is also available: - ./validate_fae.sh some_character_file.xml - ./validate_fcs.sh some_character_file.xml + ./validate.sh some_character_file.xml Other useful URLs: - http://www.faterpg.com/ diff --git a/characters/validate_fae.sh b/characters/validate.sh similarity index 75% rename from characters/validate_fae.sh rename to characters/validate.sh index ef84e6ec..eb881744 100755 --- a/characters/validate_fae.sh +++ b/characters/validate.sh @@ -8,5 +8,5 @@ if [ $# -eq 0 ] ; then fi for file in $@; do - xmllint --noout --dtdvalid ../fae.dtd $file + xmllint --noout $file done diff --git a/characters/validate_fcs.sh b/characters/validate_fcs.sh deleted file mode 100755 index f364f651..00000000 --- a/characters/validate_fcs.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -if [ $# -eq 0 ] ; then - echo - echo "Usage: $(basename $0) some_file(s).xml" >&2 - echo - exit 1 -fi - -for file in $@; do - xmllint --noout --dtdvalid ../fcs.dtd $file -done