from pathlib import Path
source_path = Path("/mnt/data/Pasted text(43).txt")
original = source_path.read_text(encoding="utf-8")
# Rebuild full page from the user's uploaded Red Deer script, preserving CSS/layout/images,
# and applying full-page SEO/AI SEO recommendations directly into the complete HTML.
html = original
# 1. Remove outdated meta keywords
html = html.replace(
' \n',
''
)
# 2. Strengthen title while preserving intent
html = html.replace(
'
Commercial Cutting Board Resurfacing in Red Deer | Cutting Board Doctors',
'Commercial Cutting Board Resurfacing Red Deer | Cutting Board Doctors'
)
# 3. Update meta description slightly stronger
html = html.replace(
'',
''
)
# 4. Strengthen OG/Twitter title/description
html = html.replace(
'',
''
)
html = html.replace(
'',
''
)
html = html.replace(
'',
''
)
html = html.replace(
'',
''
)
# 5. Enhance LocalBusiness schema content and area served, without breaking JSON formatting too much
html = html.replace(
'"description": "Mobile cutting board resurfacing and replacement services for restaurants, grocery stores, butcher shops, hotels, and commercial kitchens in Red Deer and surrounding Central Alberta areas.",',
'"description": "Mobile commercial cutting board resurfacing and replacement services for restaurants, grocery stores, butcher shops, hotels, care facilities, commissaries, and commercial kitchens in Red Deer and surrounding Central Alberta areas.",'
)
html = html.replace(
''' "Innisfail",
"Penhold"''',
''' "Innisfail",
"Penhold",
"Olds",
"Ponoka",
"Rocky Mountain House"'''
)
# 6. Add Service schema before style block
service_schema = '''
'''
html = html.replace('