I am just curious as to how close we are to a stable or beta release of XML Sitemaps. I notice that the bug queue is moving rather quickly so I know this module is far from not being maintained. While I know you can't give an exact date, but are we days, weeks, months away from a supported release? Are you just waiting for a few extra bugs to get fixed or is there still a lot of work that needs to be done?

Thank you for all your hard work and I am anxiously waiting for a stable release of XML Sitemaps.

CommentFileSizeAuthor
#149 isitemap.tar_.gz1.58 KBmstef
#103 xmlsitemap-6.x-3.x-dev.tgz52.59 KBtw176
#26 xmlsitemap-DRUPAL-6--1.patch959 bytesAnonymous (not verified)
#23 xmlsitemap-DRUPAL-6--2.patch854 bytesAnonymous (not verified)

Comments

avpaderno’s picture

Component: xmlsitemap.module » Code

I think the module can be ready in weeks.
Thanks to the help of andreiashu, I am changing the code to avoid the memory problem caused by the XML site map being cached in a Drupal database table, and then loaded completely in memory before to be shown. I am also changing the code so that the xmlsitemap database table is not emptied before to collect the XML site map links from the modules.

bsherwood’s picture

Thanks for the response.

avpaderno’s picture

Priority: Minor » Normal

I am changing the code to use only the xmlsitemap table.
It doesn't make sense that a module saves the data about the links which would go in the site map in its own table, and then copy this data into the xmlsitemap table.

Like the 6.x-1.x-dev, and 5.x-1.x-dev versions are now working, the xmlsitemap table gets completely rewritten every time hook_xmlsitemap_links() is called; this means that in a web site with 20000 nodes there are 20001 table rows that are going to be rewritten. hook_xmlsitemap_links() can be called as few times as possible, but still there is the problem on writing 20001 table row when it is not necessary.

Artem’s picture

subscribing

vwegert’s picture

subscribing

dropchew’s picture

subscribing anxiously..

Mattias-J’s picture

subscribing

yang_yi_cn’s picture

subscribing....

bfdexp’s picture

I can hardly wait! One of the big missing modules in 6....

mracarpenter’s picture

Subscribing. Thanks!

shaneod’s picture

I'm also very keen to know when the Drupal 6 version will be stable. Thanks for all the hard work on this lads!

alexandreracine’s picture

It is nice to see that this is in progress! Subscribing!

sullix’s picture

Subscribing. Thanks for this future release.

dwightaspinwall’s picture

Subscribing

Anonymous’s picture

Issue tags: +Drupal 6 porting

subscribe

Anonymous’s picture

Can someone explain what is meant on the about references to 6.x-2? There isn't such a release. What's broken in the 6.x-1.x-dev release that prevents use in a production environment? This module has just become a top priority for me.

TIA,

liamgh’s picture

Subscribing

alexandreracine’s picture

@earnie. There is no other version we can use for the issue, so 6.x-1.x-dev it is.

Just like what is currently on the main module page http://drupal.org/project/xmlsitemap

"ATTENTION
The 6.x-1.x-dev, and 6.x-2.x-dev versions are still work in progress to port the code from 5.x-2.x-dev; don't use them in production web sites.
6.x-2.x-dev has been created to resolve a problem I had on submitting the project files in CVS repository; the branch has been kept, and it now contains code that is not compatible with the older branches.
6.x-0.x-dev, and 6.x-1.x-dev will be soon declared unsupported."

SimonVlc’s picture

Subscribing!

qwertyllo’s picture

Subscribing

Anonymous’s picture

@alexandreracine: As you see from your quoted text we have 6.x-2.x-dev has been created to resolve a problem I had on submitting the project files in CVS repository; the branch has been kept, and it now contains code that is not compatible with the older branches. which is the source of my confusion. Where is 6.x-2.x-dev or why is it mentioned?

You also didn't answer the what fails? question I had. So is there a list of what fails? Is there a list of what happens if I do use it? A list would be nice so I can easily help fix what's not working. I will be testing this today.

avpaderno’s picture

You don't see any 6.x-2.x-dev release because the code of that branch is still not associated to any public releases; that part on the project page has been written so people read it, and they know the procedure to install the 6.x-2 version is. I wrote it before to release that version so people will read it before to install the 6.x-2 branch of the code.

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new854 bytes

Installation: CVS DRUPAL-6--2 BRANCH.



    * user warning: BLOB/TEXT column 'p1' used in key specification without a key length query: update_sql /* 4offeradmin : update_sql */ CREATE TABLE xmlsitemap ( `lid` INT unsigned NOT NULL auto_increment, `loc` VARCHAR(128) NOT NULL DEFAULT '', `module` SMALLINT unsigned NOT NULL DEFAULT 0, `type` INT unsigned NOT NULL DEFAULT 0, `tid` INT unsigned NOT NULL DEFAULT 0, `tsid` INT unsigned NOT NULL DEFAULT 0, `p1` MEDIUMTEXT NOT NULL DEFAULT '', `p2` MEDIUMTEXT NOT NULL DEFAULT '', `p3` MEDIUMTEXT NOT NULL DEFAULT '', `p4` MEDIUMTEXT NOT NULL DEFAULT '', `p5` MEDIUMTEXT NOT NULL DEFAULT '', `p6` MEDIUMTEXT NOT NULL DEFAULT '', `p7` MEDIUMTEXT NOT NULL DEFAULT '', `p8` MEDIUMTEXT NOT NULL DEFAULT '', `enabled` INT unsigned NOT NULL DEFAULT 0, `language` VARCHAR(12) NOT NULL DEFAULT '', `lastmod` INT unsigned NOT NULL DEFAULT 0, `changefreq` INT unsigned NOT NULL DEFAULT 0, `priority` FLOAT NOT NULL DEFAULT 0.5, PRIMARY KEY (lid), INDEX link_type (module, type), INDEX type_id (tid, tsid), INDEX first_text_param (p1), INDEX first_integer_param (p5), INDEX link_language (language), INDEX link_changed (lastmod), INDEX link_priority (priority) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in E:\devshop\www\4offer\htdocs\includes\database.inc on line 515.
    * user warning: Table '4offer_drupal.xmlsitemap' doesn't exist query: _xmlsitemap_link_count /* 4offeradmin : _xmlsitemap_link_count */ SELECT COUNT(*) FROM xmlsitemap xsm INNER JOIN system sm ON sm.name = xsm.module WHERE sm.type = 'module' AND sm.status = 1 in E:\devshop\www\4offer\htdocs\sites\all\modules\xmlsitemap\xmlsitemap.module on line 633.

This error stems from the fact that p1 is a medium text field and no size for the index is given. Based on http://dev.mysql.com/doc/refman/5.0/en/indexes.html a size must be specified for the index. Based on http://api.drupal.org/api/group/schemaapi/6 and the MySql documentation I have created the attached patch and have successfully installed the tables.

Anonymous’s picture

And then when I activate xmlsitemap_node I get

Fatal error: Call to undefined function xmlsitemap_update_sitemap() in E:\devshop\www\4offer\htdocs\sites\all\modules\xmlsitemap\xmlsitemap_node\xmlsitemap_node.module on line 124

What is xmlsitemap_update_sitemap supposed to do?

jsg’s picture

subscribing

Anonymous’s picture

StatusFileSize
new959 bytes

CVS DRUPAL-6--1 BRANCH

The attached patch resolves a division by zero error that prevents updates to the database.

alexandreracine’s picture

@earnie - You seems to be a programmer, so maybe contacting Kiam (http://drupal.org/user/55077) directly to help with his tasks would be the best approach. He seems to assign to himself quite a lot http://drupal.org/project/issues/xmlsitemap

ripcloud’s picture

could not get sitemap xml module to work in 6.9 linux install - only seems to create the base url in the page and no other nodes (reinstalled and configured corectly) - here is a simple alternate mod i found
http://dinaiz-two-dot-zero.blogspot.com/2008/07/easily-add-sitemap-to-dr... - quick and dirty until xml sitemaps module is fully ported and tested.

liliplanet’s picture

subscribe, thx!

Anonymous’s picture

@ripcloud: Apply the patch in #26 to fix the issue you find. So far I've only tested the xmlsitemap_node module. I'll look at the xmlsitemap_term module by tomorrow (hopefully). I.E.: There may be similar "division by zero" errors.

avpaderno’s picture

@earnie: Thanks for your report.
If the declaration of those indexes is causing the problem you described, then I will remove such SQL indexes; the database table has already the most important indexes, and frankly using like index a field that is arbitrarily used by third party modules doesn't make any sense.

Thanks again for pointing out this; your help is well appreciated.

davosian’s picture

subscribing

avpaderno’s picture

@ripcloud: did you enable any other modules apart xmlsitemap.module? If you just enabled that module, then it's normal that you don't see any other link in the site map.

avpaderno’s picture

For all the commenters here: this is a support request which is supposed to have the progress in the Drupal 6 port like topic; it's not an all-purpose container for all the reports one can think of.

Any comments which are not strictly related to the progress of porting the module for Drupal 6 should be avoided. If you have any comment about a different topic, please open a different report.

So far, the only comments which should be present here are the ones from who is submitting to this issue, or the comments of a maintainer who would report about the progress in the module developing.

Thank you for your cooperation.

avpaderno’s picture

Status: Needs review » Active
eliosh’s picture

subscribed

OneTwoTait’s picture

subscribing

nquocbao’s picture

subscribe

browlands’s picture

subscribe

ceej23’s picture

subscribe

rj’s picture

subscribing.

miruoss’s picture

subscribing...

enzipher’s picture

With the risk of being repetitive... subscribing.

LouisEric’s picture

Definitely subscribing (the site should have an option to do that without spamming)

stefan vaduva’s picture

Guess what? I'm also subscribing :p

Frieder’s picture

me too :)

eagereyes’s picture

Subscribing. This is an important module, so getting a stable version would be very much appreciated, even if it doesn't do everything. There's always the next version. ;)

