Thank you for this useful module!

It would be even more useful if there would be some documentation.

Comments

ibot’s picture

Status: Active » Needs work

First attempt started, please edit:
http://drupal.org/node/1492386

quantos’s picture

Issue summary: View changes

Thanks for starting this @ibot. Did you or anyone else get any further with this? In particular and before I jump in with this I was curious about how the sitemap is actually generated per domain? We're currently converting an existing site into a Domain Access multisite and the previous current XML sitemap settings are generated per menu and not by node. I just read that Domain XML sitemap can't generate distinct domain sitemaps that way and works on node assignment alone. Is that right?

So the next step on your guide, for the most typical application (I imagine) would be to configure the module to do just that? I'll test that later and add some words if that's the case.

Q.

quantos’s picture

Hmm. I checked this again. Seems as though other comments I read were wrong and you Domain XML works great for domain-based menu-driven xml sitemaps (just as it does on standalone sites).

Edit: the following notes (mine) might be wrong. Darn it. Having cleared the cache and re-checked the sitemaps the xml versions aren't correct. I previously checked each one after creating them. I'll update again once I get to the bottom of it. If anyone can help me get out of this embarrassing predicament meantime, I'd appreciate it. ;-)

Essentially, once the Domain XML module (and other required modules) are installed and enabled, users should:

  1. Visit the sitemap (not xml sitemap) config page: /admin/config/search/sitemap
  2. Select which menus should apply to the domain in question. This page is domain sensitive so I found it best to logon via the multisite domain you want to configure - which then shows the options selected for that particular domain. Make changes and save, taking care to highlight (again) which domain record you're updating.
  3. Then visit the XML Sitemap config page /admin/config/search/xmlsitemap of any of the multisite domains (depending on your admin/permissions set-up) and hit "Rebuild Links" either before or after adding an xml sitemap for each domain needed.
  4. Save and visit either /sitemap or /sitemap.xml to the beautiful results of your hard-done labor.

Q.