Dynamic XML Sitemap for Google ModuleExtension Specific Addon

This is a dynamic sitemap module with template that creates an XML list (in the Google sitemap format) of all content on your site with options to show or hide categories & sections and restricted content. Allows for manually entered links so you can include pages that are not generated by the module. For example: links from installed components are not included yet in the sitemap, but you can include these links by editing the module parameters. Just separate all URLs with a space and they will be added to the sitemap.


/**
* @version $Id: README 2009-09-17 20:14:40Z diana $
* @package Dynamic XML Sitemap
* @copyright Copyright (C) 2009 - Diana Scherff (http://www.amas-veritas.com). All rights reserved.
* @license GNU/GPL
*/

Installation & Setup:

1. Unzip the mod_dynamic_xmlsitemap(UNZIP).zip file
2. Install the two files (one is a module, one is a template) - mod_dynamic_xmlsitemap.zip & dynamicxmlsitemap.zip
3. Enable the module "Dynamic XML Sitemap" and adjust the parameters if needed: choose if you want categories & sections and restricted content on your sitemap. The default is "Show".
4. Change the module position to "dynamicxmls" (VERY IMPORTANT!)
5. Enter the location of Joomla if required (e.g. http://www.yoursite.com). View your sitemap if you are unsure. If your links start with "/index.php?..." then you need to enter the location of Joomla. 99.9% of users will have to enter the location because the Joomla configuration file doesn't list the location anymore.
7. View the sitemap by going to "[location of Joomla]/?template=dynamicxmlsitemap" (this is also the URL you will submit to Google for indexing). If you have problems, try entering "index.php" before the question mark.

Troubleshooting steps to try:

1. Make sure the module and template installed correctly. If you cannot uninstall them from the Extension Manager (the check box will be grayed out) then they did not install properly. This is not a glitch in the module or template, but an error in the installation process (e.g. a server timeout or other unrelated issue).
2. Make sure you have the most current Joomla patch installed.
3. If do not have the rhuk_milkyway default template installed (if you've removed it or you used an installation that didn't include it) I strongly suggest you add it. This template creates all of the default module positions and should not be removed.

Still having trouble? I'm happy to help troubleshoot and fix any bugs you find.

Updates:
11/2/09 - Corrected empty loc tag that was printing at the bottom of the sitemap & creating a 404 error in Google. It appeared only if you didn't enter any manual URLs.
11/3/09 - Corrected "Catchable fatal error" problem.

Report

Instructions for installation were accurate, and setup was easy to do, basically set the module position as recommended (although I would think one could use any new module position name, not just the one recommended).

The sitemap generated isn't in XML format, so I'm not sure why it's called that, except perhaps to relate to Google's naming.

The generated output is just a list of site links. For my site, they all started as "index.php/xxxx", so I had to add my site URL in the setup, as recommended.

Also, the output does not have CRLF codes. In fact, it appears as if each link is just separated by a single space. At least, that's how it looks when I copy/paste the output into a notepad browser.

I'd like to see each line ended with CRLF (for Windows), or perhaps just LF (for Linux), or an option.

An option to actually generate XML (for data manipulation) might be nice, but if Google accepts as is, then it's not important to me.

Lastly, visiting the author's web site and viewing their site map, they don't appear to use this component. Perhaps they are using a wordpress installation, etc. But, this also wasn't important to me.
Owner's reply

Hi tabletguy,

The sitemap is in XML format. If it isn't showing up that way on your site, then I can certainly take a look at it for you. That's the whole purpose of it, so if you don't see JUST the XML when you view it, then it isn't set up properly.

The module position HAS to be "dynamicxmls" otherwise the template won't be able to pull it up and the template is where the XML tags start. If you don't use the template to pull up the module, then it won't generate the proper XML format and Google won't accept it.

This isn't a sitemap to list on your site. It's an XML sitemap that you submit to Google for indexing. I am not using a wordpress installation. I am using Joomla!...and this module...you can see it when you click on "Demo" above.

If you send me an email at the above address I can help you fix any problems you are having.

Thanks for the review!

Easy to install and does just what it says it will do. Makes it easy to have an "always up-to-date" sitemap for Google without adding extra work. Developer is responsive and helpful.
byrgtr on November 3, 2009
Hi all, well submitting pages to google with restricted content needs addressing - and i just installed this tool.

The word "publish" in the instructions foxed me at first.

What she means is (after installation) is to go to the module manager and
1) enable it - select and use enable button
2) set the properties by double clicking it - especially to set the position - which is actually the template name

that was all a doddle.

what i am not sure of is having submitted my site to google - how the sitemap xml is generated, or whether in fact it actually is . . .

richard
Owner's reply

lol thanks Richard for your review. Hopefully we'll get it working for you soon. I did mean "enable" instead of "publish"...thank's for pointing that out. I will fix the README and the info above tonight.