labate-menus
v1.0.3
Published
[https://menu.hooray-seo.com/demo](https://menu.hooray-seo.com/demo)
Downloads
0
Readme
Hooray Menu Framework
https://menu.hooray-seo.com/demo
A CDN to deploy a dynamic menu framework for Hooray Agency's advanced SEO hospitality clients.
Context
Restaurant / Bar menu data is often difficult to manage at scale. As a restaurant/bars menu changes, so should (ideally) how it's rendered and formatted on their website.
To address this, we've built a CDN that delivers a dynamic, conditionally-rendering menu component to a website via a single script tag. This script tag queries a central repository, deploying the menu data.
Features
- Centralized Client Information
- Pre-Mapped Framework
- Conditional Generation
Benefits
- Easier/faster initial deployment via a global
scripttag. - External control of both input objects and the generative framework.
Implementation
- Talk to Jake Labate at Hooray to confirm the hotel brand's data is assembled property and in the repository.
- Add the following script tag to the
headof the website (globally). Ensure thetypeis set tomodule.
<!-- Hooray Menu Framework -->
<script type="module" src="https://menu.hooray-seo.com/script.js?domain="></script>- Add your unique domain code as the
domainURL param value the end of thescript srcto query the correct data. - Publish the site. Wait / refresh pages as needed. WordPress can take up to an hour to propagate
header.phpfiles.
Notes
To Do
- [ ] We are building a UI to manage brand data to allow direct brand data creation, editing and to deploy schema directly from the UI.
- [ ] We are implementing a page-specific server cache to reduce the number of requests, and to speed up the delivery of the schema.
Credit (or blame)
- Framework & delivery method by Jake Labate, Head of SEO at Hooray Agency.
