Skip to content

shazmasiddiqui/GSoC-2022-Schemaorg-project-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

GSoC-2022-Schemaorg-project-report

Blogpost_869x400-GSoC2022-ShazmaSiddiqui

Introduction

This repository contains details about my project schema.org in Google Summer of Code 2022 with Joomla!

Project Idea: Schema.org Project Link
Project plan: Phase 2
Project Repository: Project Repo
Weekly Reports: Report link
Blog: Blog
Joomla CMS Repository: Joomla CMS Repo

Major points covered

  • System plugin is working in a generic way
  • Complete schema is saved in the database along with cleaned up schema
  • Merging/Display modules
  • Supported Schema types: Book, Person, Organization, Event, Recipe and Blogposting
  • Schemas implementation done with all field types
  • Subform for "generic" title/value
  • Output in the frontend

System Plugin

PR: Base Implementation

Adds schema form in all the allowed components (Content and Contacts for now)

Screenshot 2022-11-20 at 19-56-19 Articles New - Demo Website - Administration

Schemaorg Plugins

PR: Schema.org Plugins
PR: Event Plugin
PR: Book Plugin
PR: Organization Plugin
PR: Person PLugin

Screenshot 2022-11-20 at 20-00-28 Plugins - Demo Website - Administration

Service Interface

PR: Service Interface

This provides each plugin an options to select allowed and forbidden contexts. Plugins won't be shown as an option to select as schema type in forbidden contexts. If there already exists a schema in forbidden context then it won't be deleted but unpublished which means that it will no longer be shown in the frontend.

Screenshot 2022-11-20 at 20-02-40 Plugins Schema org Recipe Plugin - Demo Website - Administration

Recipe Plugin

Major functionalites:

  • All the empty fields are ignored
  • Subform is converted into nested JSON
  • Repeatable fields are turned into an array structure
  • Image url is cleaned up
  • Duration is normalized into ISO Duration format

Screenshot 2022-11-20 at 20-16-45 Articles Edit - Demo Website - Administration

Generated Schema

Screenshot 2022-11-20 at 20-21-37 Articles Edit - Demo Website - Administration

Testing generated schema on Google Rich Results Test

Screenshot 2022-11-20 at 20-25-48 Rich Results Test - Google Search Console

Output being pushed to the head tag of html in the frontend

output

Generic field

Using this field a generic attribute in title=>value format can be added to the schema.

Screenshot 2022-11-20 at 20-52-59 Articles Edit - Demo Website - Administration

Updated Schema

Screenshot 2022-11-20 at 20-54-00 Articles Edit - Demo Website - Administration

Mentors

A big thanks to my mentors Benjamin Trenkle, Tushar Malik, Rishabh Ranjan Jha and Anurag Kumar. Thank You for being such amazing mentors, I can't imagine reaching the end of project without your support and supervision.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published