sitemap and google sitemap
Started by minadreapta, Dec 14 2007 01:02 PM
7 replies to this topic
#1
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.
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
Posted 14 December 2007 - 01:06 PM
Are the pages searcheable, and are they in a published folder?
#3
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
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
Posted 14 December 2007 - 07:13 PM
Ralph, 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...
#6
Posted 15 December 2007 - 03:47 PM
minadreapta, on Dec 14 2007, 02:13 PM, said:
is there a due date for 0.6.1.5?
#7
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.
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
Posted 04 February 2008 - 01:06 PM
These APIs are quite reliable if you test every variable passed to them,
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]
Quote
getActiveChildren($id=0, $sort='menuindex', $dir='', $fields='id, pagetitle, longtitle, description, parent, alias', $limit="")
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











