Support » Plugin: WP-o-Matic » Incorrect handling of ampersands (&)?

  • I have had problems reading RSS feeds, and for the longest time I thought this was due to problems with a User-Agent string making the feed software “hide” entries from the “SimplePie” agent. (There’s a post about that as well…)

    However, I’ve now begun to suspect that WP-o-Matic does not handle ampersands (&) in the RSS feed URL that well.

    I suspect the RSS call contains & entries instead of simple &-signs, and given that the feed URL then is incorrect, I get the wrong type of RSS feed sent back.

    I haven’t been able to confirm this fully, but feel free to check into it, as things stand now WP-o-matic fails for half of my feeds – which is a shame for an otherwise quite nice plugin!

    http://wordpress.org/extend/plugins/wp-o-matic/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I managed to solve this problem by running the feed through FeedBurner (which, incidentally does not use the query string – i.e. ? and & chars).

    The problem with the ampersands does remain, but this is a fix for now (although I am not that fond of feeding my RSS to the Google monster … I don’t know where they’ll put the info next… in my mail?)

    I have the same problem…

    I worked around this limitation by creating a php-file (on the server, web accessible) with the following code:

    <?php echo file_get_contents( 'http://url-for-rss-feed1?with&ampersands&other-unsupported&characters' ); ?>

    I named the file something like feed1.php and then I used the URL of the file in WP-o-Matic instead of the original feed url.

    This is a workaround, but it makes otherwise inaccessible feeds work in WP-o-Matic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrect handling of ampersands (&)?’ is closed to new replies.