Closed (fixed)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
23 Dec 2009 at 08:05 UTC
Updated:
30 Dec 2010 at 15:50 UTC
I should have started this when I first began the official rewrite as much of the code in the 6.x-2.x rewrite was inspired by Drupal 7. Now I have to go back and remember why I did things certain ways and adjust for Drupal 7 instead of developing both version concurrently and drawing inspiration from each other.
So begins the long and dangerous journey of porting a huge module to Drupal 7...
Comments
Comment #1
dave reidThis will update with the current progress
What currently works:
- Enabling and basic administration on the xmlsitemap.module and xmlsitemap_engines.module
- Generating and displaying sitemap data
- xmlsitemap_custom 100% working
- Basic xmlsitemap_node functionality
What doesn't work (aka in progress):
- Rebuilding sitemap
- xmlsitemap_menu
- xmlsitemap_taxonomy
Comment #2
dave reidAlso, we are the first module to try out automatic patch testing since we now have a Drupal 7 branch. This should help motivate a fire on my ass to get the tests in proper shape.
Comment #3
dave reidComment #4
dave reidComment #5
BenK commentedSubscribing...
Comment #6
dave reidUpdate that xmlsitemap_custom is 100% working, xmlsitemap_node now has basic functionality (working out some bugs when trying to override individual node inclusion/priority).
Comment #7
dave reidxmlsitemap_taxonomy is now 90% working and batch rebuilding works just great!
Comment #8
dave reidThe xmlsitemap_menu module now works as expected. I think the 6.x-2.x and 7.x-2.x versions are fully equal now (aside from xmlsitemap_i18n which hasn't been ported to D7). I'm going to mark this as fixed since I'm going to roll out an 7.x-2.0-alpha1 along with 6.x-2.0-alpha1.
Comment #10
atchijov commentedI think there is a problem with D7 port, though I am not sure if it is problem with xmlsitemap or Drupal core.
Basically in D7-Alpha5, hook_menu_update is not going to be called if you just change xmlsitemap settings. You have to change one of "standard" menu fields (like description) to make hook work.
Comment #11
atchijov commentedI guess I have to make it active to make sure that my comment was read.
Comment #12
dave reidYes it's a core bug waiting for some review: #801894: SAVED_UPDATED is not always SAVED_UPDATED.
Comment #13
atchijov commentedsorry that I tried to pin it on xmlsitemap :)
other then that issue, works like a champ on our site (www.touchnoc.com D7 alpha5+)
Comment #14
David Latapie commented"The website encountered an unexpected error. Please try again later" when using XML sitemap dev for D7 (I tried with the alpha version of the module before). I reduced the testcase by only enabling the core module, xmlsitemaps (i.e.: not the the submodules).
I am using Drupal 7 RC3.
Comment #15
dave reidPlease file an issue rather than opening an unrelated issue.