From ad9c77321b2bfda7c616b2f5be7427dd4056a997 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 19 Jul 2022 20:28:46 -0500 Subject: Add titles to extra links --- sfeed_html.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sfeed_html.sh b/sfeed_html.sh index 0b1dc95..0caf0c4 100755 --- a/sfeed_html.sh +++ b/sfeed_html.sh @@ -130,11 +130,13 @@ html_feed() { # html_feed FEED(file) => HTML printf "%s", "" if (enclosure) { stamp = "@" - printf "%s", "" stamp "" + extra_title = " title=\"enclosure\"" + printf "%s", "" stamp "" } if ((link != id) && (id != enclosure) && (id ~ /^https?:/)) { - stamp = "#" - printf "%s", "" stamp "" + stamp = "&" + extra_title = " title=\"alternate link\"" + printf "%s", "" stamp "" } print "" printf "" - # TODO: Include a link back to the website case "$filename" in *\[yt\]) yt=" class=\"yt\"" ;; *) yt="" ;; -- cgit 1.4.1-21-gabe81