Page 4 of 4

Re: Google Sitemaps generator

Posted: Thu Apr 13, 2006 3:15 pm
by fredt
There's a typo there :

Code: Select all

	if($onecoNETN->default_content)
		$rel = 1;
And I couldn't get test OK out of default-content, so I now use :

Code: Select all

   if($onecontent->DefaultContent())
     {
       $rel = 1;
     }
So I get Priority 1 for Default Page !

Enjoy !

... anyway, getting News "clean-urled" and "sitemapped" would be fine !

Re: Google Sitemaps generator

Posted: Sat Apr 22, 2006 11:27 pm
by nollsen
Hi,

i created it as project, you can now find it under

http://dev.cmsmadesimple.org/projects/gsgenerator/

every developer who wants to improve the project or who wants to write a small documentation is invited to join the project.

sincerely,
stefan noll

Re: Google Sitemaps generator

Posted: Mon Apr 24, 2006 4:58 pm
by Russ
This Google sitemap page now uses the correct clean url's with 0.13 beta 1. However, it still shows pages which are hidden from the menu? Is this correct? OK, it does not display 'non-active' pages, but my logic would be that it should not list a page that is hidden from the menu?

Of course this could just be me? There is a way to hide the page - by de-activating them, but then any links you have will fail.

What does everyone else think?

Russ

Re: Google Sitemaps generator

Posted: Mon Apr 24, 2006 5:28 pm
by fredt
I put this in my version:

Code: Select all

if (!$onecontent->Active())  
{
continue;
}

//MODIF - ADDED
if (!$onecontent->ShowInMenu())  
{
continue;
}

if ($onecontent->Type() == 'separator')
{
continue;
}
I had forgotten to share this one  :-[... Sorry !

Re: Google Sitemaps generator

Posted: Mon Apr 24, 2006 6:24 pm
by Russ
Many thanks fredt, that did it.  Perhaps it is worth upgrading the downloaded version if it hasn't been done already?

Russ

Re: Google Sitemaps generator

Posted: Tue Apr 25, 2006 6:53 am
by fredt
Happy it worked, took me some  ;) minutes... So know I have a better knowledge of the whole thing.
Perhaps it is worth upgrading the downloaded version if it hasn't been done already?
Sorry Russ, I don't catch this one ? ???

I think:
- for everybody who already has the module - and probably hacked it-, you should add this line in it
- if you don't have it already, I hope Nollsen can upgrade the Forge code and post it's done, so you can have a brand new nice tested thing.

Don't forget to correct the "Contnet" typo if you still have it.

FredT

Re: Google Sitemaps generator

Posted: Tue Apr 25, 2006 7:20 am
by Russ
No problems fredt, I meant updating the version in the Forge :)

Russ

Re: Google Sitemaps generator

Posted: Thu May 25, 2006 11:38 am
by mikemee
ideas for new features  (yes, code would be preferable... I'm working on working on it!). Some of these ideas are inspired (stolen?) from the drupal version of this http://drupal.org/project/gsitemap

In approx order of priority

+ including news would be very useful. in general, more pages means better google (etc) rankings, plus a lot of time I bet you want people to be able to google for your news - if its worth publishing its worth finding

+ add auto notification to google when pages are changed

+ log when google retrieves the sitemap

+ add change frequency tracking to populate the tag, or just guess based on the last change date?

Some of these might benefit from turning sitemap into a module - e.g. to allow setting options (include News, notify on every change, log retrieval).

I'm still getting my head around cmsms, but if I decide to add code (instead of copy paste tweaking from the forum into the handbook faq), this is most likely where I'll start.  But if someone starts before me...

cheers, michael

Re: Google Sitemaps generator [solved]

Posted: Thu May 08, 2008 5:53 pm
by dwinters
Sorry to be thick read the whole post, so I have downloaded the php file from http://dev.cmsmadesimple.org/frs/?group_id=166

Now what do I do? copy it rename it sitemap.php? Help...

Cheers

Dan


I used the sitemap made simple module - very nice.

Re: Google Sitemaps generator

Posted: Thu May 08, 2008 8:22 pm
by alby
dwinters wrote: Now what do I do? copy it rename it sitemap.php? Help...
It's very old.
Try with SiteMapMadeSimple module

Alby

Re: Google Sitemaps generator

Posted: Fri May 09, 2008 1:42 pm
by dwinters
Thanks looks good.

A couple questions - Will this work for Yahoo?

And since it can make a static file can it help and make a static rss.xml from the news?

Re: Google Sitemaps generator

Posted: Thu Jul 31, 2008 9:38 am
by baki250
Hi Alby

im using SiteMapMadeSimple module on MLE version of CMS Made Simple.

The problem is when the sitemap generates, it only does the default language and not hte other languages. Is there a workaround this. Also how can each language have its own alias, i think i ask you this question before but is there anyway to do so.

Many Thanks for your time and efforts