Adding Structured Data to Your JEvents Calendar Entries
Search engine optimization (SEO) is an important part of any website’s design. Structured data is an important part of a basic SEO program, but unfortunately, many Joomla extensions are well behind the state of the art when it comes to implementing structured data, even though Joomla itself has made great strides in recent releases.
Calendar plugins are an important part of most web sites, and Schema.org implements a very rich Event tag should be implemented by all calendar plugins. Many do not implement it, including the JEvents extension.
The article that follows describes how to use the custom template feature in JEvents to add structured data to your calendar.
HTML Implementation of Event Tag Structured Data for JEvents Event Detail
Because of the difficulties in script authorization, I have chosen an implementation that does not use scripting, but instead uses HTML microdata. It is harder to read and is more cumbersome but does not require special permissions management.
To add the structured data, go to the “Custom Layouts” section and select the “Event Detail Page” entry. Add the highlighted tags to you entry and publish the page.
Testing Your Structured Data Markup
To test your structured data markup, use the Google Structured Data Testing Tool
Adding Event-specific Structured Data
JEvents (at least the free version) does not allow you to specify offers or many of the other Event tags that Google recommends. You add them as a part of the event detail with some additional work, as shown in the code listed in Figures 2, 3 and 4.
To see how this is interpreted by Google, look at the results from the Structured Data Testing Tool.