Page 1 of 2

SiteMapMadeSimple 1.0

Posted: Wed Nov 07, 2007 8:34 pm
by calguy1000
Announcing the initial release of a new sitemap generation module.

This module has the following features:
1) Reads the page hierarchy dynamically
2) Entirely template driven
3) Dynamically adjusts page frequency based on a pages last modified date
4) Generates the sitemap dynamically
5) works with pretty urls.

it is hopefully the first of a set of modules or updates to modules to assist in Search engine optimization.

Note:  don't submit enhancements or bug reports on the forum....  I am not watching for them, they should be submitted on the forge at http://dev.cmsmadesimple.org/projects/sitemapms/

Re: SiteMapMadeSimple 1.0

Posted: Wed Nov 07, 2007 9:45 pm
by alby
calguy1000 wrote: Announcing the initial release of a new sitemap generation module.

This module has the following features:
1) Reads the page hierarchy dynamically
2) Entirely template driven
3) Dynamically adjusts page frequency based on a pages last modified date
4) Generates the sitemap dynamically
5) works with pretty urls.

it is hopefully the first of a set of modules or updates to modules to assist in Search engine optimization.
WOW! Great  :)

Alby

Re: SiteMapMadeSimple 1.0

Posted: Wed Nov 07, 2007 10:58 pm
by calguy1000
Sitemap 1.0.1 is out, which requires CGExtensions 1.2

Re: SiteMapMadeSimple 1.0

Posted: Wed Nov 07, 2007 11:09 pm
by kermit
that might explain the error i got when i tried to install it.  ;)

Re: SiteMapMadeSimple 1.0

Posted: Thu Nov 08, 2007 12:23 am
by moorezilla
I get this after installing cgextensions and sitemapmadesimple 1.0 and going to the xml:

XML Parsing Error: not well-formed
Location: http://chs.chelseaschools.com/chs/sitemap.xml/1
Line Number 1, Column 7:string(83) "Smarty error: unable to read resource: "module_db_tpl:SiteMapMadeSimple;xml_Sample""

Any ideas what I'm screwing up?

Re: SiteMapMadeSimple 1.0

Posted: Thu Nov 08, 2007 12:35 am
by calguy1000
sounds like an install issue......

either uninstall/re-install the module
and/or
a) make sure that the text in the default templates tab is filled in
    or click on 'rest to default' so that it is.
b) create a new template in the 'templates' tab, give it a name
c) make that new one the default by clicking on the 'X' to make it a check.

Re: SiteMapMadeSimple 1.0

Posted: Thu Nov 08, 2007 12:41 am
by moorezilla
That solves it. Thanks.

The default template tab was empty before hitting the reset to factory defaults. After making a new template and naming it and setting it as default, all seems well. I get:




etc.

Re: SiteMapMadeSimple 1.0

Posted: Thu Nov 08, 2007 12:46 am
by calguy1000
excellent.... I'll be fixing it soon....  need it for a site, and since it's being distributed free, I thought hopefully the community could help test.

Re: SiteMapMadeSimple 1.0

Posted: Thu Nov 08, 2007 1:00 am
by moorezilla
ok... sounds good.

I tried to submit the /sitemap.xml/1

to google, but they wanted it in the top level of the domain:
The Sitemap must be located at http://chs.chelseaschools.com/. To add a Sitemap at http://chs.chelseaschools.com/chs/sitemap.xml/, first add that site to your account and then click the Add a Sitemap link beside it.
so I just copied all the xml into a sitemap.xml in my web root. I imagine this isn't the best way, since it won't be updated automatically, but it's a good step for me for now.

Re: SiteMapMadeSimple 1.0

Posted: Thu Nov 08, 2007 1:03 am
by calguy1000
good to know, I'll try to figure out some way of getting rid of the /1

Re: SiteMapMadeSimple 1.0

Posted: Thu Nov 08, 2007 6:52 am
by RonnyK
I don't think that they want it top-level. With auto-discovery (the latest method of crawling) the searchengines are looking inside robots.txt where the URL to the sitemap.xml should be.

Only if you don't want to wait for auto-discovery, then you have to have it top-level,

Check this post:

http://blog.design-cars.com/sitemapxml- ... robotstxt/

Quote from that page, where a link to the auto-discovery is available as well.

It is going to be simple addition to your robots.txt file like:

SITEMAP: http://www.the URL of your sitemap here.xml

You need to put in the full URL, like for this site is is going to be

SITEMAP: http://blog.design-cars.com/sitemap.xml

Put your sitemap.xml link in your Robot.txt file now!
If you have mutliple sitemap.xml files, you have to put the paths into a sitemap index file and point to that file.

If you don’t want to wait on the Autodiscovery, You can still send them:

To Google via the Webmaster Central,
To Yahoo as a feed in their Site Explorer,
To ask via the command:
http://submissions.ask.com/ping?sitemap=http://www.the URL of your sitemap here.xml
Ronny

Re: SiteMapMadeSimple 1.0

Posted: Fri Dec 07, 2007 12:22 pm
by Mesmer
I installed the module with no problems but there is no sitemap.xml file generated.
Did I forget something?

Re: SiteMapMadeSimple 1.0

Posted: Fri Dec 14, 2007 9:41 pm
by Kevin C
I installed the site map module, and it worked fine. Then I turned on pretty urls using the mod-rewrite method, so all my page names changed. In the sitemap module Info tab, the new (pretty) page names are used, but the physical sitemaps.xml file hasn't been updated, and still has the old "index.php?page=pagename" in the URLs.  I thought the xml file would be updated automatically, but that's not happening.

Here are my settings in the preferences tab:
show hidden pages? No
Change frequency: automatic
Generate a static file: yes
Dynamically update file when content changes? yes

Is there anything else I need to do? I can always just paste the content from the info tab into the file, but I'd like to keep it automatic.

Re: SiteMapMadeSimple 1.0

Posted: Sat Dec 15, 2007 8:40 am
by ljbadenz
I too cannot get the static sitemap to work! Yes, I am running PHP5 so the file_put_contents should work.

I have tried creating the file and setting both the file and containing folder to 777 chmod, put still does not work.

Re: SiteMapMadeSimple 1.0

Posted: Sun Dec 16, 2007 2:02 pm
by Mesmer
I made a sitemap.xml file (with the content given by the module) and put it in my root dir.

This worked and google is happy with it but when I create new pages the sitemap.xml is not updated. Chmod is 777.

Again, what did I miss?