XML Sitemaps Generator

Author Topic: XHTML validity of sitemap.html  (Read 34123 times)

jpbjpb

  • Guest
XHTML validity of sitemap.html
« on: March 13, 2007, 11:43:37 PM »
I ran my site through you free online sitemap generator on 3/13/2007.

The free online generator did great on my site...

but has the following issues:

-------------------------------------------------------------------------------------
sitemap.html generator problems in online version:
-------------------------------------------------------------------------------------
 
Currently Broken Generated Syntax:
<meta http-equiv="Content-type" content="text/html;" charset="iso-8859-15" />
 
Fixed Syntax (notice the quotes, spacing, and case):
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15" />
 
-------------------------------------------------------------------------------------
 
Currently Broken Generated Syntax:
<style>
 
Fixed Syntax:
<style type="text/css">
 
-------------------------------------------------------------------------------------
 
Other Issues:
 
The HR Element:  you are using an illegal attribute "color"; You can use a style class instead as below.
The HR and BR Elements must be closed with " />" instead of plain ">" when using xhtml as below.
 
<style type="text/css">
hr {color:#ccc;}
</style>
 
<hr />
<br />
 
Please post a notice when these issues are fixed and/or please
send me an email so I can re-generate.  Thanks.
-------------------------------------------------------------------------------------
 
Hope this helps.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: XHTML validity of sitemap.html
« Reply #1 on: March 14, 2007, 12:47:34 AM »
Hello,

thank you for details, template has been updated.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

jpbjpb

  • Guest
Rerun free online sitemap generator
« Reply #2 on: March 14, 2007, 12:53:25 PM »
Hello,

I tried to rerun the free online sitemap generator for my site.

I don't think it is deleting the old output files first on your server.

I am always getting "Error" now when I try to rerun the generator.

Help please.

Jim.

jpbjpb

  • Guest
Error generating sitemap and viewing headers in free version
« Reply #3 on: March 14, 2007, 05:43:59 PM »
Hello all,

I found something that may help a lot of people
who get an "Error"  :( when trying to make a sitemap online
using the free version or trying to view headers
using the new online view headers feature.

Sometimes if your site is being cached somewhere,
your site may not send back the headers.

Just add this "nocache" meta tag in your web pages:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="nocache">
<meta name="keywords" content="keywords">
<meta name="description" content="My Site Description">
<title>My Site</title>
<base href="http://www.mysite.com/">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" type="text/css" href="/mysite.css">
<meta name="robots" content="index,follow">
</head>

Adding this "nocache" line above to each of my html files seems to have solved the
problem of why no headers were being returned to the free online generator or
the free online header viewer.

Hope this helps someone.

 8)

jpb.

jpbjpb

  • Guest
Don't Cache Methods
« Reply #4 on: March 14, 2007, 09:48:22 PM »
Hello again all,

I found a better way to stop caching if you use Apache Web Server on the Linux OS:
Add the following sections to your .htaccess file in your site's root directory:

...then you don't have to add meta tags on all your pages such as the following:
<meta http-equiv="pragma" content="nocache">
(The above meta tag only works with some caches and are disregarded by
some client-side caches, server caches, proxy caches, gateway caches, etc.

Instead go with the code below in your .htaccess file:
----------------------------------------------------------------------------------------
# NEVER CACHE HOME PAGE
<FilesMatch "^\$">
   Header set Expires "Mon, 01 Jan 2007 12:00:00 GMT"
   Header set Cache-Control "no-store, no-cache, must-revalidate"
   Header set Pragma "no-cache"
</FilesMatch>

# NEVER CACHE (.HTM|.HTML|.TXT|.XML|.CSS) PAGES
<FilesMatch "\.(htm|html|txt|xml|css|)$">
   Header set Expires "Mon, 01 Jan 2007 12:00:00 GMT"
   Header set Cache-Control "no-store, no-cache, must-revalidate"
   Header set Pragma "no-cache"
</FilesMatch>
----------------------------------------------------------------------------------------
Note:  Lines that start with "#" are comments.
----------------------------------------------------------------------------------------
PS:  Don't forget to upload .htaccess again before trying to generate
your sitemap.
----------------------------------------------------------------------------------------

jpb  8)

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: XHTML validity of sitemap.html
« Reply #5 on: March 15, 2007, 08:21:40 AM »
Hello jpb,

thanks for update, is everything working fine for you now?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

jpbjpb

  • Guest
Generating Sitemap With Online Free Sitemap Generator
« Reply #6 on: March 15, 2007, 01:04:26 PM »
Thanks,

Everything is working AOK for me now.

jpb

 :) 8)

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2