XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
August 30, 2008, 12:46:07 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
7341 Posts in 1806 Topics by Members
Latest Member: theknownuniverse
Pages: [1]
  Print  
Author Topic: Does not perform Entity escaping  (Read 14624 times)
paypal1
Registered Customer
Newbie
*
Posts: 2


View Profile
« on: July 15, 2005, 07:48:00 AM »

At [external links are visible to admins only] , Google states that you must convert specific characters to UTF-8 encoded format BUT this script does not.

So if you have a link like: [external links are visible to admins only]
It should convert it to this: [external links are visible to admins only]
but it doesn't

Will this be a revision fix down the road for your script?
Thanks
Logged
admin
Administrator
Hero Member
*****
Posts: 3073


View Profile
« Reply #1 on: July 15, 2005, 01:47:49 PM »

Hi,

the generator script certainly encodes all URLs to correspond  UTF-8 encoding, as described at google sitemap protocol.
You can check this at generator demo here:
http://www.xml-sitemaps.com/generator-demo/

(for instance, this URL:
http://www.xml-sitemaps.com/generator-demo/index.php?op=chlog&log=3
is stored like:
http://www.xml-sitemaps.com/generator-demo/index.php?op=chlog&log=3

All other non-UTF characters are encoded too.

If you have some particular problem with your website sitemap creation, please let me know your generator instance in PM and I will check that.
Logged

paypal1
Registered Customer
Newbie
*
Posts: 2


View Profile
« Reply #2 on: July 15, 2005, 04:13:03 PM »

I am running the latest version: 1.06

What I get in the sitemap.xml file is:

Code:
<loc>http://www.thedomain.com/search_results.php?country=254&region=Florida</loc>

So, NO.....the script does not encode.
Logged
admin
Administrator
Hero Member
*****
Posts: 3073


View Profile
« Reply #3 on: July 15, 2005, 06:22:31 PM »

Hi again,

the script does encode Smiley
I just crawled your site with standard PHP Sitemap Generator v1.06 and all '&' signs are urlencoded to '&amp;' correctly!

But I believe I know why you think it doesn't:  perhaps you're checking your sitemap with the browser, which makes the revert operation - it decodes the URLs to show them to you. If you want to see the source of your XML file, please save it to disk and view with some text editor/viewer, not browser.
Logged

admin
Administrator
Hero Member
*****
Posts: 3073


View Profile
« Reply #4 on: July 15, 2005, 06:25:10 PM »

One more thing. You can add your sitemap to your google webmaster account here:
http://www.google.com/webmasters/sitemaps

to ensure the sitemap is encoded correctly (google will inform about parser error otherwise)
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!