Problem/Motivation

It can be handy to know how links are on each site map variant.

Proposed resolution

Add the number of links in each sitemap variant to the admin/config/search/simplesitemap form.

Remaining tasks

User interface changes

Link count per variant available on admin/config/search/simplesitemap

Screenshot of new link count information

API changes

\Drupal\simple_sitemap\Form\SimplesitemapSitemapsForm::fetchSitemapInstanceStatuses() return now includes link counts too.

Data model changes

New field link_count on simple_sitemap table.

CommentFileSizeAuthor
#2 Screenshot 2021-03-23 at 13.22.40.png170.36 KBalexpott
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Issue summary: View changes
StatusFileSize
new170.36 KB
alexpott’s picture

Status: Active » Needs review

alexpott’s picture

This is especially helpful if you have multiple variants or #3203715: Process multiple entities with a single queue item has landed so the number of queue items is no longer indicative of the number of links.

gbyte made their first commit to this issue’s fork.

  • gbyte committed 0178c4e on 8.x-3.x authored by alexpott
    Issue #3205158 by alexpott, gbyte: Add link count to each variant info...
gbyte’s picture

Status: Needs review » Fixed

Nice work again, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.