Compare commits

..

No commits in common. "9514119b7590b5e1d86daf491ee311ef91d9481c" and "626b0c3219934670622d70cd73298ec50477c212" have entirely different histories.

3 changed files with 4 additions and 38 deletions

View File

@ -1,2 +0,0 @@
# Actually Simple Syndication, see https://tilde.town/~dzwdz/ass

View File

@ -3,9 +3,7 @@
<head>
<title>the web log of vilmibm</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="alternate" type="application/rss+xml" href="feed.xml" title="the web log of vilmibm">
<link rel="alternate" type="application/ass" href="feed.ass" title="the web log of vilmibm">
<style>
body {
background-color: #070e0f;
@ -21,12 +19,9 @@
text-align: center;
margin-top: 0;
}
#feeds {
font-style: oblique;
text-align: center;
margin-top: 0;
}
.title {
margin-right: 25%;
margin-left: 25%;
text-align: center;
border-top: 1px solid #ce77c5;
}
@ -38,22 +33,11 @@
font-style: oblique;
}
.post {
margin-right: 25%;
margin-left: 25%;
text-align: justify;
border-bottom: 1px solid #ce77c5;
}
@media screen and (min-width: 600px) {
.post {
margin-right: 25%;
margin-left: 25%;
}
.title {
margin-right: 25%;
margin-left: 25%;
}
}
img {
max-width:100%;
}
a {
font-weight: bold;
color: #ce77c5;
@ -77,6 +61,3 @@
<body>
<h1>the web log of ~vilmibm</h1>
<p id="back">back to my <a href="https://tilde.town/~vilmibm">home page</a></p>
<p id="feeds">
<a href="feed.xml">rss feed</a>, <a href="feed.ass">ass feed</a>
</p>

13
make.sh
View File

@ -20,9 +20,6 @@ geminiIndex="${geminiPath}/index.gmi"
rssIndexTmpl=$srcDir/feed.tmpl.xml
rssIndex=$HOME/public_html/blog/feed.xml
assIndexTmpl=$srcDir/feed.tmpl.ass
assIndex=$HOME/public_html/blog/feed.ass
# attempt compilation
if [ ! -e "linkpost" ]
then
@ -43,15 +40,8 @@ then
cp $rssIndex "${rssIndex}.bak"
fi
# backup ASS feed
if [ -e "${assIndex}" ]
then
cp $assIndex "${assIndex}.bak"
fi
cp $htmlIndexTmpl $htmlIndex
cp $rssIndexTmpl $rssIndex
cp $assIndexTmpl $assIndex
# Remove old gopher and gemini posts
rm -f ${gopherPath}/*
@ -120,9 +110,6 @@ do
echo " <pubDate>${rfc822}</pubDate>" >> $rssIndex
echo " <description>${summary}</description>" >> $rssIndex
echo " </item>" >> $rssIndex
# ASS
echo "$(date -d"$pubdate" +'%Y-%m-%d') ${httpLink} ${title}" >> $assIndex
fi
done