about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-07-24 13:05:04 -0500
committerCase Duckworth2022-07-24 13:05:04 -0500
commit78fb5f9c6d74694a530f742523b7baf9dffc46d3 (patch)
tree5d9dec519f5a0b792f7c6db38818a60b4ae3c10e
parentUn-paywall sites (diff)
downloadsfeed-78fb5f9c6d74694a530f742523b7baf9dffc46d3.tar.gz
sfeed-78fb5f9c6d74694a530f742523b7baf9dffc46d3.zip
Test against silo, not link
-rwxr-xr-xsfeed_html.awk3
1 files changed, 2 insertions, 1 deletions
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 {
202 stamp = ENCLOSURE_STAMP 202 stamp = ENCLOSURE_STAMP
203 print_link(enclosure, "Enclosure: " enclosure, stamp) 203 print_link(enclosure, "Enclosure: " enclosure, stamp)
204 } 204 }
205 if ((link != id) && (id != enclosure) && (id ~ /^https?:/)) { 205 # Test id against silo here, since silo is the raw link value.
206 if ((silo != id) && (id != enclosure) && (id ~ /^https?:/)) {
206 # alternate links (comments, etc.) 207 # alternate links (comments, etc.)
207 stamp = ALT_LINK_STAMP 208 stamp = ALT_LINK_STAMP
208 print_link(id, "alternate link", stamp) 209 print_link(id, "alternate link", stamp)