Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a site that is getting very large, and I need to see what nodes have overridden the default XML sitemap settings. I thought I could just create an admin View with a table, and columns that showed the inclusion and priority settings for each node. I was surprised to find that this wasn't possible.
I am willing to try to write this, but I wanted to make sure: Has anyone already started working on this, maybe in a sandbox or somewhere else? I wouldn't want to duplicate effort.
Comment | File | Size | Author |
---|---|---|---|
#27 | interdiff.txt | 3.16 KB | RoloDMonkey |
#27 | xmlsitemap-views_fields-2159207-27.patch | 12.02 KB | RoloDMonkey |
| |||
#23 | xmlsitemap-views_fields-2159207-23.patch | 12.03 KB | RoloDMonkey |
|
Comments
Comment #1
RoloDMonkey CreditAttribution: RoloDMonkey commentedComment #2
RoloDMonkey CreditAttribution: RoloDMonkey commentedOkay, I wrote it myself:
https://drupal.org/node/2161731
Should I petition to make this into a separate module, or do you think it should be merged in with the XML sitemap module?
Comment #3
RoloDMonkey CreditAttribution: RoloDMonkey commentedComment #4
RoloDMonkey CreditAttribution: RoloDMonkey commentedI have polished up my module and applied to have it promoted to a full project. I have added links to the relevant related issues.
Comment #5
Dave Reid+1. Would like to see a patch to review, I think this would make a great feature.
Comment #6
klausiLooks like this needs work then.
Comment #7
RoloDMonkey CreditAttribution: RoloDMonkey at FFW commentedHere is the patch. Let me know what you think.
Comment #8
RoloDMonkey CreditAttribution: RoloDMonkey commentedComment #9
RoloDMonkey CreditAttribution: RoloDMonkey as a volunteer commentedOkay, this is why I wanted to create a separate module. This issue is now 16 months old. My module was ready for release a year ago. But, when Dave asked that I add the feature here instead, I obliged him and re-wrote my code.
That was nine months ago.
I spent a lot of time on this. I did everything I was asked. Other people have said that they would like to see this feature. What does it take to get it approved?
Comment #10
StephanieFuda CreditAttribution: StephanieFuda as a volunteer commentedHi Everybody,
I can help test this, I'll provide some feedback early this week.
Thanks!
Comment #11
capogeannis CreditAttribution: capogeannis as a volunteer commentedCame across this after realizing views pages are unfortunately not included in the sitemap.
Has that patch in #7 been working well enough for you? Would really like to fix this asap. Thanks.
Comment #12
RoloDMonkey CreditAttribution: RoloDMonkey as a volunteer commented@capogeannis If I am reading your comment correctly, then this is not what you are looking for. This allows you to make views that include information from the Sitemap XML module. It does not fix the problem of views not being added to the sitemap.
Comment #13
capogeannis CreditAttribution: capogeannis as a volunteer commentedAh shoot, sorry. I should have come back and fixed my comment (or removed it). Found my solution via XML Sitemap Custom.
Comment #14
patbranch CreditAttribution: patbranch commented@capgeannis
What's XML Sitemap Custom?
Comment #15
ericwenger CreditAttribution: ericwenger commentedI'm also working with a larger site which would benefit from this functionality
Comment #17
bernig CreditAttribution: bernig as a volunteer commentedHi,
The patch looks empty to me.
I tried your sandbox module and it works great. Thank you very much.
Comment #18
chegor CreditAttribution: chegor at OAO Solution Spark commentedYes, I also can't see anything in the patch file.
Comment #19
RoloDMonkey CreditAttribution: RoloDMonkey as a volunteer and commentedI don't know what happened to the original patch that uploaded years ago. I have tried to create a new version, and have attached it here.
Comment #21
RoloDMonkey CreditAttribution: RoloDMonkey as a volunteer and commentedComment #22
RoloDMonkey CreditAttribution: RoloDMonkey as a volunteer and commentedHmm, when I run my new test all by itself on simplytest.me, it passes with flying colors. When I run all of the XML Sitemap tests together, with my new one last then I get an error?
Comment #23
RoloDMonkey CreditAttribution: RoloDMonkey as a volunteer and commentedI think this will work. I need to tell Drupal that the Views module is required for my tests.
Comment #24
RoloDMonkey CreditAttribution: RoloDMonkey as a volunteer and commentedWoohoo! We finally have passing tests on a 5 year old issue!
Now, if only someone would review it...
Comment #25
DamienMcKennaSome minor things:
Comment #26
DamienMcKennaBTW it's also worth pointing out that the new test file isn't actually running yet because testbot takes its list of dependencies from what's in the latest git HEAD. New dependencies have to be committed first as a separate patch and then you can reference them in tests.
Comment #27
RoloDMonkey CreditAttribution: RoloDMonkey as a volunteer and commentedI have made the recommended changes.
I understand that the tests might not be running yet. If it helps, I have confirmed that the tests pass.
Comment #28
wjackson CreditAttribution: wjackson at Kanopi Studios commentedThe patch provided by RoloDMonkey worked for me. Updating to RTBC. Thank you all for your work on this issue!
Comment #29
pifagorComment #31
pifagorComment #32
Dave ReidPresumably this would need to be ported to 8.x-1.x as well?
Comment #33
Dave Reid