Anonymous’s picture

A bad sitemap.xml is worse than none at all which is why there is no release. I've been helping Kiam, debug, patch and test. There have been some interesting issues with other modules having invalid node object data or mistreating the node object in its hook_nodeapi that cause this module to then seem as if it is misbehaving. I hope to be using xmlsitemap on a production site before the end of next week. Stay tuned for progress and watch the other xmlsitemap issues as well. Kiam is applying patches on almost a daily basis.

gstuever’s picture

Looking forward to it!

wgrunberg’s picture

subscribing

frjo’s picture

Subscribing

agustidosaiguas’s picture

Guess what? ... Subscribing!

ipswitch’s picture

it's pretty retarded that we have to leave a "subscribing" comment to follow a node. There are module for this so why aren't they used on drupal.org???

btw..... subscribing

George_Smith’s picture

subscribing

Marc Bijl’s picture

To all subscribers:

- http://drupal.org/node/371663

break9’s picture

subscribing

samperez’s picture

Yeah, me too

subscribing

theruslan’s picture

Subscribing )
Respect for your work!

Mixel Adm’s picture

well
subscribing...
:)

richard.e.morton’s picture

subscribing

robbertnl’s picture

subscribing

jdlind38’s picture

subscribing

Oleksa-1’s picture

Guess what? Exactly! subscribing

Thomasr976’s picture

Subscribing....great modules. Thanks for your effort.

robbertnl’s picture

Is there any version or other module wich i can use for D6 on a production serveR?

bsherwood’s picture

No.

XML Sitemap only has development releases at the moment and they are not recommended for production use.

dropchew’s picture

I am using views and views node feed to temporary build a xml sitemap like structure, while waiting for xml sitemmap's official release. Thumbs up for xml sitemap!

natrio’s picture

subscribing

drmori’s picture

subs...

Mark B’s picture

subscribing

hedac’s picture

sorry... only subscribing to this must-have-module. :)

slimandslam’s picture

Subscribing......

lomz’s picture

sub

Greybear’s picture

Subscribing...

corbacho’s picture

subscribing!

whiztech’s picture

Assigned: Unassigned » whiztech

subscribing!

avpaderno’s picture

Assigned: whiztech » Unassigned
preventingchaos’s picture

subscribing

fassoni’s picture

i'm waiting ...

meppy’s picture

Subscribing and hoping it's available soon. :)

andrewhammett’s picture

subscribing

LouisEric’s picture

Subscribing

shane birley’s picture

Subscribing.

tsi’s picture

Subscribing

Sean_O’s picture

subscribing

starkos’s picture

subscribing

slimandslam’s picture

The 6.x-1.x-dev, and 6.x-2.x-dev versions are still work in progress to port the code from 5.x-2.x-dev; don't use them in production web sites. 6.x-2.x-dev has been created to resolve a problem I had on submitting the project files in CVS repository; the branch has been kept, and it now contains code that is not compatible with the older branches.
6.x-0.x-dev, and 6.x-1.x-dev will be soon declared unsupported.

Why is the 6.x-1.x-dev branch still getting regular updates if it "will be soon declared unsupported"??

J

Anonymous’s picture

Anonymous’s picture

For all watching, this is an FYI, that as of today with the patch in #403452: Authenticated users cannot access /sitemap.xml applied the node and term data seems to be functioning appropriately. Can others confirm this?

bsherwood’s picture

@earnie: That should be a separate issue.

Anonymous’s picture

@bsherwood: This issue has a larger audience than the larger issue queue and folks watching this issue are waiting for information. Therefore, I posted here. I'm using the module with the patch indicated in #88 on a production site.

Anonymous’s picture

FYI, based on reasons of the sitemap creation table, the access of sitemap.xml should not be allowed for authenticated users. So the patch I created was rejected. I'll look at a different patch for the issue of authenticated users.

eidolon night’s picture

The dev version from the 15th seems to be working OK for me.

beatnikdude’s picture

subscribing

mojoinst’s picture

subscribing

drcody’s picture

subscribing

spanito’s picture

subscribing

corbacho’s picture

I have to say that 15th March version works fine to me too. You can start using it and report bugs instead of keep "subscribing"

eidolon night’s picture

Just a heads up for anyone that experiences the same issue. This module was the straw that broke the camel's back as far as MySQL went. We had to adjust our MySQL settings. You'll know if this happens to you because you'll get the "MySQL server has gone away" error.

Anonymous’s picture

@Eidolon Night: Just for the sake of documenting it, what changes did you make? Please give the specific config variable and the value you used.

puli6912’s picture

I have been waiting for a drupal 6 compatible XML sitemap module to be developed since November 2008. Quite frankly I am growing very impatient.

What is so difficult? Do you need money to finish the module? I would gladly pay. I was disappointed by the things I read in the support forum for this module. There was far too many foolish restrictions.

Let's be honest. We (as drupal users) just need this module to function just as it did for Drupal 5.

With the advent of Drupal 7, it seems this module is well overdue. This module is the only module preventing me from jumping to Drupal 6. Everytime I check to see a working version of XML Sitemap for Drupal 6, I have to retreat to using Drupal 5.

Please let us know what the hold up is, and how much money it will take to fix it. I need the XML Sitemap for Drupal 6 to perform and function just as it did for Drupal 5. If you cannot complete this task, please just say so. I will be happy to outsource this module.

Thank you.

alexandreracine’s picture

@puli6912 : This is not a discussion board. This is here so that all subscribers will know when an official version 6 will be online.

Until then you can...

1- If you want to discuss, use the forums http://drupal.org/forum

