Viewing 12 replies - 1 through 12 (of 12 total)
  • Hmmm… interesting. That’s a bug. Thanks for reporting, Davide 🙂

    I’m actually surprised you have an image name with à in it. Since WordPress normally transforms such characters during upload, I never thought of escaping the image location. A mistake on my part.

    Could you go to http://wordpress.org/plugins/xml-sitemap-feed/developers/ and download the development version? Then uninstall the current plugin from your site and install the zip via the plugin installer uploader. Or unpack and overwrite via FTP …

    Please let me know if that fixes the error in GWT.

    Thread Starter davide

    (@davidemetupit)

    Yeah, I’m italian 🙂 here is normal to use accent in filenames 🙂 (ie. Senza Nessuna Pietà, is a Movie title)

    Nope, sitemap hasn’t changed (I can’t try in WMT):

    <image:image>
    			<image:loc>http://velvetcinema.it/wp-content/uploads/2014/08/favino_senza_nessuna_pietà_trailer_.jpg</image:loc>
    			<image:title>Pierfrancesco Favino e Senza Nessuna Pietà</image:title>
    		</image:image>

    I think the zip you downloaded still had an older dev version… Sometimes the WordPress plugin system takes a while to update the downloads. Could you download again, install (or overwrite) again and tell me the version number that you see on the Plugins admin page?

    Also make sure you clear your W3TC cache or exclude sitemaps from being cached completely…

    (because I still see <!-- generator-version="4.3.108" --> in your sitemaps and the latest dev version is 4.3.112)

    Thread Starter davide

    (@davidemetupit)

    I see 4.3.112 and doesn’t seem to be fixed: http://velvetcinema.it/sitemap-posttype-post.2014.xml

    (look for “http://velvetcinema.it/wp-content/uploads/2014/08/favino_senza_nessuna&#8221; in the source, I’m sorry for slowness)

    Thread Starter davide

    (@davidemetupit)

    (I did not say, I updated 🙂 )

    Thread Starter davide

    (@davidemetupit)

    A question, have you escaped the title instead of location? 🙂 🙂

    hmm… both title and loc should be escaped but apparently esc_url does not catch à 🙁

    will be looking for a better way of escaping urls and let you know asap. thanks for testing so far 🙂

    Thread Starter davide

    (@davidemetupit)

    thanks to you 🙂

    bye!

    I’m now using the WordPress internal function utf8_uri_encode() to UTF-8 encode the image locations. I suspect this function is not really meant to parse a full URL (only the URI of file name) but it seems to work correctly.

    Please download the latest dev version again. It should be version number 4.3.113 … let me know if that works 🙂

    Thread Starter davide

    (@davidemetupit)

    I’m not sure it’s the right way, now it’s encoded as follows:
    http://velvetcinema.it/wp-content/uploads/2014/08/favino_senza_nessuna_piet%c3%a0_trailer_.jpg

    this is not an entity decode, is a raw url encode,
    I can keep it on line until Google comes back and advice you

    Please keep it online and let me know what GWT sais… Or use the ‘test sitemap’ button to make it look at http://velvetcinema.it/sitemap-posttype-post.2014.xml immediately.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: XML Sitemap & Google News Sitemap Feeds] Encoding problem’ is closed to new replies.