By bwmoore22 on Friday, 25 September 2015
Posted in Pre-Sales
Replies 5
Likes 0
Views 2.2K
Votes 0
I want to include schema.org event tags as shown below. My preference would be for JEvents to do this automatically, but if not is it possible to put it into the event description block? I've got JCE enabled to allow JavaScript for my ID, but JEvents appears to strip out the <script> tags when I save.

Is there a way to do this? If not, can you recommend an extension that does?

Note that URLs are removed to allow posting.

&lt;script type="application/ld+json">
{
"@context": "",
"@type": "Event",
"name": "Example Band goes to San Francisco",
"startDate" : "2013-09-14T21:30",
"url" : "",
"location" : {
"@type" : "Place",
"sameAs" : "",
"name" : "The Hi-Dive",
"address" : "7 S. Broadway, Denver, CO 80209"
}
}
&lt;/script>
Enable unfiltered descriptions in your JEvents config - but only do so if you trust the people creating your events.
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks...that did the trick. You might look at changing the "filter" description to something like "Allow, <script> and other HTML" so that it is more obvious. Putting structured data in the output would be a great enhancement for SEO.

Thanks for pointing me in the right direction.
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
We have a club member article that describes how to use the layout editor in JEvents to add the microdata you want to your layouts.

https://www.jevents.net/docs/jevents/it ... ch-engines
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
some news?
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Did you take a look at the article that describes how to include the schema data in your event layouts?
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post