2- If you want to pay for some developpement, contact the author Kiam (http://drupal.org/user/55077) or use this http://drupal.org/services or/and this http://drupal.org/paid-services

3- You can always test the dev module and if it work for you, keep that version and upgrade to version 6. Of course, that's unsupported.

tw176’s picture

StatusFileSize
new52.59 KB

... or (4) - re-port the xmlsitemap 5.x branch yourself, which I just did (see attached tarball).

I have lost confidence that, despite Kiam's valiant efforts, we're going to get what we need any time soon. The 6.x port has deviated far from the functionality of 5.x, with additions the community does not want (like lack of admin access to sitemap.xml), and no workable governance or change control processes for this project.

What can be so difficult about upgrading this module to 6.x? As it turns out, nothing. It took me 4 hours from start to finish, and I've never built a Drupal module before. The cause of the delays with the 6.x port is that the 6.x-1.x-dev branch is not a simple port of 5.x to 6.x. Rather, it is a complete re-write and re-organization of the xmlsitemap code, with many feature changes.

The attached tarball is working fine on my production site. It is an automated conversion of 5.x-1.6 to 6.x, with a few small fixes detailed below. I propose that we create a new branch to house it, 6.x-3.x-dev. A larger group of developers should be given access to this branch, and its charter should be to exactly duplicate 5.x-1.6 functionality with NO changes. Once that is stable, then people can start adding new bells and whistles.

Here's how this tarball was built. I followed the recommendations of http://drupal.org/node/114774 for "Converting 5.x modules to 6.x":
(1) Uploaded the 5.x-1.6 xmlsitemap tarball to http://boombatower.com/tools/deadwood to run it through the Deadwood project
(2) Installed the ported xmlsitemap code (output of running Deadwood on it) on my 6.x site
(3) Installed and ran the Schema project (http://drupal.org/project/schema), and fixed the 4 schema errors in the .install files
(4) Installed and ran the Coder project (http://drupal.org/project/coder). This identified problems with the menus and themes.
(5) Upgraded xmlsitemap.module.xmlsitemap_menu (hook_menu) function, per Drupal recommendations (http://drupal.org/node/103114).
(6) Fixed an access problem for the Engines and Additional tabs by adding appropriate 'access callback' commands
(7) Didn't bother to fix the hook_theme alert from Coder, as it doesn't affect me.
(8) Rebundle everything
(9) Created a clean install of Drupal, cleanly installed 6.x-3.x-dev, and tested. It did load all old content, and is working perfectly for my needs (e.g. main modules, terms, and engines). I don't use the user module.

Some of the things Kiam is working on sound quite nice, and I'll be glad to see the finished product. In the interim, I think we can make this new branch stable much more quickly since it has no features changes.

bsherwood’s picture

Status: Active » Needs review

Can anyone verify tw176's module?

While I do look forward to Kiam's 6.x release, I really need something for my site. Since this is a "plug and play" kind of module, maybe we can use tw176 module until an official release from Kiam.

avpaderno’s picture

Rather than being a step forward, the proposed 6.x-3.x-dev release is a step back.
Just to make an example, the xmlsitemap_settings_sitemap_validate() function checks if the xmlsitemap_chunk_size parameter is not greater than 50000, but it doesn't check if the parameter is positive.

Like reported by alexandreracine, this is not the right place to discuss of things like this that should find a better place in the Drupal.org forums.

avpaderno’s picture

Status: Needs review » Active
Anonymous’s picture

First I want to say to everyone "calm down". Kiam puts many hours into xmlsitemap and is moving toward a complete solution. He is putting out fires from past issues and the product is currently mostly usable. What people need to do is try out the product and help debug it; open up new issues if one doesn't exist for the issue. Comment in issues already open if you can add important data.

I think Kiam knows just by the sheer number of subscribed members to this one issue that xmlsitemap is important to many sites. The sitemap.xml is used by many web search engines to help index the site. I am using a recent 6.x-dev release on a site now and there are some issues I have to figure out w.r.t. nodes reported in sitemap.xml that are not existing on the site at the time Google reads the file. Fortunately, Google declares this a warning instead of an error.

So while tw176 was trying to be helpful to many of you waiting; it would be more helpful for xmlsitemap for others to help debug the current CVS versions. Pick it apart, open issues as necessary but look for an existing one first. Discuss the issues if you can provide helpful information. Flaming here isn't going to help.

puli6912’s picture

Well said brother. Well said. I too am discouraged by the silly modifications that have been projected for the 6.x release. I too am looking for a 6.x compatible version that functions identically as XML Sitemap 5.x did.

slimandslam’s picture

I think everyone has been quite calm and respectful. There is nothing to "calm down" about. What's needed here is some clarification and project management. For example, on the xmlsitemap project page, there is this confusing statement that, despite my email to Kiam, has not been resolved.

It says: "6.x-2.x-dev has been created to resolve a problem I had on submitting the project files in CVS repository; the branch has been kept, and it now contains code that is not compatible with the older branches. 6.x-0.x-dev, and 6.x-1.x-dev will be soon declared unsupported."

Well, there is no "6.x-2" rollup listed for download. Are we supposed to go into CVS and get this manually? Please explain. And why is the "6.x-1.x-dev" version getting many recent updates when it says it will "be soon declared unsupported"?

In any case, I agree with several other postings that the community just needs the basic functionality without additions. Once that basic functionality is solid, enhancements are welcome.

J

puli6912’s picture

Yes I second that same question:

Can anyone verify tw176's module?

Any feedback would help greatly. Thank you.

avpaderno’s picture

The project page contains a reference to a 6.x-2 branch so Everybody can read from now what they're supposed to do when the new branch will be ready. The code that is being committed in the 6.x-1 branch will be present also in the newer branch.

The proposed branch doesn't simply avoid any enhancements, but it also removes the code that is thought to fix some incorrect behaviors present in the previous commits. Removing a stricter checking on the settings passed to a module is not to remove a new feature but it's to remove code that should avoid bugs in the code; I can just imagine what would happen if the module would accept negative numbers for the site map chunks.

slimandslam’s picture

Hi Kiam,

If you mention version 6.x-2 without offering a rollup of the code, it's very confusing. I'd recommend two changes to the xmlsitemap project page:

1. "Upgrading to XML Sitemap 6.x-2...."

Remove this section until you have posted a 6.x-2 rollup

2. "The 6.x-1.x-dev, and 6.x-2.x-dev versions are still work in progress to port the code from 5.x-2.x-dev; don't use them in production web sites. 6.x-2.x-dev has been created to resolve a problem I had on submitting the project files in CVS repository; the branch has been kept, and it now contains code that is not compatible with the older branches. 6.x-0.x-dev, and 6.x-1.x-dev will be soon declared unsupported. "

Change this to:

"The 6.x-1.x-dev version is still a work in progress to port the code from 5.x-2.x-dev; don't use the 6.x-0 or 6.x-1 versions in production web sites. I am working on a version 6.x-2.x-dev to fix various problems with previous branches. 6.x-0.x-dev, and 6.x-1.x-dev will be soon declared unsupported. "

You might also add:

"There is currently NO Drupal 6 version of xmlsitemap ready for production web sites."

J

bsherwood’s picture

I also agree with slimandslam, in respects to earnie's comment about "calming down". As all of you can see the issue queue is moving and Kiam is working to get this module out soon. Also, this is open source, so we can't demand anything from anyone (I am not saying we are. It just seems people are waiting patently and getting frustrated).

If tw176's module at least works, everyone can use that on their production sites, until a working stable release is made from Kiam. The downside to that is there may be fewer people helping in the issue queue.

avpaderno’s picture

If anybody is looking for a way to create a site map, and cannot wait until the module will be bug-free, there is a different way to create a site map.

A site map can contains links to RSS feeds, which can be generated dynamically from Views.
That is surely a better solution than to use a module that does not check the input given for its settings (and that should replace another module because it's said to be buggy).

avpaderno’s picture

See http://www.sitemaps.org/protocol.php, under Other Sitemap formats.

bwv’s picture

Kiam: Thank you for your efforts on behalf of the drupal community.

In researching this issue I stumbled upon the following link from where one can download a very small 6.x module that generates a sitemap for one's site. It is not nearly as elaborate or sophisticated as the version you are developing, but it may nonetheless satisfy those here who are looking for a short term solution.

http://dinaiz-two-dot-zero.blogspot.com/2008/07/easily-add-sitemap-to-dr...

I am using it and it works flawlessly.

At the same time, I look forward to the masterpiece you are developing.

Oleksa-1’s picture

bwv, but your module does not generate map in xml-format, correct?

bwv’s picture

I think it does... you can find it here:

http://horsezilla.com/sitemap.xml

Google webmasters' tools also shows no errors.

avpaderno’s picture

It surely does (if the question was for me).

Oleksa-1’s picture

Kiam, what approximitly how much time do you need to finish 6.x stable?

avpaderno’s picture

I cannot reply to the question, as it's not a task I am actually doing on a daily schedule, lately. My intention is to develop the 6.x-2, which should resolve the timeout issue.

theoldfather’s picture

I installed the 6.x-1.x-dev release today on a small site (~45 urls) and it is handling basic nodes correctly. Not sure if this is what you are referring to as the 2.x branch, but it says it was updated today and its basic uses seem stable to me. Thanks for all the hard work you have put into this so far.

ifbyphone1’s picture

To patch tw176's 6.x-3.x code for the problem Kiam mentions, simply add these lines to linkchecker.module at line 199:

  if ($form_state['values']['xmlsitemap_chunk_size'] < 1) {
  	form_set_error('xmlsitemap_chunk_size', t('Cannot send less than 1 link at a time.'));
  }

If this code from tw176 works (still testing here) I think we should consider forking this code and potentially creating a new module: NoFrillsXMLSitemap. Some of us want a module that is:
(1) production-ready
(2) now
(3) without lots of new features

I am sure there are other challenges with the 3.x code -- there always are. But those with a strong desire for the three attributes mentioned above may be able to focus some development effort against the code and get something out quickly. Might not work, but it might.

When Kiam's version is production-ready, I'm sure many NoFrills... users would switch back, myself included. Kiam, please do not take this personally: no one can please everyone all of the time, and there are users here with very different needs. Your efforts are appreciated, and a forking of the code would *not* constitute any less faith in your ability to deliver a tremendous module.

avpaderno’s picture

Creating a new module that has the same purpose of an already existing module is contrary to Drupal.org, which suggests to co-operate with the maintainers of existing modules; that is the reason I asked to co-maintain this project.

To fork the existing code could serve a purpose, but if the fork doesn't include the fixes implemented in the last commits, then it's a waste of time; if then it does include the last bug fixes, it still is a waste of time because is a fork of code that already does the same things.
I think the better solution would be to propose patches for the currently committed code; the patch should take in consideration that there is already a plan to change the code so that is not anymore needed to copy the database content from a table to another one.

Anonymous’s picture

While this other module is simple it's a bit too simple for real production use. If you have a few 10 nodes maybe but once you reach sizes of more than a few then your SOL. The module also only creates links for nodes, i.e. no taxonomy, users, forums etc. It also must have pathauto installed and it doesn't consider duplication aliases to the same node. And it doesn't consider the anonymous access to the sitemap.xml file. It is really a lame imitation of this module which Kiam is striving to complete with some form of a well created sitemap.xml.

damienmckenna’s picture

With Drupal 6 close to a year old and this module in a perpetual state of limbo.. is there any chance of opening up development to contributors? On behalf of the eager hordes, specifically those of us who *could* help the effort, I'd like to request the following:
* That the v6.x-2.x branch be made available as a dev release,
* That all planned changes & fixes be added to the issues list so that the community can help speed up the development process,
* A message be posted on the project main page indicating that the v6.x-2.x branch is only for development and that anyone wishing to help should start working on the tasks.

Kiam, would you be willing to do this? I think this would take some of the load off your shoulders *and* get the project closer to a solid release much more quickly, and speaking for myself I have both myself and another developer working with me on a project that could immediately start helping but we need the above in place first. Please please please please please :)

litwol’s picture

I would like to help as well. yes please open the -dev-2 branch to development.

I've been maintaining d5-dev2 fork at work for quite a while now and developed various optimization methods that don't kill our site when we try to rebuild xmlsitemap index from a node table of over 1.3mil records and 200k users and (a ton?) or taxonomies. I would like to work these optimizations into the core of this module so i can finally stop maintaining it on the side :-D.

So what Damien said, Please please please please please :)

Anonymous’s picture

I would like to help as well. yes please open the -dev-2 branch to development.

It is open for development.

cvs co -r DRUPAL-6--2 ...

Your comment makes me wonder how useful your help will be but start submitting the patches since you don't know this basic item. Note each patch deserves its own issue unless the patch file is correcting errors discussed in the issue. Do not get discouraged by criticism or comment about your coding or the rejection of a patch. It will not be a personal attack toward you.

Regards,
Earnie

damienmckenna’s picture

@earnie: litwol was probably seconding my request to have v6.x-2.x made "open" by "be[ing] made available as a dev release", I (personally) know it's available via CVS but Kiam's comments suggests he doesn't want anyone to touch it until he's finished. Also, having a list of known issues & planned changes made public we know where to start, rather than each of us having to duplicate this initial groundwork. With such an important tool for modern websites, open communication and collaboration will help everyone.

litwol’s picture

@earnie, offense taken. I was only seconding Damien's post. However, you're absolutely right, i should have done my research regarding -dev2 branch rather than just seconding the post.

avpaderno’s picture

It's my intention to create a 6.x-2 branch, but I would prefer to resolve the problems present in the 6.x-1 branch first; the code of 6.x-1 will be ported to 6.x-2, with the exception of the code handling the database tables.

damienmckenna’s picture

@kiam: Thanks for that quick response and for clearing up your current plans. I'll see what I can do to verify the output generated and work on patches to rectify any issues. Do you think you could update the project description to remove references to v6.x-2.x-dev until you are in a position to release a dev version, as you can see it is confusing people as to your intentions?

@litwol: Please try to port your improvements to v6.x-1.x and submit a patch for them.

Anonymous’s picture

Re #129: I couldn't agree more that open communication and collaboration is a good thing. If we work the issues in the issue queue then we will get this product out of the door. So everyone visit http://drupal.org/project/issues/xmlsitemap and choose an issue to work on. The 6.x-1.x-dev version is very close to being ready.

Re #130: Sorry for any ill feeling in the last post. It seemed you weren't aware of the CVS.

Re #132: Kiam, I agree that the wording on the site page is confusing. Perhaps just removing the mention of the 2.x-dev release is good for now. Once 1.x has a release you can add text about your plans for enhancement.

avpaderno’s picture

I will change the description in the project page to make it less confusing; I will be do it as soon as possible.

dave reid’s picture

I'm completely +1 on adding multiple maintainers for this project. It's too important not to, especially when there are a lot of major architectural problems that need solving. It seems like for every step forward, the module takes two steps back. We can avoid those types of problems with coordination and discussion.

mstef’s picture

Tried installing tw176's module...and instantly:

# warning: Missing argument 4 for xmlsitemap_node_views_query_alter(), called in /var/www/sites/all/modules/views/includes/view.inc on line 618 and defined in /var/www/sites/all/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module on line 520.

(error above showed about 6 times)

# The installed version of at least one of your modules or themes is no longer supported. Upgrading or disabling is strongly recommended! Please see the project homepage for more details. See the available updates page for more information.

missed that?

damienmckenna’s picture

I think we should close out this topic as it has ran its course.

At this point I think we should:
* Continue to use the v6.x-1.x codebase,
* Anyone interested in helping should use the code from CVS,
* Submit bug reports and, more importantly, patches,
* Review patches that are submitted.

Heilong’s picture

Subcribing...

Anonymous’s picture

Re: #136

@mikestefff: WTH are you posting about issues of a foreign module within this module? See my comments at #379854-128: The site map is not being populated. Create new issues for errors with the existing code.

mstef’s picture

Re: #139

@earnie: there were a few people talking back and forth about the port that tw176 posted in this thread. many people asked if it had been tested. What you linked to is irrelevant.

Anonymous’s picture

Re #140:

Please review the comments listed below

#359104-105: XML sitemap 6.x-1.x-dev progress
#359104-124: XML sitemap 6.x-1.x-dev progress
#359104-125: XML sitemap 6.x-1.x-dev progress

This issue is to report progress with xmlsitemap-6.x port and not some fork of someone else's module.

green monkey’s picture

agrees with earnie http://drupal.org/node/359104#comment-1417638

everything works out better and moves faster as a working community

avpaderno’s picture

@#136: That happens because the implementation of the hooks required by Views is changed. The fork didn't change that part of the code; therefore, it's perfectly useless (and that is the reason I suggest to not use the alternative fork).

NickLitten’s picture

/me applauds Damian and crosses his fingers... ;)

Anonymous’s picture

Kiam, can you please list your concerns before you release? Where can we put our attention to in helping get this module completed for a release?

avpaderno’s picture

There are still some issues that needs a work out, before I continue to develop the 6.x-2 branch. I would like to fix those issues, before to continue. It would really help, if somebody could check the reports I set as postponed (maintainer needs more info), and verify if there is really a bug in the code.

damienmckenna’s picture

earnie: I think working through some of the v6.x-1.x issues would be a good start. I'm still waiting to hear back from someone on the output..

m.rademacher’s picture

Anxiously awaiting this port. Thanks for working on this!

Subscribing!

mstef’s picture

StatusFileSize
new1.58 KB

I just pieced together what I believe to be a good temporary fix for 6.x users needing a valid sitemap.

I know this issue is supposed to be reserved for the progress of the actual 6.x port but for one, I didn't want to create a new issue because this really isn't a bug or support request, and two, because the thousand of people subscribing to this issue will most likely find this very useful.

Well like all of you, I desperately needed/wanted a sitemap module for 6.x - we all know how important it is. I'm not at all being rude or greedy, but we all need a solution now. I love the XMLSitemap module and thank every single person who made it possible. But I had to take this one into my own hands for the time being - until the 6.x release is completed and bug-free. I spent the last few hours writing a quick and simple module which will provide your site with a valid, complete sitemap.

*IMPORTANT* - To use this module, you must do some code configuring yourself to achieve what you want. I didn't have time to make an admin settings page (although I welcome someone to edit it so). I'll explain more below. Also, this module is only meant to be used until a full 6.x release of xmlsitemap is ready. There aren't any features in this module besides simply creating and returning a sitemap - it is very crude and straight-forward (please expand upon it if you'd like - don't forget to repost though).

OK. Now to explain how it works..

A sitemap is generated upon invoking cron - so don't install it, access /sitemap.xml, see no sitemap and freak out. After installing, run cron once. You can edit this module to determine how often to create a new sitemap. The sitemap is generated, saved at /sites/default/files/sitemap.xml. When you access www.site.com/sitemap.xml, the file is grabbed and returned, just like it existed at that location (so obviously, don't have xmlsitemap installed while using this). By default, this module will generate a new sitemap every 24 hours (see isitemap_cron() and edit the number in the first IF statement if you want it longer/shorter). There is no database - nodes aren't added to the sitemap right after they are created/deleted.

Sitemap content: Also in isitemap_cron() you can decide what content to add to the sitemap. By default the sitemap first adds the root address, then all of the primary links which are not nodes, then all of the taxonomy term pages (edit the SQL to specify which vocabID's to include), then every published node on the site (edit the SQL to specify which node types). For the node entries, the most recent update (content or comments) time is used. Feel free to change the priority and change frequency numbers as well. When I have time, I'll create an admin settings page for all of this. For now, just tear up the simple code.

Like xmlsitemap - the sitemaps are only accessible to anonymous users. I didn't want it this way, but since I'm used to 5.x modules, I didn't have the time to figure out how to allow all user access.

That's it...

If I find any bugs, I'll fix and reupload. Any comments, bugs, or feature requests/additions, post or PM me.

Sorry for hijacking this thread but I'm sure this will help a lot of people.

**EDIT**
About 30 minutes after submitting to Google Webmaster Tools, Google reports a successful download, and all 13,000+ URLs submitted without a problem. Also, this module doesn't create separate sitemaps so do not use if your site has +50,000 URLs

Anonymous’s picture

@Kiam: can we delete comment #149?

@mikestefff: get your own project!

avpaderno’s picture

Title: Progress With 6.x Port? » Drupal 6 porting progress

I think it's not possible. I would remember, anyway, that the issue queue is thought for the reports related with the project; patches to apply to the project code are welcome, but a complete rewritting of the project should be posted in a different place, like the Drupal general forum.

bwv’s picture

As one who previously introduced (http://drupal.org/node/359104#comment-1404928) a suggested alternative, I can report that I followed the instructions here (thank you earnie):

http://drupal.org/node/379854#comment-1421236

And am having great success with Kiam's code.

Anonymous’s picture

I know of the following two issues:

#379854-177: The site map is not being populated
#379854-179: The site map is not being populated

Both of these can cause unexpected results. But if you always promote the nodes and aren't interested in controlling priority of the link by user or user role then this module seems to give expected results.

Witch’s picture

subscribing stressed....

lilon’s picture

subscribing

emackn’s picture

subscribe

HS’s picture

++1

webchick’s picture

I read through this entire thread and am still a bit confused about which branch I should be testing/fixing bugs in. Would love a notice on http://drupal.org/project/xmlsitemap that says in bold, blinking, marquee font:

"If you are a developer wanting to help get a 6.x release of this module out as soon as possible, please hack on the XXXX branch."

It sounds like XXXX is DRUPAL-6--1 unless your site has a lot of nodes (which my client's does; 100,000+) in which case it should be DRUPAL-6--2, but DRUPAL-6--2 won't be done until DRUPAL-6--1 is done..? I'm so confused. :\

Basically, if #126 could be made a priority as soon as humanly possible, that would probably make everyone a heck of a lot happier. :)

In the meantime, I'm going to take a stab and work on DRUPAL-6--1, since that has a commit from 5 hours ago, and DRUPAL-6--2 has one from 8 weeks ago.

webchick’s picture

For others who might be wondering, that does indeed seem to be the case.

The CHANGELOG.txt of both branches actually look very nicely maintained, so it's easy to tell from a quick diff which fixes are in which branch. Thanks for that, Kiam.

avpaderno’s picture

I started to develop the 6.x-2 when I understood that the modules should use a unique database table to save the links which should populate the site map; as the new code is supposed to be not compatible with the old code, I created a new branch.
I have been then recalled about the necessity to back-port the code, and I started to develop again the 6.x-1.

To make a long story short, the branch currently developed is the 6.x-1 one; its code will be ported to the 6.x-2 branch that will be the branch where all links for the site map will be saved in a unique table.

I am sorry for the confusion I generated, which has been caused by my mistake to create a development snapshot from code that was ready to be tested (and from not knowing some details about how the Drupal CVS repository works).

avpaderno’s picture

- Duplicated comment -

Anonymous’s picture

Welcome to the fun webchick. Unpublished content is currently not being populated to the sitemap.xml report. See #379854: The site map is not being populated for more info.

avpaderno’s picture

Unpublished content is currently not being populated to the sitemap.xml

Do you mean that unpublished nodes do not appear in the site map? That is the behavior I would expect.
I am sure I am misunderstanding the sentence you wrote (it must be so; next, I will see mirages :-) ).

Anonymous’s picture

Do you mean that unpublished nodes do not appear in the site map?

I meant not promoted; sorry for the confusion.

avpaderno’s picture

There is nothing to be sorry; we are all here to try to resolve issues, and you already helped many times with XML Sitemap issues.

I can report that the nodes in my web site are not promoted to front page, and they are present in the site map. This doesn't mean anything, as I don't have part of the issues the other people have with this project code.

Anonymous’s picture

Well, #438218: Batch updates not running on install has stopped further progress with my diagnosis.

avpaderno’s picture

The development plan is to resolve the most important issue with the project (#379854: The site map is not being populated), and then start to port the code to the 2.x branch, which will change the database tables used.
Before this happens, the code to populate the project database tables during cron tasks must be implemented.

The multilingual support will be completed in the 2.x branch (if it still needs some work).

damienmckenna’s picture

Kiam: Please post a quick update on the project summary to list the planned releases and expected functionality, e.g. at what point do you expect it to list all nodes. Currently there's confusion on what is expected so there's confusion on what you anticipate fixing versus what you would like help to work on. Thanks.

tsvenson’s picture

subscribing

HS’s picture

169 comments! Wow!

If everyone who responded here donated 5 bucks we probably could have paid a developer to make a new sitemap module from scratch in the last 3 months. :)

In 169 comments over 80% is people subscribing to track this issue and make the maintainers know that they are waiting...and waiting...

Anonymous’s picture

If you really want to watch what is happening then go to http://drupal.org/project/issues/subscribe-mail/xmlsitemap and choose "All issues". Then jump in on providing and testing the changes.

Currently the module isn't adding old content.

avpaderno’s picture

The code is going to be further changed, after the code review made from webchick.
Who wants to help in the development can confirm if the site map is being populated, and the multilingual sites are correctly handled.

Thank anyone for the help given with this project.

avpaderno’s picture

@#168: I am not sure I understand what you mean; may you be more explicative (English is not my first language; that can explain why I don't understand all I read :-))?

bwv’s picture

For the person who posted comment #170:

Your remarks are out of line. Nothing in life is free except the sun rising in the east. If you are impatient please feel free to contact a developer on your own. Meantime, please exhibit a little more respect, and show a little more support, for the individual(s) who, are not complaining, but rather doing all the work.

Thomasr976’s picture

I am not a coder, but I would be happy to help with the documentation for the project. Also may be able to test on a Drupal 6.10 site. Let me know.
Tom

HS’s picture

bwv,

How is my comment out of line again? And what exact purpose does your comment#174 add to this conversation?

My point was through 169+ comments - 90% is a lot of junk - people subscribing.

Get a grip man...you been here long enough to know better than to flame.

Thanks though!

avpaderno’s picture

We shall not start such arguments here; the issue queue is not the place to start a battle about what somebody said, and what he meant. It is already happened in the past, and it's not a good thing for the project developing.

bsherwood’s picture

Kiam,

Even though the commenter in #170 was a little blunt. It did give me a few questions:

1. Do you accept donations?
2. Would donating actually help speed up the process of releasing a stable 6.x version?

If the answer to both of those is "yes", maybe you could add a donate button or a ChipIn widget to the project page. This way those of us that can not contribute with writing the actual code can help contribute financially.

green monkey’s picture

thats better, now I'm feeling the love :-)

Happy Earth Day everyone

are you "recycling" your code ;-)

bsherwood’s picture

"recycle" your code.

Brilliant! *In William Shatner's Priceline.com's commercial voice*

Man, I really am a geek.

HS’s picture

That is the very point I was making. If SOOO many people are keen on this, let's all pitch in and get this going. Kiam if some cash will speed up the development place a chip-in widget mate.

Thank you for the progress you have made thus far.

Anonymous’s picture

Cash !== Time.

What is needed is more people looking at the code and understanding the project code flow. Cash may pay the bills but Cash doesn't provide anyone more time in the day.

avpaderno’s picture

I agree; the more useful help is to help in the development of the code.

bsherwood’s picture

The point that I am trying to making was about people who are waiting but are unable to help in the actual reviewing and coding of this module. People like myself who don't have the programming skills to help in the actual development but would still like to help in some other capacity.

Earnie,

While I don't disagree with your statement about more people helping. Unfortunately, even after months of waiting, this module still requires more work. Everyone who has subscribed to this issue obviously wants to see a stable release. Although maybe most of them are not coders, but website administrators who lack a firm grasp of PHP and Drupal.

Donating money doesn't magically make something get done but it might help "grease the wheels". My last post was about giving non-coders some chance to contribute in a pro-active way instead of just constantly requesting when the 6.x port will be available.

avpaderno’s picture

I understand your perspective, but keep in consideration that I am co-maintaining this module in my spare time, without to get paid for what I do here. I am not absolutely developing the code in slow motion, and waiting for somebody to offer me money (and then, magically starting to develop at the speed of light).

Drupal is developed like free software, and the code you can download from Drupal.org is available freely. You cannot pretend the modules are developed in few time, or that who develops the modules is able to predict all the needs of who will use his module.

I hope I will not misunderstood for what I right said.

webchick’s picture

@Kiam: I don't really read it like that; I think what people are saying is that they appreciate your work and really would like to help you achieve it, but since they're not developers they feel somewhat stranded. But something non-developers can do is send a few dollars your way. The idea is not to imply that you're being somehow sneaky with how you're spending your time, but more to say thanks. :)

If time is the main constraint and money won't sway things one way or the other, then you're probably right to not put a Paypal link up. But if there's a chance that if enough money was raised you could take a break from your day job / school / whatever for a couple days and just focus on the module, then it might be a good move, and would give those who can't help with code reviews and patches a constructive way to contribute to something they'd like to see happen.

avpaderno’s picture

I didn't mean somebody was saying that; still, I wanted to be clear on that.

In my case, money doesn't help me to have more time to develop the project, nor raises the quality of my code. :-)

bsherwood’s picture

Thank you webchick, you hit the nail on the head. In fact. you said it better than I ever could.

tsvenson’s picture

Webschick, spot on. That is exactly how I have read this thread. I think it is easy to forget that it is not just coders in the community, but a lot of people who want to "chip in" with whatever they can offer. Unfortunately if you are not a coder it can sometimes be miss-interpretatied in the wrong way. We are all here to try and help out the best we can from our own needs, knowledge and experience...

mstef’s picture

What is the point of all of the complex tables on the backend, and extra features? I think the sitemap should just be generated on the fly dynamically based on which node types, tax terms, menu items, etc, the user specifies in the admin settings. XML file gets stored as sitemap.xml and returned when a SE hits it. You can update it on cron at whatever interval you specify. I know everyone yelled at me for the temporary sitemap module I posted here, but to be honest, it took me about 3 hours to write from scratch and works perfectly for me (for now).

avpaderno’s picture

The keyword here is from scratch. It's surely easier to make a module from scratch than to modify existing code.

EkaMei’s picture

Still, when someone spend 3 hours of their time and duct tape something together, still manage to satisfies my need better then a project that have been on going for months, say something.

None of us are saying the XML module is not on the right track, but problem being it try to race to the goal without stopping for gas, and gave us the feeling that we are all stalled on the side of the highway waiting for someone to help. An important module like this should, at the very least, have one usable and stable version for the most recent version, however feature lacking it might be.

It doesn't really matter how much bell and whistle there is if all we get to do is stares at it for months on end. Some kinda balance need to be made.

bwv’s picture

Anonymous’s picture

I can report that the file dated April 29, 2009 - 19:38 creates data for sitemap.xml. There is a known issue #449284: Setting priority to 'Not in Sitemap' does not remove link from sitemap that prevents a release. Please test again and open issues as you find them. Remember to follow the steps outlined in #379854-128: The site map is not being populated for proper installation of the newly designed module.

j0rd’s picture

I'm with mike on this one. I don't need any fancy features for a sitemap module, I just need my node URLs printed in an XML format for Google. Updated on cron and cached otherwise.

Currently I can't believe Drupal 6 does not have a working sitemap module.

XML sitemaps for my site with about 500-750 nodes, is unable to produce a sitemap on my shared hosting (dreamhost) with a 120 second execution time, it appears to timeout and I receive a 404 error. I'm not really interested in any of the complex features this module provides. I feel waiting until 1, this module is complete and 2, this module is optimized enough, so that sitemaps get created in a reasonable amount of time....I'll be waiting for another couple months to come. My sites can't afford this.

I'll be going mikes road and either downloading his, or creating my own module to get things done. Like mike, I do not believe it will take more than a couple hours to create something for my (and probably most users) needs.

I do appreciate all the work for people who are working on this project (and all other drupal projects), but when a stalled project is holding other people back, those people should step up and create/share something to fill the gap.

Thomasr976’s picture

Have to agree with the last post. Many of us need the basic xml site map so that we can migrate our Drupal 5 websites to Drupal 6. We also have clients who want to take advantage of some of the functionality in drupal 6 and they are asking about progess on this module.

If we're talking about an additional week or two to get the bells and whistles fine. But clearly several more months would not be good. People will start to explore other alternatives if that is the case and that would in my opinion be a shame after all the effort that is going in to this.

It's the module maintainers call and you'll hear no more from me on this issue.

webchick’s picture

how about rather than making demands, you help out? http://drupal.org/node/448000 is the place.

Thomasr976’s picture

Definitely will try to now that I know where to go. Thanks for pointing this out to me. I never realized what some of the issues were.

mstef’s picture

There's no reason why my quick solution can't be used while helping out the XML sitemap project. I'm not sure why people seem so split on the issue like you can't do both. I was just trying to help out everyone and myself included. Just remember if you use my module you have to edit the code to make it work for you (node types, tax categories, etc) - just look at the function that chooses which to content to add to the sitemap.

If I wasn't so busy I would be helping get XML sitemap ready for 6 - but I don't have the time at the moment.

dave reid’s picture

mikestefff: I would love if you reposted your code and ideas in #448000: Big, Over-Arching Sitemap Architecture Discussion (tm).

An update for everyone following this thread: there are now three active maintainers for this project instead of one, which should 1, help move things a little faster and 2, increase the quality of our code since we're trying to peer review before committing. Earnie is now helping Kiam a little more actively in the 6.x-1.x-dev version with getting bugs fixed for a stable release soon. I've been added as the maintainer of the 6.x-2.x-dev version, which is a complete rewrite with considerations for performance, scalability, and reliability.

mstef’s picture

@dave reid: just posted a link to it and some other rantings about why i think this module is way overkill to what is needed. keeping such detailed tabs on every node, etc, is wasteful and unnecessary, I believe. Read Google's docs on sitemaps. No database should be used for this, unless there is something I am missing, which is very possible.

Anonymous’s picture

I've created #453146: xmlsitemap-6.x-1.0-rc1 Ready, Set, Go, please weigh in with your support of these issues to get them closed.

j0rd’s picture

I took mikestiffs code and edited it to provide sitemap links to about 90% of my pages. Rest are too hard, as they're views with dynamic arguments, but this will work for most of my links, so I'm happy for now. I consider it a viable solution for those in need (and with programming experience) while we wait for a feature full sitemap to get completed. I consider mike's posting useful, even though he got flamed, because he resolved my issue for this.

I think the 80/20 principle (Parento principle) which Dries has talked about should be applied to this module. Spend 20% of your time making this module work for 80% of the easiest links to add into a sitemap. Put out a stable but featureless release. This should satisfy at least 80% of the people at least in the short term.

Then spend the other 80% of the time creating a more robust featurefull version for everyone...but I think right now, Drupal 6 needs something to generate sitemaps, quick and easy...even if it doesn't index everything.

I'm in the same boat as the maintainer of this module though, I don't have enough time to work on all my projects either. Not blaming you on this, I personally just needed a solution.

alex.ihlo’s picture

This modules been in dev for like half a year...is that normal?

ulrich’s picture

Component: Code » Other

@Kiam, @Earnie, and Dave: I am maintaining another software development project (not drupal related) in my spare time, so I can understand your situation, where time is the major limiting factor. You have been and are doing a great job!

I would rather have a well designed, maintainable, scalable, and flexible module that will stand up to future developments like new modules, or that can be ported more easily to new drupal versions than a hastily thought out version that currently meets my needs, but has to be tinkered with each time changes are made in other places.

@everyoneWaiting: Maybe we should let the development just go on, and not make the developers spend their time reading and responding to comments that do not help in the development process.

Anonymous’s picture

FYI, the 1.x-dev version is really close to having a 1.0-RC1 released. Keep watching #453146: xmlsitemap-6.x-1.0-rc1 Ready, Set, Go for the status of that RC.

dave reid’s picture

Also, for a summary of the current state of the module, where we are going to be headed, and to help sponsor the 6.x-2.x rewrite, please read http://blog.davereid.net/content/state-of-drupal-xml-sitemap-2009.

Anonymous’s picture

FYI, for those watching this list. Yesterday, Kiam created a xmlsitemap-6.x-1.0-beta1 release which can be found on the project page. There is already a known issue at #458546: Cache files are not created.

j0rd’s picture

@Dave Ried, thanks for the write up. Really lets you know where this project is going.

Thanks for everyones hard work on getting a 6.x beta version out, looking forward to testing it on my new sites.

Witch’s picture

i am glad to see the beta releases! thank you!

avpaderno’s picture

In the next beta release, the modules will not copy their data from their database table to a central table, but they will use their table to directly populate the cache files used to serve the sitemap content; the cache files will be created in a different time, and if the cache files have not been created for any reasons, the code will try to serve a sitemap by asking to the modules to output the first 100 links of the sitemap chunk being requested. In that way, the code will be able at least to offer a partial content of the sitemap, even in the case it is not able to give the full content; this would also resolve the PHP timeout issue that some users noticed.

Viewing the sitemap will not cause the cache files to be generated; the cache files will be generated in a different time, and I am actually implementing the code for sitemap.php, a file that should be used in the same way cron.php is (it is called by the cron command), and that would uniquely create the cache files for each chunk of the sitemap.

avpaderno’s picture

I set #468142: Extimated time of arrival as duplicate of this report.

avpaderno’s picture

In the next hours I will commit all the changes I have done in the past days.
Take in consideration that the code could contain some errors that don't allow it to work in all configurations. Please, report any errors you should find.

The difference with the past code is that the creation of the cache files will not happen when the sitemap is being request, but at a different time; actual code contains a file that must be invoked in the same way cron.php is. In the future, the tools page will also allow to create the cache files, and the cache files will only be created for the modules that need to updated their cache files.
I cannot do it tonight, and soon I will not be able to work on this project as I am doing now because a vacation I planned to do. My plan for the next days is to give to the community the code I developed in these past days, and to fix some bugs, if there would be any (which is not something I can actually exclude). What I cannot do in the next two weeks will need to wait my return, or another maintainer to do it. I am not sure what I will be able to do on the project code for the next two months, but I will not be surely able to do as much as I am doing now (which could mean I am not able to write a single line of code).

-- Kiam
Kiam la luno renkontas la sunon.

avpaderno’s picture

The next development snapshot that Drupal.org will make available removes the limits on the number of links the code outputs when the cache files are not found, or it's not possible to open them.
This means that the code is able to output the sitemap chunks even when the cache files have not been created, yet; the operation can take a little more time than serving the content from the cache files, but at least it outputs the content of the sitemap.

avpaderno’s picture

The beta5 version has been already created; for a list of the features it adds, see the the release page for the beta4 version. The beta5 version adds an update function that was missing from the beta4.

Ken Watts’s picture

First, thanks to everyone for the discussion and work on this--I just want to say that its been an education to me (and a very edifying one) in the inner workings of the Drupal community and how the work actually gets done.

I just thought you might like to hear, from a (relatively) outside point of view, that the way the Drupal community works, and the social skills (as well as the technical expertise) involved is impressive.

I have one question, since I'm not that technically savvy.

I have what I believe is a relatively small site--about 1500 nodes--and I've been waiting for this module so I could upgrade to 6.x. Am I correct in thinking that for a site my size it should be reasonably safe to go ahead at this point with 6.x 1.0 beta5 ? Or am I jumping the gun?

Obviously, I'm not asking for guarantees--I'm not that new. But I am trying to build my readership, and so want to make sure that upgrading at this point isn't incredibly stupid.

I'll be very appreciative of any feedback...

Thanks,

Ken
the daily mull

Anonymous’s picture

Beta0 is known to mostly work. The -dev has been reset to that version of code. We will be working toward a beta6 ASAP, hopefully within a couple of days.

Thomasr976’s picture

I am in a similar situation with my site and like you I am concerned about building readership. I think the answer to your question may depend how current users are finding your site. If it is via Search Engines primarily and you are using version 5 of the XML SiteMap module than you may want to stay with Drupal 5.x for the time being to limit the downside risk of losing the ability to attract the search engines.

Of course this all depends on your risk tolerance. To put this into better context "If u are the kind of person who wears a belt and suspenders and still worries about their pants falling down, then don't use the version 6 beta. [sorry, just couldn't help myself]. Just wait for a stable version of XML SiteMap in the 6.x-1.x version and then switch over.

Also consider what is to be gained in Drupal 6.x. If Drupal 5.x is providing all the functionality that you need, then relax and stay with it. It will be a round for a long time.

Your site like mine is relatively small so I am not sure if you'll experience the performance issues mentioned in http://drupal.org/node/482550.

Good luck.

Ken Watts’s picture

Thanks.

Both comments were very helpful.

Ken

avpaderno’s picture

I find the development of the module a little confusing: first the problems are fixed, and then they reappear because of the code being rolled back without to first apply the changes to the old code.

Inter-dev updates are also said to not be supported (see #485304: Fatal database update error). This means that you need to uninstall the development snapshot 6.x-1.x-dev before to install the newer 6.x-1.x-dev; I let you imagine what happens to whom has 10,000 nodes that appear in the sitemap, but he is forced to uninstall the module, and see the sitemap being reset.

rj’s picture

Hi, I'm having some issues with the beta5 version and I'm not sure if I should 1) post it here, 2) post a new thread, 3) live with it to see if beta6 fixes the problem, or 4) Troubleshoot it myself. The issue is that I've added additional links to the sitemap, but they all appear with a lastmod date of 1970, a changefreq of yearly, and a priority of 1.0. Additionally, when I add a link, it gives the following message:

