WordPress.org

Ready to get started?Download WordPress

Forums

WP-o-Matic
Incorrect handling of ampersands (&)? (4 posts)

  1. Erik
    Member
    Posted 1 year ago #

    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/

  2. Erik
    Member
    Posted 1 year ago #

    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?)

  3. lalariro
    Member
    Posted 1 year ago #

    I have the same problem...

  4. Erik
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic