Friday, 25 September 2015
  5 Replies
  2.2K Visits
0
Votes
Undo
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>
9 years ago
·
#156965
0
Votes
Undo
Enable unfiltered descriptions in your JEvents config - but only do so if you trust the people creating your events.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

9 years ago
·
#156966
0
Votes
Undo
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
·
#156967
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

7 years ago
·
#190878
0
Votes
Undo
some news?
7 years ago
·
#191010
0
Votes
Undo
Did you take a look at the article that describes how to include the schema data in your event layouts?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.