array_shift() [function.array-shift]: The argument should be an array in /public_html/includes/form.inc on line 1332.

I went in to the xmlsitemap_additional table and the "previously_changed" and "changed" fields were all blank. I filled in the fields, which caused the lastmod and changefreq to update, but the priority did not update. Is this a known problem? I have run cron several times, emptied my cache, and deleted the xml file in my files/xmlsitemap folder. Thanks, any feedback would be appreciated.

avpaderno’s picture

As a side note, features or tasks approved by more than one maintainer have been removed in the last commit done. This means the code returned to the situation existing one month ago.
I am not sure if this can be called progress, and I am not sure if putting the blame on just one maintainer could be of any help. One could make note that the others maintainers didn't do anything, not even to make a comment to say what was wrong, or to express an opinion about how the code was being developed, when (and if) the code was not developed in the correct way. Not doing anything doesn't always mean to not be guilty.

avpaderno’s picture

@#222: I would rather open an issue report for the errors you are seeing.
I am not sure if the next beta version will fix the problems you are seeing, as it doesn't seem to fix the bugs the recent commits have re-introduced. That would be a reason more to open a different report, anyway.

Anonymous’s picture

Current BETA5 is no longer valid source and the -dev version is in repair. Once -dev is functioning properly we will issue a BETA6. Please be patient, the plan for BETA6 is within the next few days.

Anonymous’s picture

Several issues for 6.x-1.x were repaired today but a few more wait review and some need coding. I am hoping that the -dev version will once again be usable by the masses very soon. It will be very close after tonights rebuild of the file for those who wish to test it. If you do please follow the instructions given at #379854-128: The site map is not being populated.

avpaderno’s picture

Title: Drupal 6 porting progress » XML sitemap 6.x-1.x-dev progress
Anonymous’s picture

Those of you with multiple languages installed, please review the posted patch for #442582-8: Only the default language site map is submitted to the search engines.

Anonymous’s picture

Starminder’s picture

As of June 17 Dev, still getting this one:
Unknown column 'xt.tid' in 'where clause' query: SELECT t.* FROM term_data t LEFT JOIN xmlsitemap_taxonomy xt ON xt.tid = t.tid WHERE xt.tid IS NULL LIMIT 0, 200 in /usr/home/hoslo/public_html/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module on line 26.

Looking fantastic otherwise, thanks!

Anonymous’s picture

I wish I could set an issue so that only the maintainers of the project could comment. That said, this issue isn't the place to report bugs. If you have an issue look for a similar one or create a new one. If the similar one is marked fixed please give comment there setting the status to active.

Bensbury’s picture

I'm using a server running mySQL6 which as a maximum key length bug especially for utf-8

