parent
0ea280a430
commit
81356e4104
|
@ -45,6 +45,12 @@ lasthash=
|
||||||
|
|
||||||
# generate index
|
# generate index
|
||||||
while read hash commit ts id subject; do
|
while read hash commit ts id subject; do
|
||||||
|
# ignore commits that begin with ':'
|
||||||
|
[[ "$subject" == :* ]] && {
|
||||||
|
echo "[HTML] Ignoring $commit: $subject" >&2
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
echo "[HTML] Found $commit: $subject" >&2
|
echo "[HTML] Found $commit: $subject" >&2
|
||||||
|
|
||||||
dateout="$( ./tsdate "$ts" %Y-%m-%d )"
|
dateout="$( ./tsdate "$ts" %Y-%m-%d )"
|
||||||
|
|
6
rss
6
rss
|
@ -39,6 +39,12 @@ EOH
|
||||||
|
|
||||||
# output recent commits as entries (assuming no funny business in the output)
|
# output recent commits as entries (assuming no funny business in the output)
|
||||||
while read hash commit ts id subject; do
|
while read hash commit ts id subject; do
|
||||||
|
# ignore commits that begin with ':'
|
||||||
|
[[ "$subject" == :* ]] && {
|
||||||
|
echo "[RSS] Ignoring $commit: $subject" >&2
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
echo "[RSS] Found $commit: $subject" >&2
|
echo "[RSS] Found $commit: $subject" >&2
|
||||||
|
|
||||||
# TODO: avoid HTML entities where browsers may decide not to render them (e.g.
|
# TODO: avoid HTML entities where browsers may decide not to render them (e.g.
|
||||||
|
|
Loading…
Reference in New Issue