Please add to the Readme that after installing and enabling the module, you also need to include content types to the site map.

It took me one hour to find that out.

Comments

Anonymous’s picture

Version: 6.x-2.0-rc1 » 7.x-2.x-dev
Category: feature » bug

I think this should be added to the FAQ portion of the readme.

s@ilor’s picture

Hi ecvandenberg,

Please specify it. I'm at odds how to make this module work. It only display a white screen. No content.

Regards,
- Christian

ecvandenberg’s picture

Apparently I only used the Drupal 6 version yet. Will also use the D7 version later. But I hope D6 and D7 work along the same principles.

After installing the module, you have to specify which content types should be included in the site map. Initially no content types are specified so you get a blank list.

You can edit a content type and you will see an extra tab or fieldset for XML sitemap.

You can also go to the XML sitemap settings. At the end you see a fieldset for content type you can attach to the XML site map.

At least...that the way to go in D6. Hope this helps.

s@ilor’s picture

Hi again,

I used the stable version of 7.x-2, then switched to 7.x-2.x-dev, Still no joy. And I don't see any of the tabs or possibilities, you mention.

Got confused there a bit, as you have filed the issue under 7.x-2.x-dev

Thanks for your help,

- C

Anonymous’s picture

WSOD is usually the result of the lack of memory. There is a setting admin/settings/admin/settings (D6) or admin/config/search/xmlsitemap/settings (D7) to "Prefetch URL aliases during sitemap generation" that may be unset to use less memory. If that doesn't help then you need to look at increasing your memory limit.

s@ilor’s picture

At the moment I have a limit of 128 MB. How much would you recommend?

Web Design Ghana’s picture

I did exactly that but the error is still appearing. What other context is it talking about?

The sitemap is listing 43 links.

Anonymous’s picture

Re #7: What "error" are you seeing? The one mentioned in the title/subject? What xmlsitemap modules do you have enabled? Do you have any locale modules enabled?

bombo’s picture

I had the same problem. After editing the content types you want to include you have to go to the xml-sitemap-admin and choose "rebuild" even thought it tells you that it is not necessary.

mardok’s picture

Hi, my error is "There are currently no XML sitemap contexts available", I have installed the i18n module, on admin/config/search/xmlsitemap I have 18 links and 1 page, but sitemap.xml page on www.mysite.com/sitemap.xml is a blank page. I have tried to delete, run cron and regenerate the sitemap more than once but nothing changes.

webdrips’s picture

Version: 7.x-2.x-dev » 7.x-2.3
Component: Documentation » Code
Priority: Normal » Critical
Issue summary: View changes

Three years with no response. Anyone ever get this working? I have the exact same problem with the latest stable version.

I have combed through all similar tickets and tried to rebuild everything from scratch.

I noticed the cache directory was empty even after trying to rebuild the files there several times. My permissions are 777 on the local server I'm running, so that can't be it.

The screen is completely blank for /sitemap.xml, and there are no errors (other than the "There are currently no XML sitemap contexts available)", but nothing in any error to indicate anything went wrong.

nilesh.addweb’s picture

There are currently no XML sitemap contexts available." is not an error message. It simply means that there are no context available to differentiate one sitemap from another.

Go to admin/config/search/xmlsitemap/settings and include things that you want in sitemap (content types, menus, taxonomy etc). Rebuild the links, clear cache and refresh (or hard refresh) your sitemap page.

Let me know if you have any query/concern for the same.

Thanks!

oadaeh’s picture

Title: There are currently no XML sitemap contexts available » Document how to add content
Version: 7.x-2.3 » 7.x-2.x-dev
Component: Code » Documentation
Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Closed (works as designed)

The instructions are in the README.txt file for the XML sitemap node (xmlsitemap_node) module, which has the description (on the /admin/modules page) of "Adds content links to the sitemap." which seems pretty straight forward to me.

oadaeh’s picture

Also, there is this documentation page: https://www.drupal.org/node/264650