weeklyOSM minified RSS feed with feed-minifier
Intro For the OpenStreetMap news site weeklyOSM I have created minified RSS feeds with a self-written tool called feed-minifier. This saves a lot of bandwidth when subscribing to that news site. What are the differences compared to the original weeklyOSM feed? The number of weeklyOSM articles in the feed is reduced to only contain the latest edition. Flags of the OSM calendar events are replaced with emoticons. Language indicator icons for the translation links are replaced by text links with the language code. All other images are replaced with a text in square brackets naming the image source URL, the alt text and the image size. This way no images are loaded automatically when loading the RSS item. New lines in the source of the article content are deleted. HTML comments and CSS classes are removed. The advantage of all this extra processing of the feed to a minimized version is a reduction of around 90 % in size. E.g. the feed including the Italian weeklyOSM #754 could be reduced from 360,889 bytes to 31,646 bytes. Additionally, the ten title images are not loaded, e.g. the one for weeklyOSM #754 has a size of 464,872 bytes. ...