diff options
author | 53hornet <atc@53hor.net> | 2021-12-11 12:24:36 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-11 12:24:36 -0500 |
commit | 58a720d84854b7a63ebeacbb58b1f87baa1eaf9f (patch) | |
tree | 6c4b5888ea45fa1d36a210e0e4003396611a2166 | |
parent | 69631b42fae57ecf1fd84271421152035535980f (diff) | |
download | 53hor-58a720d84854b7a63ebeacbb58b1f87baa1eaf9f.tar.xz 53hor-58a720d84854b7a63ebeacbb58b1f87baa1eaf9f.zip |
fix: posts not rendering in feed
-rw-r--r-- | feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ $title = str_replace('<h1>', '', fgets(fopen("./posts/$post", 'r'))); $title = str_replace('</h1>', '', $title); $post = str_replace('.php', '', $post); - printf('<item><link>https://www.53hor.net/posts/%s</link><title>%s</title></item>', $post, $title); + printf('<item><link>https://www.53hor.net/%s</link><title>%s</title></item>', $post, $title); } ?> </channel> |