summaryrefslogtreecommitdiff
path: root/sfeed_content
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_content')
-rwxr-xr-xsfeed_content8
1 files changed, 5 insertions, 3 deletions
diff --git a/sfeed_content b/sfeed_content
index 2d0ee23..9fba99b 100755
--- a/sfeed_content
+++ b/sfeed_content
@@ -12,9 +12,11 @@ function unescape(s) {
return s;
}
BEGIN {
- htmlconv = "lynx -stdin -dump " \
- "-underline_links -image_links " \
- "-display_charset=\"utf-8\" -assume_charset=\"utf-8\" ";
+ htmlconv = ENVIRON["SFEED_HTMLCONV"];
+ if (!length(htmlconv))
+ htmlconv = "lynx -stdin -dump " \
+ "-underline_links -image_links " \
+ "-display_charset=\"utf-8\" -assume_charset=\"utf-8\" ";
}
{
if (previtem)