summaryrefslogtreecommitdiffstats
path: root/prog/skovikanje/generiraj.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xprog/skovikanje/generiraj.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/prog/skovikanje/generiraj.sh b/prog/skovikanje/generiraj.sh
index a399102..b0ca566 100755
--- a/prog/skovikanje/generiraj.sh
+++ b/prog/skovikanje/generiraj.sh
@@ -8,14 +8,15 @@ echo "<h3><a href=//splet.šijanec.eu./>nazaj na varno (na mojo spletno stran)</
desc="Tu so objave, ki se mi ne zdijo vredne objave na prvi strani. Za njihovo kvaliteto ne odgovarjam, je pa moč pod vsako objavo puščati komentarje."
echo "<p>$desc <a href=rss.xml>RSS</a></p>"
echo "<?xml version='1.0' encoding='UTF-8' ?><rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom'><atom:link href='http://z.4a.si/skovikanje/rss.xml' rel='self' type='application/rss+xml' /><channel><title>$title</title><description>$desc</description><link>http://z.4a.si/skovikanje/</link>" > $1
+echo "<hr id=vrh>"
for file in `ls --sort=time --time=birth objave`
do
- echo "<hr>"
./komentar.sh objava html $file 0
cat header.html <(./komentar.sh objava html $file 1) > skovik/$file.html
echo "<item>" >> $1
RSS_BASEURL=http://z.4a.si/skovikanje/skovik/ ./komentar.sh objava rss $file >> $1
echo "</item>" >> $1
+ echo "<hr>"
done
-echo "<hr><small style=display:flex;justify-content:center;align-items:center><a href=//ni.šijanec.eu./sijanec/r/tree/prog/skovikanje><code>$0 $@</code> | `date` | `hostname` | $(($(date +%s%N)/1000000-$start)) ms</a></small>"
+echo "<small style=display:flex;justify-content:center;align-items:center><a href=//ni.šijanec.eu./sijanec/r/tree/prog/skovikanje><code>$0 $@</code> | `date` | `hostname` | $(($(date +%s%N)/1000000-$start)) ms</a></small>"
echo '</channel></rss>' >> $1