5 minutes reading time (946 words)

Rich Snippets in Joomla 5

September-RichSnippets

Hey there, Joomla enthusiasts! Have you ever wondered how to enhance your website's search engine visibility and provide a more informative experience for your users? Well, you're in for a treat! In this article, we're diving into the exciting world of Rich Snippets, a fantastic feature in Joomla 5 that will revolutionize the way you handle structured data.

Joomla 5 brings structured data right into the core. Get ready to discover what Rich Snippets are all about and how they can supercharge your website's performance.

To ensure the delivery of high-quality search results, web crawlers rely on structured data that is used by search engines to generate rich snippets. Currently, Joomla! provides a feature for generating rich snippets, but it uses inline microdata that is challenging to modify from the backend since it is hardcoded into the HTML. 

Wouldn’t it be great if there was an easy way to do this? A  proposed solution is to introduce schema.org and JSON-LD implementation to Joomla!. This would allow structured data to be added and configured via Joomla! backend, simplifying the optimization of website content for search engines and improving the visibility of the website in search results.

By incorporating this update, you would benefit from an easier and more flexible way to optimize your website's structured data, leading to a better search experience for your users and potentially increasing your website's traffic and engagement.

The start 

As for how I got involved in this exciting project, it all began with Google Summer of Code 2022 (GSoc). GSoc is an incredible program that pairs students with mentors to work on open-source projects. It was through GSoc that I had the opportunity to contribute to Joomla and bring Rich Snippets to life.

The feature 

Rich Snippets in Joomla 5: This feature empowers website owners to create structured data without the need for third-party extensions or complex coding. It's all about making your life easier and your website more search engine-friendly.

The plugins

Now, let's explore the plugins that make Rich Snippets in Joomla 5 a breeze to use. These plugins work their magic behind the scenes, allowing you to effortlessly define structured data for your content. In the backend, you'll find a user-friendly interface where you can set up these plugins with ease. No technical jargon or coding expertise required!

Example 

To give you a taste of what Rich Snippets can do, let's walk through an example. Imagine you're an independent home cook and you run a food blog where you post your favorite recipes. You can use Joomla 5 Rich Snippets to make your recipes stand out in search results. Here is how you can do so in 2 simple steps:

Step 1: Select Schema Type

Step 2: Fill in the details

And it's done!

You can copy this generated schema and test it using Google's structured data testing tool

Under the hood

Now, let's take a peek under the hood to understand the technical aspects of Rich Snippets. These snippets are generated using structured data markup based on schemas such as JSON-LD.  Each schema type is implemented as a separate plugin. This allows for a more modular and extensible architecture. Each plugin is responsible for generating the schema markup for a specific type of content, which allows for more flexibility and customization options for you. This makes it easier for third-party developers to contribute to the development of Joomla's structured data capabilities.

In Joomla 5, we currently have the following plugins:

  • Blogposting Plugin
  • Book Plugin
  • Event Plugin
  • Organization Plugin
  • Person Plugin
  • Recipe Plugin
  • JobPosting Plugin

 

The Journey

Now, let's dive into the most heartwarming part of this journey. It's not just about the technology; it's about the incredible people who made it all possible. Throughout this project, I had the privilege of working with not one, but four amazing mentors: Benjamin Trenkle, Tushar Malik, Anurag Kumar, and Rishabh Ranjan Jha. They taught me invaluable lessons beyond code and software. One of the most significant lessons I learned was the importance of communication. My mentors emphasized the importance of clear and consistent communication, and this skill has become an asset in all aspects of my life. Our weekly meetings were more than just progress updates; they were moments of shared excitement, problem-solving, and mutual support. I genuinely looked forward to these meetings, as they not only helped us stay on track but also fostered a sense of teamwork.

This opportunity has been nothing short of a dream come true. I never imagined I would be part of such an exceptional project and work alongside such brilliant minds. I want to extend my deepest gratitude to all my mentors for believing in me and guiding me every step of the way. Your mentorship has been invaluable, and I couldn't have asked for a more dedicated team.