http://bugs.mysql.com/bug.php?id=32915

It totally took out my back up and migrate file.

I'm getting the following, so I was wondering if it might be related?

user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap DROP KEY loc in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 417.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap ADD INDEX loc (loc) in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 434.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap CHANGE status `status` TINYINT unsigned DEFAULT 1 in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 520.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap ADD INDEX status (status) in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 434.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap DROP PRIMARY KEY in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 386.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap ADD PRIMARY KEY (id, type) in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 374.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: SHOW COLUMNS FROM xmlsitemap LIKE 'language' in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql.inc on line 349.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type for db_type_placeholder LIMIT 0, 1' at line 1 query: SELECT * FROM xmlsitemap WHERE type = unsupported type for db_type_placeholder LIMIT 0, 1 in /home/www/www.graphnetwork.com/htdocs/sites/all/modules/xmlsitemap/xmlsitemap.module on line 460.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap ADD `priority_override` FLOAT DEFAULT NULL in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 298.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap CHANGE lastmod `lastmod` INT unsigned NOT NULL DEFAULT 0 in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 520.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap ADD `node_type` VARCHAR(32) DEFAULT NULL in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 298.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: ALTER TABLE xmlsitemap ADD INDEX node_type (node_type) in /home/www/www.graphnetwork.com/htdocs/includes/database.mysql-common.inc on line 434.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: UPDATE xmlsitemap SET node_type = (SELECT type FROM node WHERE nid = xmlsitemap.id) WHERE type = 'node' in /home/www/www.graphnetwork.com/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.install on line 82.
user warning: Table 'gnw.xmlsitemap' doesn't exist query: SELECT COUNT(id) FROM xmlsitemap WHERE status = 1 in /home/www/www.graphnetwork.com/htdocs/sites/all/modules/xmlsitemap/xmlsitemap.module on line 330.
dave reid’s picture

