Google structured data - No rich results detected
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Tue Nov 28, 2023 8:21 pm
Google structured data - No rich results detected
Post by dcjohn_maria »
Based on this article https://blog.oxygenxml.com/generating_g ... tasks.html, I have added Google structured data in this web help package.
https://documentation.nokia.com/srlinux ... cl-actions
However, the Rich results tool isn't able to detect any rich text content in this package. Am I missing something?
I posted this query in google community support and I got this response.
https://documentation.nokia.com/srlinux ... cl-actions
However, the Rich results tool isn't able to detect any rich text content in this package. Am I missing something?
I posted this query in google community support and I got this response.
image.png
IYou do not have the required permissions to view the files attached to this post.
-
- Posts: 38
- Joined: Fri Jan 22, 2021 11:05 am
Re: Google structured data - No rich results detected
Post by beniamin_savu »
Hi,
Thank you for contacting us!
Can you please let us know what version of Oxygen WebHelp are you using?
We inspected the link you provided ( https://documentation.nokia.com/srlinux ... cl-actions ) and we noticed that there is no <script> element with type="application/ld+json" in that page. Without having this <script> element in the output page, the Rich results tool will not be able to detect your text content. Your HTML page should contain something like this:
Please make sure that the google.structured.data transformation parameter is set to 'yes'. You can find additional information about Goole Structure Data in our user manual using the following link:
https://www.oxygenxml.com/doc/versions/ ... -data.html
I hope this helps!
Best regards,
Beniamin Savu
Oxygen WebHelp Team
http://www.oxygenxml.com
Thank you for contacting us!
Can you please let us know what version of Oxygen WebHelp are you using?
We inspected the link you provided ( https://documentation.nokia.com/srlinux ... cl-actions ) and we noticed that there is no <script> element with type="application/ld+json" in that page. Without having this <script> element in the output page, the Rich results tool will not be able to detect your text content. Your HTML page should contain something like this:
Code: Select all
<script type="application/ld+json">
....
</script>
https://www.oxygenxml.com/doc/versions/ ... -data.html
I hope this helps!
Best regards,
Beniamin Savu
Oxygen WebHelp Team
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Tue Nov 28, 2023 8:21 pm
Re: Google structured data - No rich results detected
Post by dcjohn_maria »
Hi,
I am using Oxygen 25.1 version.
Your analysis was correct. My bad
. I should have checked this before.
I see that this page has some rich results content.
https://documentation.nokia.com/srlinux ... ps-in-dut2
It is detected both in the schema validator and Rich results tool. However, In the rich results tool, reports duplicate entry errors.
Regards,
Diana
I am using Oxygen 25.1 version.
Your analysis was correct. My bad

I see that this page has some rich results content.
https://documentation.nokia.com/srlinux ... ps-in-dut2
It is detected both in the schema validator and Rich results tool. However, In the rich results tool, reports duplicate entry errors.
Regards,
Diana
-
- Posts: 6
- Joined: Tue Nov 28, 2023 8:21 pm
Re: Google structured data - No rich results detected
Post by dcjohn_maria »
The schema validator detects 3 "HowTos" types.
https://validator.schema.org/#url=https ... ation.html
As per the Google support community response, I must combine these "HowTo" types into a single array.
In addGoogleStructuredData.xsl, a HowTo type is added for each step. How do we combine this into a single array?
https://validator.schema.org/#url=https ... ation.html
As per the Google support community response, I must combine these "HowTo" types into a single array.
In addGoogleStructuredData.xsl, a HowTo type is added for each step. How do we combine this into a single array?
-
- Posts: 38
- Joined: Fri Jan 22, 2021 11:05 am
Re: Google structured data - No rich results detected
Post by beniamin_savu »
Hi,
Thank you for your feedback!
The URL for the schema validator from your previous post does not detect any rich result content. When we open the URL, It seems to perform a redirect to https://documentation.nokia.com/srlinux/index.html
In the released Oxygen Publishing Engine version 25.1 kit and Oxygen WebHelp version 25.1 kit we do not have a file named addGoogleStructuredData.xsl. It may be possible to have an old nightly build that contained a development version for the Google Structured Data feature.
You can obtain the released version for 25.1 from our website:
Best regards,
Beniamin Savu
Oxygen WebHelp Team
http://www.oxygenxml.com
Thank you for your feedback!
The URL for the schema validator from your previous post does not detect any rich result content. When we open the URL, It seems to perform a redirect to https://documentation.nokia.com/srlinux/index.html
In the released Oxygen Publishing Engine version 25.1 kit and Oxygen WebHelp version 25.1 kit we do not have a file named addGoogleStructuredData.xsl. It may be possible to have an old nightly build that contained a development version for the Google Structured Data feature.
You can obtain the released version for 25.1 from our website:
- Oxygen Publishing Engine - https://www.oxygenxml.com/publishing_en ... ngine.html
- Oxygen WebHelp - https://www.oxygenxml.com/xml_webhelp/s ... bhelp.html
Best regards,
Beniamin Savu
Oxygen WebHelp Team
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service