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?:

<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: 941

  • 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

Who's Online

378 user(s) are online (288 user(s) are browsing Support Forums)


Members: 0


Guests: 378


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits