alanranger-schema

Alan Ranger Schema Hosting

Public repository hosting structured data (JSON-LD) for alanranger.com Squarespace pages.

Files

Hosting

Usage

Squarespace Integration

Add these script tags to your Squarespace page header code:

For Courses Page (/beginners-photography-lessons):

<!-- Lessons Schema -->
<script type="application/ld+json"
        src="https://schema.alanranger.com/lessons-schema.json">
</script>

For Workshops Page (/photographic-workshops-near-me):

<!-- Workshops Schema -->
<script type="application/ld+json"
        src="https://schema.alanranger.com/workshops-schema.json">
</script>

For Blog Index Page (/blog-on-photography):

<!-- Blog Index Schema -->
<script type="application/ld+json"
        src="https://schema.alanranger.com/blog-schema.json">
</script>

Auto-Sync

Schema files are automatically synced from the local Event Schema Generator tool via GitHub Actions. When you export schema JSON files, they are automatically pushed to this repository and deployed to GitHub Pages.

Validation

Validate hosted JSON files with:

Repository Structure

alanranger-schema/
├── lessons-schema.json
├── workshops-schema.json
├── blog-schema.json
├── .github/
│   └── workflows/
│       └── update-schema.yml
├── CNAME
└── README.md

DNS Configuration

Add a CNAME record at your DNS provider:

schema CNAME alanranger.github.io

Wait for DNS propagation (usually 5-30 minutes).