I have Gallery module installed on my site, which works with Gallery2. I see that gsitemap correctly picks up drupal nodes but I wonder if its possible to also make it generate gallery links. I don't know how many people are using gallery, so but there is another demand for this feature, I would love to see it be implemented in some future version.

Any thoughts? comments?

Comments

SamAMac’s picture

Status: Active » Postponed

I took a look at the gallery module. The problem is that there is very little integration of the Gallery installation with Drupal. What the module essentially does is include a Gallery2 class that generates a bunch of HTML and then dumps it into a Drupal page. As such, there is no function I can call to enumerate gallery links.

If at some point in the future the gallery module develops more of an API, then I might be able to include this feature.

Conchero’s picture

Good question and good answer. I am in the same situation. You are right that the Google sitemaps module does not display the Gallery nodes. To the second guy, you are also right that it would be a total pain to implement this request based on how the integration works.

However, I have a suggestion for you. Gallery now has a Google sitemaps module as well. Install that and simply give Google a second sitemap URL for the Gallery portion of your site. You can do that.

darren oh’s picture

Project: Google Sitemap » Gallery
Version: 4.6.x-1.x-dev » 5.x-1.x-dev
Status: Postponed » Active

All modules can now use hook_gsitemap() to include additional links in the site map.

kiz_0987’s picture

Status: Active » Fixed

This functionality is now included in the 5--2 branch of the gallery module.

Anonymous’s picture

Status: Fixed » Closed (fixed)