From 4fb02a34f4f6e3dd4a9c55a604fffc65da368c14 Mon Sep 17 00:00:00 2001 From: aleteoryx Date: Tue, 12 Nov 2024 17:32:37 -0500 Subject: link target --- rss.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'rss.php') diff --git a/rss.php b/rss.php index b71a746..14caeaa 100644 --- a/rss.php +++ b/rss.php @@ -44,6 +44,13 @@ $config["date_fmt"] = "l, M jS, Y, H:i T"; $config["timezone"] = new DateTimeZone('UTC'); +/// +/// +/// What to set for the target= attribute on generated links. +/// _top will redirect the main tab, _blank wil make a nwe tab +$config["link_target"] = "_top"; + + /* --- CODE - DO NOT TOUCH --- */ function load_rss(string $uri, string $linkrel = "alternate"): array { @@ -198,10 +205,10 @@ $base = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
-

+

- + -- cgit v1.2.3-54-g00ecf