diff options
author | Case Duckworth | 2023-01-02 00:32:05 -0600 |
---|---|---|
committer | Case Duckworth | 2023-01-02 00:32:05 -0600 |
commit | 5a3446d1602c4207ec50517b6efd7035796effcb (patch) | |
tree | 4baa90dbe51ab7c54074942ea371679d892164e5 | |
parent | Add print() for convenience (diff) | |
download | vienna-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-x | vienna | 2 |
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 | ||
301 | feed_item() { # feed_item PAGE | 301 | feed_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>" |