Metadata Extraction:
- Charset: Ensures proper encoding for text content.
- Viewport: For mobile-friendly responsive design.
- Title: Website title displayed in search results.
- Description: Meta description used by search engines.
- Keywords: Suggested keywords for SEO.
- Author: Identifies the page's author.
- Robots: Directives for search engine crawlers.
- Open Graph (OG) Tags: Improves social media sharing, including title, description, image, and URL.
- Twitter Card Tags: Optimizes content sharing on Twitter.
- JSON-LD: Extracts structured data for rich search engine results.
- Favicon: Verifies the presence of the website's icon.
Website Grading:
Assigns a score out of 100 based on the completeness and correctness of meta tags.
Penalizes missing or improperly implemented meta tags, with clear deductions for each issue.
Suggestions for Improvement:
Generates a list of actionable recommendations for missing or improperly implemented meta tags.
Historical Analysis:
- Tracks and compares current and previous website scores for the same URL.
- Identifies resolved issues (issues fixed) and any persistent problems (previous issues).
User-Specific Analysis:
Associates website analyses with individual users, allowing personalized tracking of improvements over time.
JSON Storage and Reporting:
- Stores data in a MySQL database, including:
- current_score and previous_score.
- issues_fixed (issues resolved in the latest analysis).
- previous_issues (outstanding issues from prior analyses).
- Outputs results in JSON format for easy integration with other systems or tools.