@Bensbury: Those update function SQLs can only be from the 6.x-2.x-dev version. If you previously used the 6.x-1.x version, as the project page and the release notes state, there is currently no upgrade path from 6.x-1.x to 6.x-2.x supported. You must disable all xml sitemap modules, uninstall them at admin/build/modules/uninstall, and make sure to delete all files in the module directory before unpacking the new version of the module.

Bensbury’s picture

Oops sorry.
I've been trying all the different versions.

The latest 6.1 version gave me a taxonomy_sitemap error and I have been trying all the different version to try to find one that works.

Because there are these different versions, which is the best one to go for?
I assume as the 6.1 are being discontinued I should try the 6.2 and wait it out if it doesn't work?

Anonymous’s picture

I've created #496610: xmlsitemap-6.x-1.0-beta6 Ready, set, go for final steps toward producing a beta6.

Anonymous’s picture

Beta 6 is nearly ready and should be released June 24th.

green monkey’s picture

I have to agree with #234, unless you're following this module daily, it's hard to tell what to use

What would you suggest, I use to submit a sitemap.xml to google tomorrow?

Anonymous’s picture

Currently 6.x-1.x-dev. Beta6 will be out soon.

green monkey’s picture

this where it gets confusing....

so download 6.x-1.x-dev for now, then update to later Beta6 ?

