Rules of SEO is a .NET tool designed to check whether a webpage adheres to specified rules. These rules define various aspects of the webpage content, such as titles, descriptions, and segments. The utility leverages a set of rules, keywords, and competitor information to validate the webpage content.
- Introduction
- Features
- Rules Configuration
- Prerequisites
- Installation
- Usage
- Configuration Files
- Contributing
- License
This utility helps validate webpages against a set of predefined rules to ensure that the content meets specific criteria. It is particularly useful for maintaining consistency and quality across multiple webpages.
- Rule-Based Validation: The utility checks webpage content against a set of rules defined in the configuration.
- Keyword Matching: Rules include keyword matching for titles, descriptions, and segments.
- Competitor Analysis: Compares webpage content against competitor keywords and lengths.
- Plagiarism Check: Optional plagiarism check for specific content segments.
The rules are defined in a configuration file (typically rules.yaml
), and they cover various aspects of the webpage content. Some examples of rules include:
- Checking titles and descriptions against specified keywords.
- Enforcing minimum and maximum lengths for specific content segments.
- Allowing or disallowing the addition of paragraphs based on specific conditions.
- Performing competitor analysis, including checking lengths and uniqueness.
- .NET SDK: Ensure that you have the .NET SDK installed on your machine. If not, you can download it here.
-
Clone the repository:
git clone https://github.com/yourusername/webpage-validation-utility-dotnet.git
-
Navigate to the project directory:
cd webpage-validation-utility-dotnet
-
Build the Solution:
dotnet build
-
Configure Rules:
Define your rules in the
rules.yaml
file. -
Prepare Keywords:
Create a
keywords.yaml
file containing the keywords relevant to your content. -
Run the Utility:
dotnet run --url http://yourwebsite.com
Replace
http://yourwebsite.com
with the URL of the webpage you want to validate. -
Review Results:
The utility will provide feedback based on the defined rules.
- rules.yaml: Contains the rules for webpage validation.
- keywords.yaml: Specifies keywords relevant to the content.
- competitor_keywords.yaml: Keywords specific to competitor analysis.
- competitors.yaml: Information about competitors.
Contributions are welcome! If you have additional features, improvements, or bug fixes, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy webpage validation!
TODO:
Pay attention: set location to united states or interesting region in keywordsd planner
#todo
- setup all services in di +2. IValidationUnit how to run? +3. appSettings.json "SettingsFile": "./RuleSettings.yml", "DataFolder": "./Example/WordCounter/Data/", "TextFolder": "./Example/WordCounter/"
- yaml keywords-file: keywords.csv competitor-keywords-file: competitor_keywords.txt competitor-file: competitors.txt
- actualize yaml rule-keys, KeyToSlugResolver.cs
- move unused logic
- KeyToSlugResolver deep = 3
- competiros competitor_keywords, keywords yaml
- data folders structure by app
- validator comments how it work
- unnit test all walidator
- remove ubused validators
- add documnet
- sync rule-keys in yaml
- sync rules in yaml
- low high parser in keywords.yaml
- parse collection in competitors
- Found all enpty chunks with slugs
- List all not found slugs