sitemap and google sitemap
#1
Posted 14 December 2007 - 01:02 PM
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
#3
Posted 14 December 2007 - 01:31 PM
#4
Posted 14 December 2007 - 02:10 PM
#5
Posted 14 December 2007 - 07:13 PM
is there a due date for 0.6.1.5?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
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...is there a due date for 0.6.1.5?
#7
Posted 04 February 2008 - 12:07 PM
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
the items I would be testing are (in order):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.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











