Jump to content


sitemap and google sitemap


  • You cannot reply to this topic
7 replies to this topic

#1 minadreapta

    Etomite Forum Newbie

  • Member
  • 10 posts

Posted 14 December 2007 - 01:02 PM

i am using the last etomite.

i can see that the sitemap feature is only showing the pages that are present in the menu.

i have a page "privacy" and a "terms" and these are not in the menu and the sitemap is not showing them.

is this a bug or it's just the way etomite works?

aren't pages not present in the menu supposed to be shown in the sitemap? this is very awkward...

thanks.

#2 Dean

    Loves Etomite Forums!

  • Admin
  • 4,758 posts
  • Gender:Male

Posted 14 December 2007 - 01:06 PM

Are the pages searcheable, and are they in a published folder?

#3 minadreapta

    Etomite Forum Newbie

  • Member
  • 10 posts

Posted 14 December 2007 - 01:31 PM

yes, the pages are searchable, but they are in the root of etomite, they are not in any foder...

#4 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 14 December 2007 - 02:10 PM

Double-check the snippet code to make sure that it is using $etomite->getActiveChildren() instead of $etomite->getAllChildren() as is a known problem with several older snippets... I think this has finally been corrected in the 0.6.1.5 code base... I'll make sure before the code is released...

#5 minadreapta

    Etomite Forum Newbie

  • Member
  • 10 posts

Posted 14 December 2007 - 07:13 PM

View PostRalph, on Dec 14 2007, 02:10 PM, said:

Double-check the snippet code to make sure that it is using $etomite->getActiveChildren() instead of $etomite->getAllChildren() as is a known problem with several older snippets... I think this has finally been corrected in the 0.6.1.5 code base... I'll make sure before the code is released...
is there a due date for 0.6.1.5?

#6 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 15 December 2007 - 03:47 PM

View Postminadreapta, on Dec 14 2007, 02:13 PM, said:

is there a due date for 0.6.1.5?
No... If I had it my way it would have been released months ago... Unfortunately, my customers and my bank account take precedence over the Etomite project... I've found that if I don't give a tentative date then I don't get people upset by not meeting that date... Trust me, nobody is in greater anticipation of 0.6.1.5 being released than me...

#7 minadreapta

    Etomite Forum Newbie

  • Member
  • 10 posts

Posted 04 February 2008 - 12:07 PM

no, i can't get this thing working.

if the page is not in the menu, it will not be shown by the sitemap.

there are pages that are not supposed to be in tha menu (AUP, TOS, privacy policy, etc) but they should be listed under the sitemap.

i changed all instances of getAllChildren() with getActiveChildren() in ListSiteMap snippet with no luck.

any other suggestions?

thanks.

#8 Cris D.

    Loves Etomite Forums!

  • Developers
  • PipPipPipPip
  • 1,104 posts
  • Gender:Male

Posted 04 February 2008 - 01:06 PM

These APIs are quite reliable if you test every variable passed to them,

Quote

getActiveChildren($id=0, $sort='menuindex', $dir='', $fields='id, pagetitle, longtitle, description, parent, alias', $limit="")
the items I would be testing are (in order):
1) $id=0, the correct id for the parent (if there is a repository not covered by the set id of the doc set, you may have to use getDocuments() where you can specify an array of parents or try $id= -1,
2) $limit some default settings of SQL databases have a default limit as 20 records, if this is the case, your API may only be returning the first 20 documents. Try $limit=999.

[Edited to fix a typo]

Edited by Cris D., 04 February 2008 - 01:07 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users