Use git for pub date in RSS #2

Merged
dozens merged 1 commits from kindrobot/protoadandsuperbowl:kr-fix_rss into master 2022-08-25 18:27:15 +00:00
2 changed files with 225 additions and 222 deletions

View File

@ -1,13 +1,16 @@
#bin/sh #!/bin/sh
echo "<rss version=\"2.0\"><channel><title>It's Pro Toad and Superb Owl</title>" > feed.xml echo "<rss version=\"2.0\"><channel><title>It's Pro Toad and Superb Owl</title>" > feed.xml
echo "<link>https://git.tilde.town/dozens/protoadandsuperbowl</link><description>It's Pro Toad and Superb Owl!</description><atom:link rel=\"self\" type=\"application/rss+xml\" href=\"https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/feed.xml\"/><generator>/bin/sh</generator>" >> feed.xml echo "<link>https://git.tilde.town/dozens/protoadandsuperbowl</link><description>It's Pro Toad and Superb Owl!</description><atom:link rel=\"self\" type=\"application/rss+xml\" href=\"https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/feed.xml\"/><generator>/bin/sh</generator>" >> feed.xml
for f in $(find . -type f -iname '*.md' -depth 1 ! -name 'README.md' | sed 's/\.\///'); do for f in *.md; do
if [ $f == "README.md" ]; then
continue
fi
echo "<item> echo "<item>
<title>$f</title> <title>$f</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/$f</link> <link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/$f</link>
<pubDate>$(stat -f "%m%t%Sm %N" $f | cut -f2 | cut -f1-4 -d ' ')</pubDate> <pubDate>$(git log --follow --format=%ad --date default $f | tail -1)</pubDate>
<description><![CDATA[" >> feed.xml <description><![CDATA[" >> feed.xml
pandoc $f >> feed.xml pandoc $f >> feed.xml
echo "]]></description> echo "]]></description>

438
feed.xml
View File

@ -1,9 +1,80 @@
<rss version="2.0"><channel><title>It's Pro Toad and Superb Owl</title> <rss version="2.0"><channel><title>It's Pro Toad and Superb Owl</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl</link><description>It's Pro Toad and Superb Owl!</description><atom:link rel="self" type="application/rss+xml" href="https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/feed.xml"/><generator>/bin/sh</generator> <link>https://git.tilde.town/dozens/protoadandsuperbowl</link><description>It's Pro Toad and Superb Owl!</description><atom:link rel="self" type="application/rss+xml" href="https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/feed.xml"/><generator>/bin/sh</generator>
<item>
<title>00001.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00001.md</link>
<pubDate>Wed Feb 10 12:28:44 2021 -0700</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
ya see, some people go real fast
and other people they go real slow
yeah that&#39;s it doncha know </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
yeah that&#39;s the real root cause of most
workplace conflict </code></pre>
]]></description>
</item>
<item>
<title>00002.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00002.md</link>
<pubDate>Wed Feb 10 12:28:44 2021 -0700</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
...and that&#39;s how I became a YAML engineer. </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
To be honest, I&#39;m not sure it&#39;s a real job either.
But they keep giving me YAML and I keep
ENGINEERING it! </code></pre>
]]></description>
</item>
<item>
<title>00003.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00003.md</link>
<pubDate>Wed Feb 10 12:28:44 2021 -0700</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
So did you watch the Super Bowl? </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
Yeah, me neither. </code></pre>
]]></description>
</item>
<item> <item>
<title>00004.md</title> <title>00004.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00004.md</link> <link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00004.md</link>
<pubDate>Aug 25 11:13:16 2022</pubDate> <pubDate>Wed Feb 10 12:28:44 2021 -0700</pubDate>
<description><![CDATA[ <description><![CDATA[
<pre><code> (@)(@) {0,0} <pre><code> (@)(@) {0,0}
(~~~~) ./) ) (~~~~) ./) )
@ -24,101 +95,12 @@ Budweiser beer? </code></pre>
\ \
Yep! I guess you could say it was a SUPER BOWL Yep! I guess you could say it was a SUPER BOWL
PROTO AD! </code></pre> PROTO AD! </code></pre>
]]></description>
</item>
<item>
<title>00010.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00010.md</link>
<pubDate>Aug 25 11:13:17 2022</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
a guy was looking for a priest to officiate his
wedding and narrowed it down to his final two
choices. the first one walked in with two
beetles and started praying over the bugs. the
second one started spraying everybody with
holy water from a water gun. Know who he chose? </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
He chose the blesser of two weevils
</code></pre>
]]></description>
</item>
<item>
<title>00001.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00001.md</link>
<pubDate>Aug 25 11:13:16 2022</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
ya see, some people go real fast
and other people they go real slow
yeah that&#39;s it doncha know </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
yeah that&#39;s the real root cause of most
workplace conflict </code></pre>
]]></description>
</item>
<item>
<title>00011.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00011.md</link>
<pubDate>Aug 25 11:13:17 2022</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
So I was down by the capitol and I noticed some
kind of protest was happening. I saw a couple
people wearing US flags and thought to myself,
ew, probably a bunch of treasonous right-wing
fundamentalist bastards. Which, you know, is
always the first thing you think when you see
somebody wearing the US flag. But then I saw
somebody holding a &quot;My Body My Choice&quot; sign and
thought, aw, it must be some pro-choicers! And I
decided to get a little closer to check it out. </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
I got close enough to see a bunch of the other
signs and they were all like, &quot;No Jab! No
Vaccine!&quot; and that&#39;s when I knew I had been
tricked. It WAS a bunch of treasonous
right-wing fundamentalist bastards! I said
&quot;ew&quot; again and turned around and ran away. </code></pre>
]]></description> ]]></description>
</item> </item>
<item> <item>
<title>00005.md</title> <title>00005.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00005.md</link> <link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00005.md</link>
<pubDate>Aug 25 11:13:17 2022</pubDate> <pubDate>Fri Feb 12 10:38:57 2021 -0700</pubDate>
<description><![CDATA[ <description><![CDATA[
<pre><code> (@)(@) {0,0} <pre><code> (@)(@) {0,0}
(~~~~) ./) ) (~~~~) ./) )
@ -139,133 +121,12 @@ All I want is like a small cute remote
information HIKING TRAIL somewhere out in the information HIKING TRAIL somewhere out in the
woods where I can see some flowers and leaves and woods where I can see some flowers and leaves and
listen to the birds and stuff. </code></pre> listen to the birds and stuff. </code></pre>
]]></description>
</item>
<item>
<title>00008.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00008.md</link>
<pubDate>Aug 25 11:13:17 2022</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
There was a sense of euphoria while we were in
flow, like we were invinsible, but afterwards
everything seemed brittle and fragile like it
was held together with duct tape and kite string
and like it might all come crumbling down if the
wind blew in from the wrong direction. And there
we were in the aftermath, unsure whether we
accomplished our goals, who we hurt in the
process, or if there was anything good about it
all. </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
So anyway that&#39;s what we call a &quot;hackathon&quot;. The
tech bros invited me to &quot;do some lines&quot; and at
this point I can&#39;t remember if it was code or
coke. </code></pre>
]]></description>
</item>
<item>
<title>00009.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00009.md</link>
<pubDate>Aug 25 11:13:17 2022</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
So I picked up a book in the middle of this epic
fantasy series. It&#39;s by this author who I heard
does really good sword and sorcery stories, and
I&#39;m into that. Anyway the story opens on a
tragic, lonely noble lord, last of his line,
subject to disfigurement because of the family
curse and whatnot. But, get this, it totally
takes place in Old Germany during the rise of the
Nazi party! </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
I was so disoriented that I looked it up, and
there will eventually be a classic fantasy
storyline that interweaves with the modern
nazi storyline.
Which means eventually the hero is literally
going ride a dragon to Hitler&#39;s bunker and punch
him in the face and if there&#39;s one thing this
world needs more of, it&#39;s mother fucking
dragons beating the shit out of nazis. </code></pre>
]]></description>
</item>
<item>
<title>00002.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00002.md</link>
<pubDate>Aug 25 11:13:16 2022</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
...and that&#39;s how a became a YAML engineer. </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
To be honest, I&#39;m not sure it&#39;s a real job either.
But they keep giving me YAML and I keep
ENGINEERING it! </code></pre>
]]></description>
</item>
<item>
<title>00012.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00012.md</link>
<pubDate>Aug 25 11:13:17 2022</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
Ed is the standard text editor! </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
?
?
? </code></pre>
]]></description> ]]></description>
</item> </item>
<item> <item>
<title>00006.md</title> <title>00006.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00006.md</link> <link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00006.md</link>
<pubDate>Aug 25 11:13:17 2022</pubDate> <pubDate>Fri Feb 26 08:28:46 2021 -0700</pubDate>
<description><![CDATA[ <description><![CDATA[
<pre><code> (@)(@) {0,0} <pre><code> (@)(@) {0,0}
(~~~~) ./) ) (~~~~) ./) )
@ -304,7 +165,7 @@ people. </code></pre>
<item> <item>
<title>00007.md</title> <title>00007.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00007.md</link> <link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00007.md</link>
<pubDate>Feb 26 08:11:25 2021</pubDate> <pubDate>Wed Feb 10 12:28:44 2021 -0700</pubDate>
<description><![CDATA[ <description><![CDATA[
<h1 id="pro-toad-and-superb-owl">Pro Toad and Superb Owl</h1> <h1 id="pro-toad-and-superb-owl">Pro Toad and Superb Owl</h1>
<pre><code> (@)(@) {0,0} <pre><code> (@)(@) {0,0}
@ -323,16 +184,25 @@ people. </code></pre>
]]></description> ]]></description>
</item> </item>
<item> <item>
<title>00003.md</title> <title>00008.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00003.md</link> <link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00008.md</link>
<pubDate>Aug 25 11:13:16 2022</pubDate> <pubDate>Fri Feb 26 08:28:46 2021 -0700</pubDate>
<description><![CDATA[ <description><![CDATA[
<pre><code> (@)(@) {0,0} <pre><code> (@)(@) {0,0}
(~~~~) ./) ) (~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; (&gt;vv&lt;) &quot; &quot;
\ \
So did you watch the Super Bowl? </code></pre> There was a sense of euphoria while we were in
flow, like we were invinsible, but afterwards
everything seemed brittle and fragile like it
was held together with duct tape and kite string
and like it might all come crumbling down if the
wind blew in from the wrong direction. And there
we were in the aftermath, unsure whether we
accomplished our goals, who we hurt in the
process, or if there was anything good about it
all. </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo? <pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) ) (~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre> (&gt;vv&lt;) &quot; &quot; </code></pre>
@ -341,7 +211,137 @@ So did you watch the Super Bowl? </code></pre>
(&gt;vv&lt;) &quot; &quot; (&gt;vv&lt;) &quot; &quot;
\ \
Yeah, me neither. </code></pre> So anyway that&#39;s what we call a &quot;hackathon&quot;. The
tech bros invited me to &quot;do some lines&quot; and at
this point I can&#39;t remember if it was code or
coke. </code></pre>
]]></description>
</item>
<item>
<title>00009.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00009.md</link>
<pubDate>Sat Apr 17 11:45:40 2021 -0600</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
So I picked up a book in the middle of this epic
fantasy series. It&#39;s by this author who I heard
does really good sword and sorcery stories, and
I&#39;m into that. Anyway the story opens on a
tragic, lonely noble lord, last of his line,
subject to disfigurement because of the family
curse and whatnot. But, get this, it totally
takes place in Old Germany during the rise of the
Nazi party! </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
I was so disoriented that I looked it up, and
there will eventually be a classic fantasy
storyline that interweaves with the modern
nazi storyline.
Which means eventually the hero is literally
going ride a dragon to Hitler&#39;s bunker and punch
him in the face and if there&#39;s one thing this
world needs more of, it&#39;s mother fucking
dragons beating the shit out of nazis. </code></pre>
]]></description>
</item>
<item>
<title>00010.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00010.md</link>
<pubDate>Wed Dec 1 07:51:43 2021 -0700</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
a guy was looking for a priest to officiate his
wedding and narrowed it down to his final two
choices. the first one walked in with two
beetles and started praying over the bugs. the
second one started spraying everybody with
holy water from a water gun. Know who he chose? </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
He chose the blesser of two weevils
</code></pre>
]]></description>
</item>
<item>
<title>00011.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00011.md</link>
<pubDate>Thu Feb 3 22:24:58 2022 -0700</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
So I was down by the capitol and I noticed some
kind of protest was happening. I saw a couple
people wearing US flags and thought to myself,
ew, probably a bunch of treasonous right-wing
fundamentalist bastards. Which, you know, is
always the first thing you think when you see
somebody wearing the US flag. But then I saw
somebody holding a &quot;My Body My Choice&quot; sign and
thought, aw, it must be some pro-choicers! And I
decided to get a little closer to check it out. </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
I got close enough to see a bunch of the other
signs and they were all like, &quot;No Jab! No
Vaccine!&quot; and that&#39;s when I knew I had been
tricked. It WAS a bunch of treasonous
right-wing fundamentalist bastards! I said
&quot;ew&quot; again and turned around and ran away. </code></pre>
]]></description>
</item>
<item>
<title>00012.md</title>
<link>https://git.tilde.town/dozens/protoadandsuperbowl/raw/branch/master/00012.md</link>
<pubDate>Wed Feb 10 12:28:44 2021 -0700</pubDate>
<description><![CDATA[
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
Ed is the standard text editor! </code></pre>
<pre><code> (@)(@) {0,0} -- Hoo?
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot; </code></pre>
<pre><code> (@)(@) {0,0}
(~~~~) ./) )
(&gt;vv&lt;) &quot; &quot;
\
?
?
? </code></pre>
]]></description> ]]></description>
</item> </item>
</channel></rss> </channel></rss>