the update path is there?

thanks

Marc Bijl’s picture

#234

I've read this article and started to use 6.x-2.x

- http://blog.davereid.net/content/state-of-drupal-xml-sitemap-2009

Anonymous’s picture

BETA6 has been released. Please read the release notes at http://drupal.org/node/501912. Depending on the opened issues for beta6 I plan to release RC1 on July 1st between 11:00:00 and 13:00:00 UTC. Should open issues overwhelm the product another beta would be released.

Version 2.x is a work in progress and not ready for use in production. Version 2.x is a complete rewrite and has its own status issue.

Bensbury’s picture

Gloriousness!
It worked.

Seriously look at the release notes.... because you have to clean out the old database info and it has specific instructions.

Now for submission adventures.
Cheers Earnie.

Anonymous’s picture

RC1 has been released. Please read the release notes at http://drupal.org/node/508262. Depending on the opened issues for RC1 I plan to release version xmlsitemap-6.x-1.0 sometime after July 7th 16:00 UTC. Should issues overwhelm RC1 then another release candidate will be created. Once an official release is created I will review the postponed issues and make a determination to pursue them for the xmlsitemap-6.x-1.1 release or not.

Version 2.x is a work in progress and not ready for use in production. Version 2.x is a complete rewrite and has its own status issue.

dwightaspinwall’s picture

#234: 6.x-2.x is working well for us, despite it being in beta. We have a site with 60,000 nodes.

Anonymous’s picture

Subscribing... I've been putting off upgrading to Drupal 6 for most of a year, waiting for this... Now I'm wondering whether to go with 6.x-1.x or to continue waiting for 6.x-2.x, which looks (from the issue queue) to also be nearly ready.

Anonymous’s picture

FYI, the release is postponed until the issues found by http://drupal.org/project/issues/search/xmlsitemap?issue_tags=Release%20... are resolved. Help proving, disproving and debugging the issues is welcome.

Thanks,
Earnie

Anonymous’s picture

RC2 has been released. Please read the release notes at http://drupal.org/node/530148. Depending on the opened issues for RC2 I plan to release version xmlsitemap-6.x-1.0 sometime after July 29th 16:00 UTC. Should issues overwhelm RC2 then another release candidate will be created. Once an official release is created I will review the postponed issues and make a determination to pursue them for the xmlsitemap-6.x-1.1 release or not.

hass’s picture

Translation update is complete.

hass’s picture

@earnie: What is holding the final 1.0 release back?

Anonymous’s picture

@hass: Personal recent time issues mainly but also the #537140: Error occurred submitting sitemap to Google: 400. issue which needs hashed to a reasonable answer or solution.

Anonymous’s picture

I am near ready to create an official release (hopefully: Monday, Aug 24th). However, I would like help with #537140: Error occurred submitting sitemap to Google: 400. in determining the cause. This issue will not hold up the release but if we can have a cause then we can fix it.

Anonymous’s picture

Status: Active » Fixed

I am pleased and excited to announce that the first official release of xmlsitemap-6.x-1.0 is available and ready for download. You can ignore the big red block saying something about "Packaging error messages". There are issue reports already filed about these and it does not affect the workings of xmlsitemap.

richard.e.morton’s picture

Version: 6.x-1.x-dev » 6.x-1.0

Since upgrading to 1.0 I now get errors when submitting to any searchengine.

Details
Type xmlsitemap
Date Monday, 24 August, 2009 - 21:30
User administrator
Location http://nafof.org.uk/admin/settings/xmlsitemap/tools
Referrer http://nafof.org.uk/admin/settings/xmlsitemap/tools
Message Error occurred submitting sitemap to Google: 0.
Severity error
Hostname 78.146.204.228
Operations

I upgraded by disabling, uninstalling, deleting, installing new module, enabling & configuring as before; I was previously using beta6 I believe.

avpaderno’s picture

Version: 6.x-1.0 » 6.x-1.x-dev

@richard.e.morton: If you have any bug reports, please create a new report. This report is titled XML sitemap 6.x-1.x-dev progress.

darren oh’s picture

Congratulations!

Anonymous’s picture

The bug that richard.e.morton announced has been resolved and a new xmlsitemap-6.x-1.1 package has been created.

Darren Oh, thank you for the opportunity.

Status: Fixed » Closed (fixed)
Issue tags: -Drupal 6 porting

Automatically closed -- issue fixed for 2 weeks with no activity.