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
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

Dave Reid - May 2, 2009 - 00:38
Assigned to:Anonymous» Dave Reid
Status:active» postponed

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

kiamlaluno - May 2, 2009 - 07:26

I would put the code for generating different type of site maps in a module that can be enabled when needed.

#3

webchick - May 2, 2009 - 10:37

Oh, yes. Definitely an optional sub-module. It'd only be necessary for sites that specialize in this sort of content.

#4

kiamlaluno - May 2, 2009 - 15:25

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

gregarios - July 6, 2009 - 06:01

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

eyecon - July 27, 2009 - 22:46

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

Dave Reid - July 27, 2009 - 22:51

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

gregarios - July 27, 2009 - 23:47

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

Dave Reid - July 27, 2009 - 23:50

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

gregarios - July 28, 2009 - 00:30

Will it migrate nicely after you integrate it into XML Sitemap? No database incompatibilities now or then?

#11

Dave Reid - July 28, 2009 - 00:31

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

gregarios - July 28, 2009 - 00:34

Great! Thanks. :-)

#13

rickvug - October 26, 2009 - 23:07

.

#14

eyecon - October 26, 2009 - 23:58

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

earnie - October 29, 2009 - 16:58

If the two had separate cron hooks - no problem.

Phased cron runs would be an excellent feature for Drupal-8. I'll open a feature request if there isn't one already.

#16

Dave Reid - October 29, 2009 - 17:25

@eyecon: They'd remain two separate modules, so that's not a concern.

#17

CinemaSaville - November 13, 2009 - 15:24

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

Ingumsky - December 2, 2009 - 00:52

Oh... Subscribing.

 
 

Drupal is a registered trademark of Dries Buytaert.