Introduction
Introduction Statistics Contact Development Disclaimer Help
potcasse: rename LANG to LANGUAGE to avoid collapsing into variables used to de…
git clone git://bitreich.org/potcasse git://hg6vgqziawt5s4dj.onion/potcasse
Log
Files
Refs
Tags
README
LICENSE
---
commit cb2c3425cbac85e6bdf7186504364d61814cbc6e
parent fd7b98138c854d8b637b6260f7f3c9cd43c68cd5
Author: Solene Rapenne <[email protected]>
Date: Tue, 20 Jul 2021 23:23:33 +0200
potcasse: rename LANG to LANGUAGE to avoid collapsing into variables used to de…
Diffstat:
M README.md | 1 +
M potcasse | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/README.md b/README.md
@@ -28,6 +28,7 @@ It has the following variables:
+ `SITE`: base HTTP URL where your podcast will be available (for example `htt…
+ `RSSLINK`: name of the RSS feed
+ `IMAGE`: if value is not empty, potcasse will use the file `logo.png`
++ `LANGUAGE`: language code (such as `fr` or `en-us`) that can be potentially …
You will share the link `$SITE/index.html` or `$SITE/$RSSLINK` to your listene…
diff --git a/potcasse b/potcasse
@@ -24,7 +24,7 @@ init() {
cat << EOF > metadata.sh
TITLE=
SITE=
-LANG=en-us
+LANGUAGE=en-us
#uncomment to use logo.png as a logo
#IMAGE=YES
EOF
@@ -81,12 +81,12 @@ gen() {
<title>Image of ${SITE}</title>
<link>${SITE}</link>
</image>
- <language>${LANG}</language>
+ <language>${LANGUAGE}</language>
EOF
cat <<EOF >> $TMPHTML
<!DOCTYPE html>
-<html lang="${LANG}">
+<html lang="${LANGUAGE}">
<head>
<title>${TITLE}</title>
</head>
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.