tweeper: move the main Tweeper class to its own file under src/ This matches more closely the project structure expected by composer packages.
Use php:functionString() in the stylesheets where appropriate Instead of converting to string in XSL and then calling php:function(), use directly php:functionString() when calling PHP functions which actually expect a string argument. Besides possible performance improvements, this is done mainly for readability.
rss_converter_dilbert.com.xsl: add support for the <enclosure/> element
Use more accurate names for the date conversion functions The new names are epochToRssDate and strToRssDate. Don't refer to gmdate() in the function names, this is just an implementation detail which should not have leaked into the external interface, instead mention RssDate in the function names to communicate something about the output they produce. Also, while at it, user the DATE_RSS format when calling gmdate().
Rename epoch_to_gmdate to epochToGmdate, and str_to_gmdate to strToGmdate
rss_converter_dilbert.com.xsl: put the full text in the alt attribute
rss_converter_dilbert.com.xsl: ellipsize long titles
rss_converter_dilbert.com.xsl: make the feed validate with feedvalidator.org Make the Dilbert.com feed validate with http://feedvalidator.org and also improve compatibility by providing a guid and by excluding the weird xmlns:php namespace in the output.
rss_converter_dilbert.com.xsl: fixes for the new dilbert.com Make the stylesheet work again with the new dilbert.com website.
Update email address and copyright years
rss_converter_*.xsl: specify xml:base Some feed readers expand relative URLs in items by extracting the base URL from the enclosing <link/> element, however this is not a globally accepted practice. Specifying xml:base is useful to cover other ways in which relative URLs are expanded, see: https://cyber.law.harvard.edu/rss/relativeURI.html http://www.w3.org/TR/xmlbase/#resolution
Turn epoch_to_gmdate() and str_to_gmdate() into static methods
Add an RSS conversion stylesheet for dilbert.com Since June 18, 2013 dilbert.com strips are not accessible anymore directly from the RSS feed, this message is displayed instead: Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com. How unhandy is that, was it because of a management decision? Maybe a parody dilbert strip is needed about this issue...