Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rdfa doesn't scrape well part 2 #35

Open
kcmcleod opened this issue Aug 15, 2019 · 1 comment
Open

rdfa doesn't scrape well part 2 #35

kcmcleod opened this issue Aug 15, 2019 · 1 comment

Comments

@kcmcleod
Copy link
Contributor

Also see: #11

This issue is based on
https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fhamap.expasy.org
In particular:

<form property="schema:potentialAction" typeof="schema:SearchAction" action="/cgi-bin/unirule/unirule_search.cgi" method="get" name="searchForm" id="searchForm">
    <meta property="schema:target" content="/cgi-bin/unirule/unirule_search.cgi?search={search}&context=HAMAP"/>
    <input property="schema:query-input" type="text" name="search" placeholder="Search HAMAP"/>
    <input property="schema:name" type="submit" value="Search"/>
    <input type="hidden" name="context" value="HAMAP" />
</form>

In GSDT tool produces:
Screenshot 2019-08-15 at 11 21 09

In Any23 you get:

<https://bioschemas.org/crawl/v1/100000/hamap.expasy.org/68969441> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://schema.org/SearchAction> <https://bioschemas.org/crawl/v1/100000> .
<https://bioschemas.org/crawl/v1/100000/hamap.expasy.org/68969441> <https://schema.org/target> "/cgi-bin/unirule/unirule_search.cgi?search={search}&context=HAMAP" <https://bioschemas.org/crawl/v1/100000> .
<https://bioschemas.org/crawl/v1/100000/hamap.expasy.org/68969441> <https://schema.org/query-input> "" <https://bioschemas.org/crawl/v1/100000> .
<https://bioschemas.org/crawl/v1/100000/hamap.expasy.org/68969441> <https://schema.org/name> "" <https://bioschemas.org/crawl/v1/100000> .

Notice:

  1. name is empty string
  2. query-input property is also an empty string (Google just misses it out)
@AlasdairGray
Copy link
Member

Needs investigation to understand the issue again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants