On Thursday, August 23, 2012 11:08:59 PM UTC+2, regnoult axel wrote:
>
> Hello,
>
> I have just discovered Microformat and
> http://schema.org<http://schema.org/WebPage>
> /
>
> This is an example :
> <img itemprop="image" src="catcher-in-the-rye-book-cover.jpg" />
>
> But I am using <*g:*image /> inside UI binder, so do you know if it will
> works ?
>
No.
> Otherwise, do you know the solution ?
>
You could use getElement().setPropertyString("itemprop", "image") in your
Java code.
Or you could use a <link/> element next to the <g:Image/>, see "canonical
reference" in http://schema.org/docs/gs.html#advanced_enum
That being said, do you know any real use of that data besides SEO? (which
wouldn't look at your dynamic elements, unless you use #! and serve the
data by "running" the GWT app on the server)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/rlmBrpFhgPkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.