Just checking - Rich Snippets Testing tool misses content of "link" elements?

16 views
Skip to first unread message

glawrie

unread,
Jun 29, 2011, 12:00:23 PM6/29/11
to Schema.org Discussion
Following the examples given on Schema.org, I've put a couple of
"link" elements into a page to point to a URL even though the URL is
not directly listed in the text of the page - I've done this where the
URL is relevant to the article, but accessed through a dialog box
rather than directly off the page.

The RSTT thing spots the "url" tag in the <link> element, but does not
capture the URL itself. So...

<div itemscope itemtype="http://schema.org/Article">
<h1 itemprop="headline name">Results of the 2010 2GC Balanced
Scorecard Usage Survey</h1>
<p itemprop="about description">The 2010 Survey found ... /snip/</
p>
<link itemprop="url" href="http://www.2gc.co.uk/pdf/2GC-
BSCSurvey101006Screen.pdf" />
<link itemprop="url" href="http://www.2gc.co.uk/pdf/2GC-
BSCSurvey101006Print.pdf" />
</div>
appears in RSTT as

Item
Type: http://schema.org/article
headline = Results of the 2010 2GC Balanced Scorecard Usage
Survey
name = Results of the 2010 2GC Balanced Scorecard Usage Survey
about = The 2010 Survey found ... /snip/...
description = The 2010 Survey found ... /snip/...
url =
url =

This is expected result I hope...

If not, can someone advise what I'm doing wrong? Thanks!

Lawrence Woodman

unread,
Jul 3, 2011, 1:19:33 AM7/3/11
to Schema.org Discussion
Your microdata markup is correct and parses without problem with Mida
(http://lawrencewoodman.github.com/mida/).

Google's parser does unfortunately have a few problems that I'm hoping
will be rectified soon. For the moment you could at least wrap "The
2010 Survey" in an anchor pointing to the screen pdf. Which the
search engines would probably prefer in any case as it would give them
greater confidence in the itemprop.

glawrie

unread,
Jul 4, 2011, 2:50:24 AM7/4/11
to Schema.org Discussion
Thanks Lawrence - v.helpful / reassuring. :)

Lawrence Woodman

unread,
Jul 2, 2011, 2:10:50 AM7/2/11
to Schema.org Discussion


On Jun 29, 5:00 pm, glawrie <gavin.law...@gmail.com> wrote:
Technically what you are doing is correct microdata. And indeed is
parsed correctly by Mida (http://lawrencewoodman.github.com/mida/)
however unfortunately Google's Microdata parser is broken in several
places. Hopefully this will improve with time. For the moment you
would probably get better results by doing something like:

<p itemprop="about description">
<a itemprop="url" href="http://www.2gc.co.uk/pdf/2GC-
BSCSurvey101006Screen.pdf">The 2010 Survey</a> found ... /snip/
</p>

alexis

unread,
Jul 5, 2011, 12:43:02 PM7/5/11
to Schema.org Discussion
I've seen the same thing and was equally worried. Can we file a bug
report about this somewhere? It seems we should be able to follow the
examples provided on schema.org!
Reply all
Reply to author
Forward
0 new messages