src/rss_converter_twitter.com.xsl: only output channel image when it's available
authorAntonio Ospite <ao2@ao2.it>
Wed, 6 Jun 2018 13:36:39 +0000 (15:36 +0200)
committerAntonio Ospite <ao2@ao2.it>
Wed, 6 Jun 2018 13:36:39 +0000 (15:36 +0200)
commitafe68068d46a90602d6f4fd9f13e196578884512
treecdc14932881314a82327913b8ea39e3d607ac9dd
parentb27ae8a97d90e3a9da2a011b15b89a51d9f4fcc9
src/rss_converter_twitter.com.xsl: only output channel image when it's available

Hashtag pages do not have an image usable as a channel logo, and in
cases like this the <url/> element would be empty, but this would make
the feed invalid according to https://www.feedvalidator.org

So, to produce feeds which validate, avoid outputting the whole <image/>
element when there is no suitable image to use as a channel logo.
src/rss_converter_twitter.com.xsl