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."

CommentFileSizeAuthor
Screenshot-1.png78.35 KBacouch
Screenshot.png38.89 KBacouch

Comments

dave reid’s picture

Status: Active » Fixed

Click the 'edit' links for the node types on the XML sitemap settings and change Excluded -> Included. :)

acouch’s picture

hi 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.

dave reid’s picture

You'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.

acouch’s picture

This 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.

Anonymous’s picture

http://drupal.org/project/elysia_cron

Use it to execute the xmlsitemap cron more often. Elysia Cron really needs to be a core module, IMO.

dave reid’s picture

Can anonymous users actually view your nodes? Do you have any content access modules enabled?

acouch’s picture

Anonymous 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.

srobert72’s picture

Status: Fixed » Active

Same 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.

dave reid’s picture

Sounds 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.

dave reid’s picture

Status: Active » Closed (duplicate)

Ok I actually managed to replicate this and committed a fix to CVS for the issue linked above.

srobert72’s picture

I can confirm it works now.
Thank you

acouch’s picture

confirming this works with beta-1. thanks dave.

dave reid’s picture

Thanks both of you for reporting back with success!