SimplePie is a terrific feed parsing utility.
SimplePie removes all line breaks and tabs from its feed outputs; this can be a (minor) issue with feeds that are made after, I guess, text processor files — for instance, in the SimplePie’s output for feed http://www.education.gouv.fr/rss/?pid=270&sid=2&lid=1, feed items titles had missing spaces between words, because of the “manual” layout of titles in the initial text document (it seems line breaks were put in titles at “logical” or “that’ll-make-pretty-lines” locations).
– in “/wp-content/plugins/simplepie-plugin-for-wordpress” folder, open file simplepie_wordpress_2.php
– Find lines #2191 and #2192
// Start by removing all line breaks and tabs. $tmpl = preg_replace('/(\n|\r|\t)/i', "", $tmpl);
// Start by replacing all line breaks and tabs with spaces. $tmpl = preg_replace('/(\n|\r|\t)/i', " ", $tmpl);
It doesn’t seem to break anything in the other feeds.
- The topic ‘[Plugin: SimplePie Plugin for WordPress] Missing spaces between words in feed item titles’ is closed to new replies.