XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
July 04, 2008, 11:36:04 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
6614 Posts in 1634 Topics by Members
Latest Member: info589
Pages: [1]
  Print  
Author Topic: Sort order in sitemap.html  (Read 6630 times)
donstrack
Registered Customer
Newbie
*
Posts: 4


View Profile
« on: September 15, 2006, 12:05:29 AM »

I've made my first sitemap, and it works just fine. Having looked at the XML file, I can see the way it is arranged as a simple list of URLs.

A review of the HTML file shows no apparent sort order. It's neither alphabetical nor by file name (with the page title showing). This makes the resulting sitemap potentially confusing for my visitors to use.

[external links are visible to admins only]

But the initial page does not validate as strict XHTML, so some tweaking is in order. In order to have some control over how the sitemap looks, I cut and pasted the table structure into my PHP page template.

[external links are visible to admins only]

Two issues come up: 1) the code in the copyright contains a "target" tag, which is not valid; 2) when the page title is stuffed into the a: links, the ampersands (&) are converted to &. The problem is that I already have them as such, so the code gets doubled: &, which makes the validator howl.

Suggestions or fixes??

Don Strack

Logged
admin
Administrator
Hero Member
*****
Posts: 2755


View Profile
« Reply #1 on: September 15, 2006, 11:09:33 PM »

Hello Don,

the links in html sitemap are structured by the folder "levels": the first block contains the pages from domain root, then all links from subfolder1/ etc.

1. You can correct this in pages/sitemap_tpl.html template file, we will also modify this in next sitemap generator version.
2. This will be corrected in next version.

Thank you for reporting! Smiley
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!