GSoC XMLSitemap project

Events happening in the community are now at Drupal community events on www.drupal.org.
andrei.dincu's picture

Hello again,

I am writing this blog post in order to announce that D8 XmlSitemap module is almost done. There are some minor issues that should be solved (improve documentation, remove some comments, remove some unused functions). The whole functionality of the module was ported to D8 version.

We have been made some changes during the coding period than can be used only in the D8 version:
- in the D7 version there are some xmlsitemap submodules that allow only specific entity links (taxonomy, user, node) to be included in the sitemap. Now we can include in the sitemap any content entity link that can be viewed by anonymous user. xmlsitemap_engines and xmlsitemap_custom submodules have been ported to D8 version.
- additional tests for generic entity and rebuild.

If you want to use or test the module, please visit: https://www.drupal.org/sandbox/andreimariusdincu/2222965 .
If you see something wrong, please create an issue on the project page.
Testing is welcome.

Comments

Awesome progress

miro_dietiker's picture

Great to see this GSoC on the road to success!

Please allow me some questions to understand more about where the module is or will be at the end of the project:
Did you find some time to do performance measurements with large amount of content?
Have you been able to leverage unit tests and what is the general status of test coverage?
Are all entities integrated out of the box or do we need (all relevant) contrib to integrate with the module?
Will you find time to create / update the official documentation?

With Drupal 8 we have many content entities. But note that there are also config entity based things that might make sense to show up in the sitemap, such as page manager pages or views pages.

Thank you for all your effort!

GSoC XmlSitemap road to success

andrei.dincu's picture

Thank you miro_dietiker for your feedback.
1. I did not find some time to do performance measurements with large amount of content yet, but I will discuss with my mentor about this and probably I will do it in the last week.
2. I have written 14 test classes for the module and all the tests are GREEN now.
3. Now you can include in a sitemap any content entity link if anonymous user has enough permissions to access it. I will discuss with my mentor the possibility to add also all config entities links. If you create a new module that defines a new content entity type, you do not have to write a submodule to integrate with the xmlsitemap module. You only have to check that entity type to be included in sitemap links, make sure that anonymous user can access new entities and set xmlsitemap settings for your entity type.
4. I hope I will find time to create/update official documentation.

XmlSitemap Video Tutorial

andrei.dincu's picture

You can find a tutorial about Drupal 8 XmlSitemap module at:
https://www.youtube.com/watch?v=Zs7e_W_d5WE&feature=youtu.be

Great video!

slurpee's picture

Andrei, this video is awesome and shows how much work you accomplished. Hopefully other students can create similar videos demoing how their GSoC project works?

On another note, I noticed the module currently supports Google and Bing. Maybe we can create Google Code-In tasks for students to add support for other search engines? It's never too early to start planning GCI tasks :) https://groups.drupal.org/node/420453

GCI task for Yahoo! Search and Ask created

andrei.dincu's picture

Hello,

I have created a task to add support for Yahoo! Search and Ask search engines for xmlsitemap_engines submodule.
See task #10.

Two new gci tasks!

slurpee's picture

Thanks Andrei! I updated the wiki to break it into two individual tasks: one for Yahoo and one Ask. Please add additional tasks if you can think of any other search engines we can support.

Google Summer of Code

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: