diff options
author | Case Duckworth | 2022-08-09 20:35:05 -0500 |
---|---|---|
committer | Case Duckworth | 2022-08-09 20:35:05 -0500 |
commit | 14cca9b31fa4e4fb6d28ba5b9420fa2843e4d158 (patch) | |
tree | 4f721301657da28ae280aa33cefb63978d673ba5 | |
parent | Add NPR music (diff) | |
download | sfeed-14cca9b31fa4e4fb6d28ba5b9420fa2843e4d158.tar.gz sfeed-14cca9b31fa4e4fb6d28ba5b9420fa2843e4d158.zip |
Remove comments from HTML output
-rwxr-xr-x | sfeed_html.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_html.awk b/sfeed_html.awk index 9873398..34bf528 100755 --- a/sfeed_html.awk +++ b/sfeed_html.awk | |||
@@ -142,8 +142,8 @@ FNR == 1 { | |||
142 | is_fresh = 0 | 142 | is_fresh = 0 |
143 | } | 143 | } |
144 | # Debugging comment | 144 | # Debugging comment |
145 | bufprint("<!-- timestamp title silolink type id author enclosure category -->") | 145 | # bufprint("<!-- timestamp title silolink type id author enclosure category -->") |
146 | bufprint("<!-- " $1 " -- " $2 " -- " $3 " -- " $5 " -- " $6 " -- " $7 " -- " $8 " -- " $9 " -->") | 146 | # bufprint("<!-- " $1 " -- " $2 " -- " $3 " -- " $5 " -- " $6 " -- " $7 " -- " $8 " -- " $9 " -->") |
147 | # Print! | 147 | # Print! |
148 | bufprint("<tr class=\"entry " (is_fresh ? "fresh" : "stale") "\">") | 148 | bufprint("<tr class=\"entry " (is_fresh ? "fresh" : "stale") "\">") |
149 | # Timestamp | 149 | # Timestamp |