问题
I'm trying to get back pagemap data when I call the google site search api, and it's not currently present.
The sample response here leads me to believe it is possible ( there is a pagemap field ) https://developers.google.com/custom-search/json-api/v1/reference/cse/list?hl=en
Can anyone confirm that the structured data tool reads PageMap data? I've tried using it to verify my pagemap data is correct, but finds nothing.
https://developers.google.com/structured-data/testing-tool/
If it doesn't, does the Site search API only return pagemap attributes maybe at the paid level?
回答1:
Answering below question: If it doesn't, does the Site search API only return pagemap attributes maybe at the paid level?
Yes. It gives you a pagemap
object which itself is sub-divided in other data objects. For instance the book:isbn
was provided as Schema.org
data, whereas the og:
stuff as Open Graph Data.
来源:https://stackoverflow.com/questions/32380713/pagemap-data-and-google-structured-data-validator-tool