Closed (fixed)
Project:
Paging
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Apr 2006 at 12:18 UTC
Updated:
11 May 2007 at 12:18 UTC
Jump to comment: Most recent file
With pagination enabled, nodes can be split across multiple pages. If a page is called /node/157 then each page's URL is of the form node/157?page=1. Would it be possible to generate a separate gsitemap URL for each page of an article? At the moment, I think Google has a little trouble finding pages other than the first page.
Thanks,
Jack
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | paging-sitemap_2.patch | 6.01 KB | darren oh |
| #5 | paging-sitemap_1.patch | 5.66 KB | darren oh |
| #4 | paging-sitemap_0.patch | 5.34 KB | darren oh |
| #3 | paging-sitemap.patch | 5.33 KB | darren oh |
Comments
Comment #1
flanderz commentedOf course it would be possible - just a question of how hard it will be and who is going to do the work ;-) Not sure how active this module is but I am considering a patch for this since I need it for my site as well. Would such a patch be considered?
Comment #2
darren ohAny module can provide additional links using hook_gsitemap(). Moving to the paging project.
Comment #3
darren ohForgot to attach patch.
Comment #4
darren ohFixed two errors in the install file.
Comment #5
darren ohFixed to prevent the same links from being returned for every page of the site map.
Comment #6
darren ohNew patch for the latest version of hook_gsitemap().
Comment #7
Gurpartap Singh commentedRather than adding the code into paging module, a contrib version would be better: paging_gsitemaps.module. And host it as a separate project or just include in contribs directory. Also can you consider moving it to gsitemap project, in case it's maintained within any of project? Because most users using paging aren't using gsitemaps too, but seo/site-promotion focussed people look into gsitemap and paging features together..? I need sleep :P
Comment #8
darren ohThere's no reason for gsitemap to host hook_gsitemap() implementations for every module that generates links.
Comment #9
darren ohIf you look at the patch, you'll see that it includes some features to make the paging available to other modules.
Comment #10
darren ohFixed in CVS commit 65495.
Comment #11
killes@www.drop.org commented