PENGIN PI! A CRM with the back bone of a feature light ERP system. Utilitarian in design, easy to extend, customize, and deploy. Made by a community, supported by Tobu Pengin.
GNU General Public License v3.0
9
stars
1
forks
source link
[TASK] Write a script to generate a sitemap.xml file for Flask programs #380
Description
We need to write a script that can generate a sitemap.xml file for all Flask programs. The script should load the existing sitemap.xml file from the static folder and extract all URLs. It should then check robots.txt to find any URLs that are not allowed to be displayed and exclude them from the sitemap.xml file. Finally, the script should allow users to configure the priority and Google search intervals for each URL.
Acceptance Criteria
The script should be able to extract all URLs from the sitemap.xml file in the app/util/xml folder.
The script should check robots.txt to find any URLs that are not allowed to be displayed and exclude them from the sitemap.xml file.
The script should allow users to configure the priority and Google search intervals for each URL.
The script should generate a sitemap.xml file that adheres to Google's SEO standards and prevents getting delisted.
Description We need to write a script that can generate a sitemap.xml file for all Flask programs. The script should load the existing sitemap.xml file from the static folder and extract all URLs. It should then check robots.txt to find any URLs that are not allowed to be displayed and exclude them from the sitemap.xml file. Finally, the script should allow users to configure the priority and Google search intervals for each URL.
Acceptance Criteria
Estimated Time: 4 hours