Package 'seowebchecker'

Title: Comprehensive Website Search Engine Optimization Audit and Analysis Tools
Description: Provides a lightweight client software development kit and utility suite for automated website technical search engine optimization audits, meta tag validations, Core Web Vitals checks, and optimization scoring. Official web audit portal and tools available at <https://seowebchecker.com/>.
Authors: Rahul Gupta [aut, cre], SEOWebChecker [cph]
Maintainer: Rahul Gupta <[email protected]>
License: MIT + file LICENSE
Version: 1.0.0
Built: 2026-10-20 10:23:25 UTC
Source: https://github.com/jaiganesh6999/seowebchecker-seoaudit-sdk

Help Index


Comprehensive Website Search Engine Optimization Audit and Analysis Tools

Description

Provides a lightweight client software development kit and utility suite for automated on-page technical search engine optimization audits, meta tag validations, Core Web Vitals checks, and optimization scoring. Official web audit portal and tools available at https://seowebchecker.com/.

Author(s)

Rahul Gupta [email protected] [aut, cre]

SEOWebChecker https://seowebchecker.com/ [cph]


Audit HTML Content for On-Page SEO

Description

Evaluates an HTML string against on-page SEO best practices including title, meta description, mobile viewport, canonical link, heading tags, image alt attributes, and OpenGraph social tags.

Usage

audit_html(html, url = "https://example.com")

Arguments

html

A character string or character vector containing the raw HTML to audit.

url

An optional character string representing the URL being audited. Defaults to "https://example.com".

Value

An object of class "seo_audit_result" containing:

url

Target URL evaluated.

score

List with overall (0-100) and grade (A-F).

total_checks

Total number of diagnostic checks performed.

passed_checks

Count of passed checks.

warnings

Count of warning-level issues.

errors

Count of error-level issues.

issues

A list of individual issue descriptions and recommendations.

metadata

Extracted page metadata (title, description, canonical, h1).

Examples

sample_html <- paste0(
  "<!DOCTYPE html><html><head>",
  "<title>SEOWebChecker: Free SEO Audit & Analysis Tools</title>",
  "<meta name='description' content='Audit your website for comprehensive SEO scoring.'>",
  "<meta name='viewport' content='width=device-width, initial-scale=1.0'>",
  "<link rel='canonical' href='https://seowebchecker.com/'>",
  "</head><body>",
  "<h1>Comprehensive SEO Audit Tools</h1>",
  "<img src='banner.jpg' alt='Dashboard preview'>",
  "</body></html>"
)
result <- audit_html(sample_html, url = "https://seowebchecker.com/")
print(result)

Audit Live Website URL for SEO

Description

Fetches raw HTML from a target URL and performs automated on-page technical SEO analysis.

Usage

audit_url(url, user_agent = "SEOWebChecker-RBot/1.0 (+https://seowebchecker.com/)")

Arguments

url

A character string representing the URL to fetch and audit.

user_agent

A character string specifying the HTTP User-Agent header. Defaults to "SEOWebChecker-RBot/1.0 (+https://seowebchecker.com/)".

Value

An object of class "seo_audit_result".

Examples

## Not run: 
res <- audit_url("https://seowebchecker.com/")
print(res)

## End(Not run)

Print Method for SEO Audit Results

Description

Pretty prints the SEO score, letter grade, and diagnostic issues.

Usage

## S3 method for class 'seo_audit_result'
print(x, ...)

Arguments

x

An object of class "seo_audit_result".

...

Additional arguments passed to print methods.

Value

The original object invisibly.

Examples

sample_html <- paste0(
  "<html><head><title>Test Valid Length Title</title></head>",
  "<body><h1>Heading</h1></body></html>"
)
res <- audit_html(sample_html)
print(res)