Google Sitemaps generator

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Google Sitemaps generator

Post 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 !
nollsen

Re: Google Sitemaps generator

Post 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
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Google Sitemaps generator

Post 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
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Google Sitemaps generator

Post 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 !
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Google Sitemaps generator

Post by Russ »

Many thanks fredt, that did it.  Perhaps it is worth upgrading the downloaded version if it hasn't been done already?

Russ
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Google Sitemaps generator

Post 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
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Google Sitemaps generator

Post by Russ »

No problems fredt, I meant updating the version in the Forge :)

Russ
mikemee
Forum Members
Forum Members
Posts: 20
Joined: Sun May 21, 2006 11:31 am

Re: Google Sitemaps generator

Post 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
dwinters
Forum Members
Forum Members
Posts: 53
Joined: Mon Mar 17, 2008 12:46 pm

Re: Google Sitemaps generator [solved]

Post 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.
Last edited by dwinters on Sun May 18, 2008 5:57 pm, edited 1 time in total.
alby

Re: Google Sitemaps generator

Post 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
dwinters
Forum Members
Forum Members
Posts: 53
Joined: Mon Mar 17, 2008 12:46 pm

Re: Google Sitemaps generator

Post 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?
baki250
Forum Members
Forum Members
Posts: 22
Joined: Wed Feb 06, 2008 12:27 am

Re: Google Sitemaps generator

Post 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
Locked

Return to “Modules/Add-Ons”