From 78fb5f9c6d74694a530f742523b7baf9dffc46d3 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 24 Jul 2022 13:05:04 -0500 Subject: Test against silo, not link --- sfeed_html.awk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfeed_html.awk b/sfeed_html.awk index 0d620b8..bf5293c 100755 --- a/sfeed_html.awk +++ b/sfeed_html.awk @@ -202,7 +202,8 @@ FNR == 1 { stamp = ENCLOSURE_STAMP print_link(enclosure, "Enclosure: " enclosure, stamp) } - if ((link != id) && (id != enclosure) && (id ~ /^https?:/)) { + # Test id against silo here, since silo is the raw link value. + if ((silo != id) && (id != enclosure) && (id ~ /^https?:/)) { # alternate links (comments, etc.) stamp = ALT_LINK_STAMP print_link(id, "alternate link", stamp) -- cgit 1.4.1-21-gabe81