diff --git a/reader b/reader index 33e4792..9b9fd68 100755 --- a/reader +++ b/reader @@ -4,12 +4,6 @@ $VENDOR_DIR = "/../vendor/"; # ^^^^^^^ Path to the folder containing composer packages - -$ENDLINK = "\n=> gemini://illegaldrugs.net/cgi-bin/news.php Back to News.php\n"; -# ^^^^^^^ The "Go back" link at the end of each article - - - require __DIR__ . $VENDOR_DIR . "autoload.php"; use andreskrey\Readability\Readability; @@ -62,7 +56,4 @@ foreach($images as $image) { # echo "=> mir?" . $image . " Image\n"; echo "=> " . $image . " Image\n"; } - - -echo $ENDLINK; ?> diff --git a/readme.md b/readme.md index 7cb573b..8f481af 100644 --- a/readme.md +++ b/readme.md @@ -13,6 +13,5 @@ Live at gemini://illegaldrugs.net/cgi-bin/reader - Put the `vendor` folder one directory above your cgi-bin - Put `reader` in your cgi-bin - If your `vendor` folder is in a different place, change the corresponding variable in the script -- You probably also want to change the "Go Back" link to point to your own news feed, or nothing (c) oneseveneight/sose