replace many more obsolete a name tags with div

This HTML is now obsolete in HTML 5:

```html
<a name="faq0"></a>Section 0: Submitting entries to a new IOCCC
```

Instead we need to use the div HTML elements:

```html
<div id="faq0">Section 0: Submitting entries to a new IOCCC</div>
```

Changed `bin/gen-authors.sh` VERSION from to "1.5 2024-04-15"
to "1.6 2024-04-15".

Changed `bin/gen-location.sh` VERSION from to "1.1.3 2024-04-13"
to "1.2 2024-04-15".

Changed `bin/gen-years.sh` VERSION from to "1.1.1 2024-04-13"
to "1.2 2024-04-15".

Changed `bin/output-index-author.sh` VERSION from to "1.6.1 2024-04-13"
to "1.7 2024-04-15".

Changed `bin/output-index-inventory.sh` VERSION from to "1.2.5 2024-04-13"
to "1.3 2024-04-15".

Changed `bin/output-year-index.sh` VERSION from to "1.2.2 2024-04-14"
to "1.3 2024-04-15".

Changed `bin/status2html.sh` VERSION from to "1.1.4 2024-04-13"
to "1.2 2024-04-15".

Run `make www` to perform the above.

TODO: Check this fix with the Nu HTML 5 validator.

TODO: Look for other HTML 5 warnings and errors.
This commit is contained in:
Landon Curt Noll committed 2024-04-15 17:52:21 -07:00
1 parent 783f6550a7
commit 476b0d45f0
394 files changed
+4723 -2594

No files matched your search

+5 -5
View File
@@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.5 2024-04-15"
export VERSION="1.6 2024-04-15"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -829,9 +829,9 @@ EOF
# output the letter header
#
l="$sort_word"
echo "<!-- $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l -->"
echo "## <a name=\"$l\"></a>${IS_FOR[$l]}"
echo "<!-- $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l -->"
echo "<div id="$l"><!-- $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l -->"
echo "## ${IS_FOR[$l]}"
echo "<!-- $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l $l --></div>"
echo
# case: we have a "sort_word file" line
@@ -891,7 +891,7 @@ EOF
# output author information
#
echo "<p><a name=\"$AUTHOR_HANDLE\"></a>**$FULL_NAME**"
echo "<p><div id=\"$AUTHOR_HANDLE\">**$FULL_NAME**</div>"
echo "author_handle: $AUTHOR_HANDLE"
if [[ $LOCATION_NAME == "$LOCATION_COMMON_NAME" ]]; then
echo "Location: [$LOCATION_CODE](location.html#$LOCATION_CODE) -" \
+3 -3
View File
@@ -84,7 +84,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.1.3 2024-04-13"
export VERSION="1.2 2024-04-15"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -500,9 +500,9 @@ fi
# output markdown entry for this location
#
if [[ $LOCATION_NAME == "$LOCATION_COMMON_NAME" ]]; then
echo "* <a name=$LOCATION_CODE></a>**$LOCATION_CODE** - _${LOCATION_NAME}_"
echo "* <div id=$LOCATION_CODE>**$LOCATION_CODE** - _${LOCATION_NAME}_</div>"
else
echo "* <a name=$LOCATION_CODE></a>**$LOCATION_CODE** - _${LOCATION_NAME}_ (_${LOCATION_COMMON_NAME}_)"
echo "* <div id=$LOCATION_CODE>**$LOCATION_CODE** - _${LOCATION_NAME}_ (_${LOCATION_COMMON_NAME}_)</div>"
fi
echo
echo " Author count: **$AUTHOR_COUNT**"
+7 -4
View File
@@ -83,7 +83,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.1.1 2024-04-13"
export VERSION="1.2 2024-04-15"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -665,10 +665,11 @@ for YYYY in $("$TAC_TOOL" "$TOP_FILE"); do
#
{
ORDINAL=$(output_ordinal "$YEAR_COUNT")
echo "## <a name=$YYYY></a>$YYYY - The $ORDINAL IOCCC"
echo "<div id=\"$YYYY\">"
echo "## $YYYY - The $ORDINAL IOCCC"
echo
echo "**About** the [$ORDINAL IOCCC]($YYYY/index.html)<br>"
echo "**Download** all [$YYYY IOCCC entry source]($YYYY/$YYYY.tar.bz2)"
echo "**Download** all [$YYYY IOCCC entry source]($YYYY/$YYYY.tar.bz2)</div>"
echo
} | if [[ -z $NOOP ]]; then
cat >> "$TMP_YEARS_MD"
@@ -828,7 +829,9 @@ done
# write year_level links to all the year level tarballs
#
{
echo '## <a name="year_level"></a><a name="inventory"></a>IOCCC Year level tarballs'
echo '<div id="year_level"><div id="inventory">'
echo '## IOCCC Year level tarballs'
echo '</div></div>'
echo
for YYYY in $("$TAC_TOOL" "$TOP_FILE"); do
echo "* Download all [$YYYY IOCCC entry source]($YYYY/$YYYY.tar.bz2)<br>"
+5 -3
View File
@@ -101,7 +101,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.6.1 2024-04-13"
export VERSION="1.7 2024-04-15"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -772,11 +772,13 @@ fi
{
AUTHOR_COUNT=$(echo "$AUTHOR_HANDLE_SET" | wc -l)
export AUTHOR_COUNT
echo '<div id="author">'
if [[ $AUTHOR_COUNT -gt 1 ]]; then
echo '## <a name="author"></a>Authors:'
echo '## Authors:'
else
echo '## <a name="author"></a>Author:'
echo '## Author:'
fi
echo '</div>'
} | if [[ -z $NOOP ]]; then
cat >> "$TMP_FILE"
else
+4 -2
View File
@@ -101,7 +101,7 @@ shopt -s globstar # enable '**' to match all files and zero or more directories
# set variables referenced in the usage message
#
export VERSION="1.2.5 2024-04-13"
export VERSION="1.3 2024-04-15"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -522,7 +522,9 @@ if [[ -z $NOOP ]]; then
# Any inventory_order that is 1 to 9 decimal digits is considered a primary file.
# Any inventory_order that is 10 or more decimal digits is considered a secondary file.
#
echo '# <a name="inventory"></a>Inventory for' "$YYYY_DIR"
echo '<div id="inventory">'
echo '# Inventory for' "$YYYY_DIR"
echo '</div>'
echo
echo '<a href="#top">Jump to top</a>'
echo
+4 -2
View File
@@ -108,7 +108,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.2.2 2024-04-14"
export VERSION="1.3 2024-04-15"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -550,7 +550,9 @@ fi
# output leading markdown for this IOCCC year
#
{
echo "# <a name=inventory></a><a name=$YYYY></a>Winning Entries of $YYYY - The $ORDINAL IOCCC"
echo "<div id=\"inventory\"><div id=\"$YYYY\">"
echo "# Winning Entries of $YYYY - The $ORDINAL IOCCC"
echo '</div></div>'
echo
echo "**Download** all [$YYYY IOCCC entry source]($YYYY/$YYYY.tar.bz2)"
echo
+4 -2
View File
@@ -99,7 +99,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an
# set variables referenced in the usage message
#
export VERSION="1.1.4 2024-04-13"
export VERSION="1.2 2024-04-15"
NAME=$(basename "$0")
export NAME
export V_FLAG=0
@@ -467,7 +467,9 @@ esac
# write status.json content
#
echo '# <a name="content"></a>status.json'
echo '<div id="content">'
echo '# status.json'
echo '</div>'
echo '```json'
cat "$STATUS_JSON"
echo '```'