Comments (3)
If we do switch to a cli driven initial generation as per #76 then it makes sense to indicate a level of progress perhaps per year completed in the dashboard.
It probably makes sense to keep the two process (update and initial generation) separate otherwise we could be in a situation where an initial generation fails and the update process then creates the large amount of cron events that we were trying to avoid.
@tollmanz is there a reason you use the script in 3 rather than wp msm-sitemap generate-sitemap
Was just thinking that this could be used to track the progress of initial generation even if it's only on each year completed
from msm-sitemap.
It probably makes sense to keep the two process (update and initial generation) separate otherwise we could be in a situation where an initial generation fails and the update process then creates the large amount of cron events that we were trying to avoid.
This makes sense. This is mostly a note to self that this will become and issue if we move forward with something like #76. We would need to make sure that the UX makes all of this clear.
@tollmanz is there a reason you use the script in 3 rather than wp msm-sitemap generate-sitemap
This was a @mjangda suggestion. It seems safe to complete smaller chunks of work at a time and if I need to stop the process, I can then manipulate the loop when starting again to ignore certain month/year combinations. Additionally, I was thinking I might put in some timeouts in the loop in order to reduce server load if needed.
from msm-sitemap.
Probably a valid suggestion if @mjangda said so 😄 - I've never run it on large data set other than locally so can't really comment.
@mjangda do you think there is a way to achieve a complete set through CLI, maybe a stepped approach which prompts the user?
from msm-sitemap.
Related Issues (20)
- Categories and Tags into the Sitemap
- Consider not storing full sitemap XML HOT 3
- Deleted posts are not removed HOT 4
- Only output unique sitemap dates
- Sitemap creation WP_Query optimisation HOT 1
- Disable JP's Publicize for Sitemap post status by default HOT 2
- Do not attempt to generate posts for non-existing dates
- Add rewrite flush on activation
- Rethink full sitemap generation to allow parallel processing HOT 2
- Allow plugins/themes to modify the generated XML
- Limit sitemap date range HOT 4
- WP-CLI: Be more explicit with output
- Add a filter to index by year-month HOT 2
- Add ability to create video sitemap
- Allow custom modified posts query HOT 1
- Sitemap generation not considering local time HOT 2
- Conflicts with Wordpress 5.5 Sitemaps
- Add date constraint filter to get_last_modified_posts() query HOT 1
- msm_sitemap post permalink structure does not match permalink display URLs
- PHP 8.1: Fatal error, when 'post_date' is '0000-00-00 00:00:00' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msm-sitemap.