AutoBlog giving errors

I'm having issues with setting up the auto blog plugin
I've installed the plugin added a feed
http://mashable.france24.com/new/rss/all

I had this error
A feed could not be found at http://mashable.france24.com/new/rss/all. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it... Use force_feed() if you are certain this URL is a real feed.

I've tried many other feed URL nothing, same issue

Please help.

  • Ivan

    Hi ramzi !

    It seems this issue relates to these RSS-chanels, more popular RSS feeds work fine. But, it seems,I found a solution. Please, create {wprdpress_folder}/wp-content/mu-plugins/wpmu_change_simplepie_useragent.php file via FTP with the following code

    function wpmu_change_simplepie_useragent( $feed, $url ) {
    	if ( class_exists( 'SimplePie', false ) ) {
    		$var = $feed->set_useragent('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36');
    	}
    }
    
    add_action( 'wp_feed_options', 'wpmu_change_simplepie_useragent', 10, 2 );

    It should help, I tested it on my test site.

    If it doesn't help - please, provide me with additional login credentials, I can look into it more.

    https://premium.wpmudev.org/contact/#i-have-a-different-question
    Please visit our private Contact page and complete the form with the following information:

    Subject: "Attn: Ivan Svyrskyi"

    In the Message box, please provide the following:

    - link back to this thread for reference
    - any other relevant urls

    - Admin login:
    Admin username
    Admin password
    Login url

    - FTP/SFTP credentials
    host
    username
    password
    (and port if required)

    Best regards,
    Ivan.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.