about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2023-01-02 00:32:05 -0600
committerCase Duckworth2023-01-02 00:32:05 -0600
commit5a3446d1602c4207ec50517b6efd7035796effcb (patch)
tree4baa90dbe51ab7c54074942ea371679d892164e5
parentAdd print() for convenience (diff)
downloadvienna-5a3446d1602c4207ec50517b6efd7035796effcb.tar.gz
vienna-5a3446d1602c4207ec50517b6efd7035796effcb.zip
Use meta date instead of pubdate
For some reason pubdate isn't found by sh .. which is concerning but I don't
know where that comes from tbh.
-rwxr-xr-xvienna2
1 files changed, 1 insertions, 1 deletions
diff --git a/vienna b/vienna index 3cb198a..dc83c14 100755 --- a/vienna +++ b/vienna
@@ -300,7 +300,7 @@ index_item() { # index_item PAGE
300 300
301feed_item() { # feed_item PAGE 301feed_item() { # feed_item PAGE
302 ## Construct a single item in an RSS feed. 302 ## Construct a single item in an RSS feed.
303 date="$(pubdate "$1")" 303 date="$(meta date "$1")"
304 echo "<item>" 304 echo "<item>"
305 echo "<title>$(meta title "$1")</title>" 305 echo "<title>$(meta title "$1")</title>"
306 echo "<link>$LINK</link>" 306 echo "<link>$LINK</link>"