1
Hadesteam
Google structured data - search box code modification
  • 2017/5/21 18:32

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


Hi,

How to modify this code to work all right in xoops 2.5.7?:

le="color: #000000"><?php <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "http://www.example.com/", "name": "Generally the title", "author": { "@type": "Person", "name": "Jane Doe" }, "description": "Any sort of description, I'd keep it short", "publisher": "publisher name", "potentialAction": { "@type": "SearchAction", "target": "http://www.example.com/?s={search_term}", "query-input": "required name=search_term" } } </script>

2
Bleekk
Re: Google structured data - search box code modification
  • 2017/5/21 19:34

  • Bleekk

  • Theme Designer

  • Posts: 942

  • Since: 2002/12/14


What are you talking about?
Where is this code from?
How is it used?
What does it do?
Is there any instruction?

3
Hadesteam
Re: Google structured data - search box code modification
  • 2017/5/22 15:04

  • Hadesteam

  • Not too shy to talk

  • Posts: 162

  • Since: 2011/9/5 1


I saw this code on the competition page :) just wondering if it is not unnecessary "gadget"?

http://jsonld.com/web-page/

Resized Image

4
geekwright
Re: Google structured data - search box code modification

Schema.org linked data separated from the HTML -- very interesting stuff.

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits