XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
August 30, 2008, 03:24:54 PM
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
7343 Posts in 1808 Topics by Members
Latest Member: j.hou
Pages: [1]
  Print  
Author Topic: XHTML validity of sitemap.html  (Read 10566 times)
jpbjpb
Newbie
*
Posts: 6


View Profile
« 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.
Logged
admin
Administrator
Hero Member
*****
Posts: 3073


View Profile
« Reply #1 on: March 14, 2007, 12:47:34 AM »

Hello,

thank you for details, template has been updated.
Logged

jpbjpb
Newbie
*
Posts: 6


View Profile
« 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.
Logged
jpbjpb
Newbie
*
Posts: 6


View Profile
« 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"  Sad 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="[external links are visible to admins only]">
<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.

 Cool

jpb.
Logged
jpbjpb
Newbie
*
Posts: 6


View Profile
« 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  Cool
Logged
admin
Administrator
Hero Member
*****
Posts: 3073


View Profile
« Reply #5 on: March 15, 2007, 08:21:40 AM »

Hello jpb,

thanks for update, is everything working fine for you now?
Logged

jpbjpb
Newbie
*
Posts: 6


View Profile
« Reply #6 on: March 15, 2007, 01:04:26 PM »

Thanks,

Everything is working AOK for me now.

jpb

 Smiley Cool
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!