change frequency option for nodes

Created on 13 October 2012, over 11 years ago
Updated 5 July 2023, 12 months ago

Problem/Motivation

Administrators and editors are unable to alter the 'changefreq' for node types and individual nodes.

Proposed resolution

Implement altering changefreq in xmlsitemap_node sumodule.

Remaining tasks

  • Test the patch in #35.
  • More automated tests.

User interface changes

  • changefreq option at admin/structure/types/manage/[type]
  • changefreq option at node/add/[type]
  • changefreq option at node/[nid]/edit
  • 1 additional column at admin/config/search/xmlsitemap/settings on the 'Content' tab listing the changefreq in human readable format.

API changes

None

Data model changes

None

Original, by mototribe:
I added nodes to the sitemap and they all have a change frequency of "yearly". I didn't see an option to change that.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mototribe

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 7.x + Environment: PHP 8.1 & MySQL 5.7
    last update 12 months ago
    Patch Failed to Apply
  • πŸ‡ΊπŸ‡ΈUnited States hargobind Austin, Texas

    Updating to the latest 7.x-2.x-dev.

    I couldn't easily generate an interdiff because the old patch no longer applied. There were only two main differences:

    1) The patch in #79 contained a change from xmlsitemap_get_changefreq_options() to xmlsitemap_get_changefreq_values(), however a few other places in the module were referencing the _options() function, so I excluded that change from the patch.

    2) The previous comment had some @file comments which differ from the current branch, and they don't need to be a part of this patch.

  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 7.x + Environment: PHP 8.1 & MySQL 5.7
    last update 12 months ago
    45 pass
  • πŸ‡ΊπŸ‡ΈUnited States hargobind Austin, Texas

    Fix to #84 to rename the new options function to xmlsitemap_get_changefreq_form_options().

Production build 0.69.0 2024