Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
May I just begin by saying what an excellent implementation this is - brilliant work sir.
Now, my query is this...
I've Schema.orgED (if that is indeed a verb!) all my content types and fields etc. but when (for example) I visit...
I keep seeing this...
"Warning: Incomplete rdfa with schema.org"
message in the 'rdfa-node' section.
Any advice, have I missed something crucial?
Many thanks
Comments
Comment #1
scor CreditAttribution: scor commentedI'm not sure why it's saying that. The markup looks good and can be extracted ok by Google. Maybe it's complaining because it does know what element is being reviewed? In your case, are these reviews of your services or the website?
Comment #2
scor CreditAttribution: scor commentedI just confirmed that what you're missing is the element the review is about. I downloaded your page and added a field "schema:about" with the name of your site and the warning disappeared. Try to add a new text field "about" to your review content type and map it to schema:about, that should work. hopefully that helps!
Comment #3
SirClickalotActually, it seems the problem is in fact with regard to the individual Views teasers on that page.
These teasers are being generated using Display Suite and even if I do indeed add an 'about' filed and attach schema:about term to it, the problem still seems to exist.
Comment #4
SirClickalotI have re-opened. Could you please elaborate on your answer. I'm tried adding a field as you describe but has had no effect.
Comment #5
scor CreditAttribution: scor commentedAdd a text field and make sure you map it to schema:about, and make sure you put a value in each review, for example "sirclickalot services". This value should appear when you view a review. I don't see it at the moment on your test page. please update your test page so I can see it.
Comment #6
SirClickalotOK, I have tried this and it works - thank you sir.
I have given the field a suitable default content and obviously hidden the field in the view.
I wonder though whether this issue is also relevant given that my View (like everything else I build!) uses Disply Suite?
Your thoughts on the matter most welcome.
Thanks again
Comment #7
scor CreditAttribution: scor commentedwhich version of Display Suite are you using? it it's 2.x, you are good, it is fixed. In any case it seems that your markup is working since Google can extract your schema.org markup.
Comment #8
SirClickalotI am using Display Suite 7.2.0 and I only have the basic module switched on - i.e. no others such as 'Extras'.
Thanks
Comment #9
scor CreditAttribution: scor commentedyes, so you're ok.