I'm using the 6.x-2.x-dev version of xmlsitemap, xmlsitemap_node, and xmlsitemap_taxonomy.
This is on a fresh Drupal 6.16 installation. Only CCK and core modules are enabled. I am able to get it to create the sitemap but only the front-page shows up. In the xml sitemap settings tab it shows that there are a number of taxonomy items and nodes available but none of them are 'Indexed' or 'Visible'. See attached screenshot.
Also see attached for my status report page.
When I rebuild a new sitemap the error log states that it finished the XML sitemap generation. The message states "Finished XML sitemap generation in 54.47 ms. Memory usage: 2.75 MB."
Comments
Comment #1
dave reidClick the 'edit' links for the node types on the XML sitemap settings and change Excluded -> Included. :)
Comment #2
acouch commentedhi Dave,
thanks for the quick reply. that worked in getting the nodes and taxonomy listed as 'Indexed'. how do i get them 'visible'? the sitemap is still only the front page.
Comment #3
dave reidYou'd have to wait until the cron run when your sitemap is regenerated. If you're using the very latest 6.x-2.x-dev and have the Elements module enabled, you can go to admin/settings/xmlsitemap and select your sitemap to be regenerated.
Comment #4
acouch commentedThis worked for taxonomy but not nodes.
The nodes are listed as indexed but not visible. The taxonomy are both indexed and visible and appear in the sitemap.
I do have the elements module enabled. I have tried using that to rebuild the cache, running cron, and rebuilding the sitemap.
Comment #5
Anonymous (not verified) commentedhttp://drupal.org/project/elysia_cron
Use it to execute the xmlsitemap cron more often. Elysia Cron really needs to be a core module, IMO.
Comment #6
dave reidCan anonymous users actually view your nodes? Do you have any content access modules enabled?
Comment #7
acouch commentedAnonymous viewers can see the nodes. There is no access control. Just an out-of -the box Drupal install.
I notice that access is set to 0 for all of node entries in the xmlsitemap table.
Comment #8
srobert72 commentedSame error.
My ContentType is "Included" but all its nodes are not "visible" in XMLSitemap settings.
I have this message in my nodes : This item is not currently visible to anonymous users, so it will not be included in the sitemap.
But it's wrong, anonymous user can see them in all web site.
I've just launched XMLSitemap rebuild, and cron update also.
Still have problem after that.
Comment #9
dave reidSounds like this could possibly be a duplicate of #775904: warning: Invalid argument supplied for foreach() in ... xmlsitemap_node.module on line 332 then, which I haven't been able to reproduce.
Comment #10
dave reidOk I actually managed to replicate this and committed a fix to CVS for the issue linked above.
Comment #11
srobert72 commentedI can confirm it works now.
Thank you
Comment #12
acouch commentedconfirming this works with beta-1. thanks dave.
Comment #13
dave reidThanks both of you for reporting back with success!