We have been working on GSD - Google Structured Data on our sites, and while trying to comply with the guidelines, we noticed that, even if itemprop="publisher" does exist in types.json (/libraries/src/Microdata/types.json), it is not implemented anywhere else.
Result : a recurring error when checking with Google structured data testing tool.
We found this recommendation on Google forums and it works (inserted in an article).
<div itemprop="publisher" itemscope itemtype="http://schema.org/Organization"> <p>© 2018 <span itemprop="name">My site name</span> All Rights Reserved.</p>
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject"><meta itemprop="url" content="complete_url_to_the_image/logo.png"><meta itemprop="height" content="215"/><meta itemprop="width" content="730"/></div>
</div>
Is there a specific reason why this "type(?)" has not been included in Joomla, in info_block.php for example.
NB : We had to exclude some native modules as well, in order to fully comply to Google structured data testing tool on a simple page.
NB 2 : A warning on mainEntityOfPage :
The mainEntityOfPage field is recommended. Please provide a value if available.
As it is only a warning, I'll leave this aside.
Status | New | ⇒ | Discussion |
Hi,
"datemodified" is an option in details for articles: add it and this error will disappear.
On single article, "headline", publisher" and "mainEntityOfPage" are missing when testing with Google testing tool.
On single article, "image" is missing if you add it in article body, not when you insert it with "images and links" tab.
On blog mode, "image" is always missing.
I think it is important to fix "Error" with "publisher" field.
I have Joomla 3.8.6 and use default Template Protostar.
Labels |
Added:
J3 Issue
|
Status | Discussion | ⇒ | Information Required |
Build | master | ⇒ | staging |
@ghazal is this still an issue in the latest J3 build?
I saw this by accident, and J3 still exists.
My iSEMC website uses the J3 version, and I also used extended verification, but there are still errors; is there anyone who has successfully eliminated the warning?
Because I indicated on Semrush that this is a serious mistake,
Does J4 also have this problem?
Labels |
Added:
?
No Code Attached Yet
Removed: ? |
Going to close this one now that we have a schema.org implementation
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-01 06:54:59 |
Closed_By | ⇒ | brianteeman | |
Labels |
Added:
Feature
Removed: ? |
+1