I also want to thank Philip Walton, Shivam Rajput, and Richard Fath for always being there when I needed assistance or advice. Your contributions have been instrumental in this journey.

And last but certainly not least, I want to express my heartfelt appreciation to the Joomla Community. You are, without a doubt, the coolest community I've ever had the privilege to be a part of.

Thank you all for being an integral part of this unforgettable experience.

Conclusion

Incorporating this update into Joomla 5 is a game-changer for website owners. It simplifies the process of optimizing structured data, leading to an enhanced search experience for your users. With Rich Snippets, you can potentially increase your website's traffic and engagement, ultimately boosting your online presence. So, get ready to embrace the power of Rich Snippets in Joomla 5 and take your website to new heights!

1
Joomla: the ideal web solution for local governmen...
Joomla SEO title tags: everything you must know (a...
 

Comments 3

Already Registered? Login Here
Nelson Fernando Bautista Pinzon on Wednesday, 27 September 2023 15:09
Joomla mejora dia a dia

Cordial saludo.

Felicito a quienes contribuyeron en este proyecto de los datos estructurados, Joomla sorprende al implementar soluciones nativas que aparte de facilitar el trabajo, son importante en la importancia de usar y fomentar Joomla CMS.

Ojala sigan escuchando a los usuarios y sus distintas propuestas e ideas para mejorar funciones y usabilidad de Joomla.

1
Cordial saludo. Felicito a quienes contribuyeron en este proyecto de los datos estructurados, Joomla sorprende al implementar soluciones nativas que aparte de facilitar el trabajo, son importante en la importancia de usar y fomentar Joomla CMS. Ojala sigan escuchando a los usuarios y sus distintas propuestas e ideas para mejorar funciones y usabilidad de Joomla. :)
Vahid on Wednesday, 04 October 2023 13:55
3 question

Hi,

its very good news. Thank you of all Joomla developers. 3 question:

1. why there's not any schema type related with news content for any news/magazine websites like: NewsArticle, Review, OpinionNewsArticle,ReportageNewsArticle, ReviewNewsArticle, AnalysisNewsArticle,...

It also seems that there is no place for many topics like photo, video, health, medical and tech: TechArticle,HealthTopicContent, ImageGallery,VideoGallery,...

2. it seems there are many fields for each type. All of them is only for Google and not show in page?

3. and what about old content? All of them must edit manually and choose type for them? Or there is a setting to apply default value's or do bulk changes?

0
Hi, its very good news. Thank you of all Joomla developers. 3 question: 1. why there's not any schema type related with news content for any news/magazine websites like: NewsArticle, Review, OpinionNewsArticle,ReportageNewsArticle, ReviewNewsArticle, AnalysisNewsArticle,... It also seems that there is no place for many topics like photo, video, health, medical and tech: TechArticle,HealthTopicContent, ImageGallery,VideoGallery,... 2. it seems there are many fields for each type. All of them is only for Google and not show in page? 3. and what about old content? All of them must edit manually and choose type for them? Or there is a setting to apply default value's or do bulk changes?
Semaphore on Friday, 13 October 2023 22:16
Using with custom fields ?

Hi,
Glad to see schema more integrated but until now for creating a Book custom type for example we create a lot of custom fields for displaying, searching and creating schema manually in template override.
Now : does the user have to type twice these information (in CF and Schema fields ?)
How can we use the new plug-in with custom fields in order to link a ISBN customfields to the ISBN schema field.

Thanks

0
Hi, Glad to see schema more integrated but until now for creating a Book custom type for example we create a lot of custom fields for displaying, searching and creating schema manually in template override. Now : does the user have to type twice these information (in CF and Schema fields ?) How can we use the new plug-in with custom fields in order to link a ISBN customfields to the ISBN schema field. Thanks

By accepting you will be accessing a service provided by a third-party external to https://magazine.joomla.org/