GithubHelp home page GithubHelp logo

Comments (3)

jdevalk avatar jdevalk commented on August 15, 2024

Altered the description and title of the original issue to reflect what needs doing ;)

from wordpress-seo.

echoLP avatar echoLP commented on August 15, 2024

My latest commit has pagination for taxonomy sitemaps, but how should last modified timestamp on the root sitemap_index.xml work for this? My current implementation works as follow:

Lets say the taxonomy is post_tags and you have 100 terms. Pagination limit is set to 25, so you'll have 25 terms per sitemap. For post_tag-sitemap1.xml, I query all post types that is associated with the first 25 terms, grab the one with the highest post_modified_gmt and use that for the last modified timestamp. post_tag-sitemap2.xml will be the second set of 25 terms and so forth.

Under this implementation there's no particular order between post_tag-sitemap1.xml, post_tag-sitemap2.xml, post_tag-sitemap3.xml, etc which may screw up the expected sitemap format. Thoughts?

from wordpress-seo.

jdevalk avatar jdevalk commented on August 15, 2024

That looks fine to me... Given it a test run and not really seeing weird things.

from wordpress-seo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.