Support for extended sitemap formats (e.g. video, news)
webchick - May 2, 2009 - 00:32
| Project: | XML sitemap |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Dave Reid |
| Status: | postponed |
Jump to:
Description
This was brought up by netaustin at #448000-9: Big, Over-Arching Sitemap Architecture Discussion (tm):
"# Google News provides a namespace to extend the Sitemaps.org XML file for their purposes. Can we address this?"
I looked more into this and according to http://www.google.com/support/webmasters/bin/answer.py?answer=34654&topi..., there are actually four "sitemap extensions" that Google supports:
The news one in particular would be useful to a lot of Drupal sites out there.

#1
As I told webchick in #drupal, I actually do have a basic xmlsitemap_news module coded for creating Google News sitemaps. Just a matter of cleaning it up and integrating it with the current xmlsitemap code base. For now though, I'm marking as postponed to focus on the major issues (the base xmlsitemap modules).
#2
I would put the code for generating different type of site maps in a module that can be enabled when needed.
#3
Oh, yes. Definitely an optional sub-module. It'd only be necessary for sites that specialize in this sort of content.
#4
I guess that the site map URL for those site maps would be different from the one actually used, and the project would handle more than one site map.
#5
Subscribing.
I'd love to see the additional functionality of being able to have a Google News sitemap (http://www.google.com/support/news_pub/bin/topic.py?topic=11666) in addition to the normal web sitemap.
#6
Integrating Google News is a big plus for me. BTW, absent from the current GN module are keywords which has been a simple hack:
$content .= '<news:keywords>key words ...</news:keywords>';Of course, this approach assigns the same key words to each item. The better approach is probably to tie it into a vocabulary.
As an aside, people should realize that having a Google News sitemap does not mean inclusion in Google News. We had to jump through hoops. The site was once (incorrectly) suspended and it took six weeks to get back in. It does create a great deal of traffic.
#7
I was thinking that it would be nice for the XML sitemap news module to automatically install a taxonomy vocabulary based on http://www.google.com/support/webmasters/bin/answer.py?answer=42993 but also allow the user to select which vocabularies are included.
#8
Oh man that would be cool. :-) Our site is currently accepted into Google news, but I don't have a sitemap for them anymore since we moved our site to Drupal. Anxiously awaiting the update to XML site map that will incorporate even a minimal news sitemap. We need the traffic it generates.
#9
If you need news sitemap support now, you can use the Google News sitemap module which I took over and willl be integrating back into XML sitemap in this issue.
#10
Will it migrate nicely after you integrate it into XML Sitemap? No database incompatibilities now or then?
#11
I don't anticipate there being any problems on the migration. There's only one setting in the current module and I don't plan on making it any more complex before migrating it over.
#12
Great! Thanks. :-)
#13
.
#14
I think that you should leave these separate. I run my news sitemap every half hour. Due to overhead, I could not do that if the two are combined. Actually, I am using Elysia Cron. If the two had separate cron hooks - no problem.
#15
Phased cron runs would be an excellent feature for Drupal-8. I'll open a feature request if there isn't one already.
#16
@eyecon: They'd remain two separate modules, so that's not a concern.
#17
My site primarily consists of my videos/movies, so it would be great if we could support video sitemaps as well. If you'd like to take a look- http://CinemaSaville.com
Thanks.
#18
Oh... Subscribing.