I'm trying to add the schema.org markup on the SFNT to hopefully get Google to add the Sitelinks search box to it's search results. I can't seem to get it past the urlTemplate
I'm using
I'm guessing that the &mvte:global:Search; isn't working because it really doesn't have a result until the search has been completed.
Has anyone successfully added this?
https://developers.google.com/search...inks-searchbox
Code:
http://www.domain.com/search.html?q={} (There is an error in your Sitelinks Search Box template: INVALID_SYNTAX.)
Code:
<div id="search-box" itemscope itemtype="http://schema.org/WebSite">
<meta itemprop="url" content="http://www.domain.com/"/>
<div class="container-fluid">
<span class="glyphicon glyphicon-remove" id="search-form-close"></span>
<form method="get" action="/search.html" class="form-inline clearfix" role="form" itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction">
<meta itemprop="target" content="http://www.domain.com/search.html?q={&mvte:global:Search;}"/>
<input itemprop="query-input" type="text" name="q" value="&mvte:global:Search;" id="search" class="form-control searchspring-query" autocomplete="off" placeholder="SEARCH..." />
<input type="hidden" class="form-control" value="GO">
</form>
</div>...
Has anyone successfully added this?
https://developers.google.com/search...inks-searchbox
Comment