Automate your website maintenance with this mega-prompt for ChatGPT, designed to help web developers create a Python script for automatic XML sitemap updates. Streamline sitemap generation, enhance change detection, and ensure reliable deployment, all tailored to your website's specific tech stack.
โ Converts user input into a structured guide for developing a Python script to automate XML sitemap updates.โ Outlines prerequisites, script logic, change detection methods, sitemap generation, deployment process, and scheduling.โ Focuses on performance optimization and scalability tailored to the specific technology stack of the website.
โ Develop a comprehensive understanding of the website's current architecture and technology stack to ensure the Python script integrates seamlessly without disrupting existing functionalities.โ Implement robust logging within the Python script to track changes, errors, and the deployment status of the sitemap, which aids in troubleshooting and ensures the maintenance process is transparent.โ Regularly review and update the Python script to adapt to new web technologies and changes in search engine guidelines for XML sitemaps, ensuring the script remains effective and compliant over time.
#CONTEXT:You are an expert web developer specializing in automating website maintenance tasks using cutting-edge technologies. Your task is to help the user develop a Python script that automatically updates the XML sitemap for a given website whenever new pages are added or existing pages are significantly modified. The script should intelligently detect changes, generate an updated sitemap, and deploy it to the website's root directory.#ROLE:Adopt the role of an expert web developer specializing in automating website maintenance tasks using cutting-edge technologies.#RESPONSE GUIDELINES:The response should include the following sections:1. Prerequisites - List any prerequisite software, libraries, or tools needed to run the script2. Script Logic - Outline the high-level logic and flow of the Python script - Describe key functions and their purposes3. Change Detection Method - Explain the method used to detect new pages or significant changes to existing pages4. Sitemap Generation - Detail the process of generating the updated XML sitemap, including any external libraries used5. Deployment Process - Describe how the script will deploy the updated sitemap to the website's root directory6. Scheduling Recommendations - Provide recommendations for scheduling the script to run automatically (e.g., daily, weekly)7. Potential Optimizations - Suggest any potential optimizations or additional features to enhance the script's functionality#TASK CRITERIA:1. The script should be written in Python and utilize appropriate libraries and tools for the given website's technology stack.2. The change detection method should accurately identify new pages and significant modifications to existing pages while minimizing false positives.3. The generated XML sitemap should adhere to the standard sitemap format and include all relevant pages.4. The deployment process should be reliable and ensure the updated sitemap is accessible in the website's root directory.5. The script should be optimized for performance and scalability, considering the size and complexity of the website.#INFORMATION ABOUT ME:- Website programming language: [PROGRAMMING LANGUAGE]- Website framework: [FRAMEWORK]- Website hosting environment: [HOSTING ENVIRONMENT]#RESPONSE FORMAT:The response should be formatted using markdown, with clear headings for each section and bullet points or numbered lists where appropriate. Code snippets, if provided, should be properly formatted and indented for readability.
#CONTEXT:
You are SEO Checker AI, an SEO professional who helps Entrepreneurs make their blog
articles more SEO-friendly. You are a world-class expert in finding SEO issues and
giving recommendationson how to fix them.
#GOAL:
I want you to analyze my blog article and give me recommendations on improving its SEO.
I need this information to rank better at Google.
#FORMAT OF OUR INTERACTION
1. I will provide you with the source code of my blog article
2. You will analyze the page source code
3. You will give me a holistic analysis of its SEO in the checklist format:
- SEO score from 1 to 10
- What is done right
- What is done wrong
#SEO CHECKLIST CRITERIA:
- Your checklist should have 20-30 criteria
- Be specific and concise. Your criteria should be self-explanatory
- Include numbers in the criteria if it's applicable
- Focus on SEO practices that have the biggest impact on ranking
- Prioritize SEO practices that are widely recognizable by the SEO community
- Don't include irrelevant SEO practices with zero to no impact on this article
#RESPONSE STRUCTURE:
## SEO Score
## What's done right
โ
Criteria
โ
Criteria
โ
Criteria
## What's done wrong
โ Criteria
โ Criteria
โ Criteria
#RESPONSE FORMATTING:
Use Markdown. Follow the response structure.
โ Fill in the [PROGRAMMING LANGUAGE], [FRAMEWORK], and [HOSTING ENVIRONMENT] placeholders with specific details about the website you are working on. - Example: If your website is built with Python using the Django framework and hosted on AWS, you would fill in "Python" for [PROGRAMMING LANGUAGE], "Django" for [FRAMEWORK], and "AWS" for [HOSTING ENVIRONMENT].โ Example: "My website is programmed in Ruby using the Rails framework and is hosted on Heroku. Thus, I would input 'Ruby' for [PROGRAMMING LANGUAGE], 'Rails' for [FRAMEWORK], and 'Heroku' for [HOSTING ENVIRONMENT]."
#INFORMATION ABOUT ME:โ Website programming language: Pythonโ Website framework: Djangoโ Website hosting environment: AWS EC2
โ Keep the script modular and well-organized by breaking down the logic into separate functions or classes, making it easier to understand, maintain, and debug.โ Use a version control system, such as Git, to track changes to the script and collaborate with other developers if needed. This ensures that you can easily revert to previous versions and keep a history of modifications.โ Consider implementing error handling and exception handling mechanisms in the script to handle unexpected situations gracefully. This can include handling network errors, file I/O errors, or any other potential issues that may arise during the execution of the script.โ Test the script thoroughly on a staging environment before deploying it to the production environment. This helps identify any potential issues or bugs and ensures that the script functions as expected without causing any disruptions to the live website.โ Document the script thoroughly by adding comments to explain the purpose and functionality of each section of code. This makes it easier for other developers to understand and modify the script in the future.
Automate your website maintenance with the mega-prompt for ChatGPT, designed to help you develop a Python script for automatic XML sitemap updates. This tool is essential for web developers looking to enhance site efficiency and SEO through timely sitemap refreshes whenever content changes.โ Ensure your website's sitemap is always current, improving SEO rankings.โ Automate detection and updating processes, saving time and reducing manual errors.โ Streamline deployment to maintain consistency and reliability in website performance.This mega-prompt guides you through creating a Python script that not only detects new or modified pages but also updates and deploys the sitemap directly to your website's root directory. It covers everything from the prerequisites and script logic to change detection, sitemap generation, and the deployment process, ensuring comprehensive automation.In conclusion, leverage the mega-prompt for ChatGPT to revolutionize your web development workflow, making your website maintenance more efficient and your web presence more robust and search-engine friendly.
Boost your online visibility with this ChatGPT mega-prompt, generating a tailored keyword list for effective SEO strategy and audience engagement.
Boost your local SEO with this ChatGPT mega-prompt, creating tailored FAQ sections that enhance user experience and drive targeted traffic.
Conduct a thorough ADA compliance audit with this ChatGPT mega-prompt, identifying issues and providing actionable remediation recommendations for improved web accessibility.
Unlock your business potential with this ChatGPT mega-prompt, providing AI-driven insights and strategies for adapting to local search trend shifts.
Craft personalized email marketing strategies with this ChatGPT mega-prompt, targeting local businesses through detailed personas and data-driven campaigns.
Unlock voice search potential with this ChatGPT mega-prompt, analyzing local data to optimize content for targeted business types and locations.
Enhance your online reputation with this ChatGPT mega-prompt, crafting tailored responses to local reviews that boost SEO and customer relations.
Optimize your local search presence with this ChatGPT mega-prompt, delivering a tailored local SEO checklist for your business type and location.
Optimize your local traffic with this ChatGPT mega-prompt, configuring analytics tools to uncover actionable insights for high-converting user behavior.
Enhance your local social media engagement with this ChatGPT mega-prompt, assessing strategies, identifying opportunities, and providing actionable recommendations.
Boost your local event visibility with this ChatGPT mega-prompt, offering actionable strategies for structured data, on-page optimization, and citation building.
Elevate your local SEO strategy with this ChatGPT mega-prompt, creating a detailed content plan that targets seasonal events and relevant keywords.