PHP Classes

Working Sitemap

Recommend this page to a friend!

      Curl multi sitemap  >  All threads  >  Working Sitemap  >  (Un) Subscribe thread alerts  
Subject:Working Sitemap
Summary:Getting
Messages:3
Author:Terry Woody
Date:2012-03-26 12:16:21
Update:2012-05-07 18:11:45
 

  1. Working Sitemap   Reply   Report abuse  
Picture of Terry Woody Terry Woody - 2012-03-26 12:16:21
Brilliant! I was looking at the screen shot you have for this class, looks really neat.

Tried your example and only got this:

<?xml version="1.0"?>
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">-<url><loc>http://code-snippets.co.cc</loc></url>-<url><loc>http://cms.annar2r.info</loc></url></urlset>

Is there some other kind of setting to make the graphical sitemap page?

Thank you for your hard work.

Terry

  2. Re: Working Sitemap   Reply   Report abuse  
Picture of Arturs Sosins Arturs Sosins - 2012-03-26 12:28:28 - In reply to message 1 from Terry Woody
Hello,
well class only generates XML file with site map. The reason example is not working is that these websites does not exist anymore.

But I remember I used one website to generate graphical representation from generated XML file. I just can't seem to find it, well it was couple of years ago. :)

  3. Re: Working Sitemap   Reply   Report abuse  
Picture of Ben Rollier Ben Rollier - 2012-05-07 18:11:45 - In reply to message 1 from Terry Woody
You should be able to accomplish something like this by using the get_array() function and looping through the links. They can be echo-ed out in whatever format you want.