Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base Schema.org Implementation #6

Closed
wants to merge 54 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
1f6241c
schema.org system plugin
shazmasiddiqui Jun 30, 2022
6dde383
Adding JSON data to the head tag
shazmasiddiqui Jun 30, 2022
6153ecb
Adding type attribute to script tag
shazmasiddiqui Jul 1, 2022
b3cc329
Deleting SQL Azure
shazmasiddiqui Jul 1, 2022
278e935
Schema.org Component and Recipe Plugin
shazmasiddiqui Jul 7, 2022
7d6a1fd
Adds a new option in schema type list field in schema form
shazmasiddiqui Jul 12, 2022
5168446
Shows form fields of the selected schema type
shazmasiddiqui Jul 13, 2022
dc5fdb3
Updated form fields in schema form
shazmasiddiqui Jul 25, 2022
8685bb0
Merge branch '4.3-dev' into schema-system-plugin-test
bembelimen Jul 28, 2022
d3b5b3c
Merge pull request #3 from joomla-projects/dev
bembelimen Aug 2, 2022
1979618
phpcs
rjharishabh Aug 3, 2022
c018050
Merge pull request #4 from rjharishabh/schema-system-plugin-test
rjharishabh Aug 3, 2022
ca6941d
Updated language files and schema form duration field
shazmasiddiqui Aug 4, 2022
32db5e4
phpcs code formatting
shazmasiddiqui Aug 4, 2022
aa48e46
Created schemaorg plugins trait to add new Schema type
shazmasiddiqui Aug 10, 2022
0955bfc
Schema.org component homepage
shazmasiddiqui Aug 10, 2022
d244c20
Fix spelling mistake of default view in display controller
shazmasiddiqui Aug 14, 2022
3be7972
Merge branch 'schema-system-plugin-test' of github.com:joomla-project…
shazmasiddiqui Aug 14, 2022
f8265c1
Merge branch 'schema-system-plugin-test' into schemaorg-plugin-trait
shazmasiddiqui Aug 14, 2022
6cee1c3
Adds saveSchema and updateSchemaForm functions in schemaorgPluginTrait
shazmasiddiqui Aug 14, 2022
d562e62
Added functions to filter the schema before save
shazmasiddiqui Aug 23, 2022
bcbcf4f
Added updateSchemaForm, convertToArray and changeDurationFormat funct…
shazmasiddiqui Aug 29, 2022
fed68b0
Fixes updateSchemaForm and pushSchema function and adds title field i…
shazmasiddiqui Sep 7, 2022
b3b9a80
fix phpcs
shazmasiddiqui Sep 7, 2022
cfff800
Auto installs plugins
shazmasiddiqui Sep 7, 2022
e824f14
Adds comments and minor fixes
shazmasiddiqui Sep 13, 2022
6446150
Blog plugin
shazmasiddiqui Sep 20, 2022
b927a7c
Adds subsriber interface and validation in store schema function
shazmasiddiqui Oct 7, 2022
97ad1d6
Merge pull request #7 from joomla-projects/4.3-latest
anuragteapot Oct 8, 2022
e6c2bf8
Merge remote-tracking branch 'origin/4.3-dev' into schemaorg-plugin-t…
anuragteapot Oct 8, 2022
afad46b
update the drone hash
anuragteapot Oct 8, 2022
bdd492b
Merge branch 'dev' into schemaorg-plugin-trait
anuragteapot Oct 8, 2022
39ca407
Update drone hash
bembelimen Oct 18, 2022
34a0d54
Removed component and renamed blog plugin to blogposting
shazmasiddiqui Oct 23, 2022
38a3474
Adds event schema type
shazmasiddiqui Oct 23, 2022
d621ab0
Fix spelling mistake
shazmasiddiqui Oct 23, 2022
f0c8186
Fix typing mistake
shazmasiddiqui Oct 23, 2022
46e4747
Adds Book as schema type
shazmasiddiqui Oct 23, 2022
848dcde
Merge pull request #9 from joomla-projects/book-plugin
ditsuke Oct 24, 2022
1aa5570
Merge branch 'schemaorg-plugin-trait' into event-plugin
ditsuke Oct 24, 2022
b5b0d15
Merge pull request #8 from joomla-projects/event-plugin
ditsuke Oct 24, 2022
c7dce7c
Adds Person schema type
shazmasiddiqui Nov 7, 2022
65f5c74
Adds allowed and forbidden context option in all the plugins
shazmasiddiqui Nov 7, 2022
1cb45b0
Fixed Service Interface
shazmasiddiqui Nov 19, 2022
85af6a0
phpcs fix
shazmasiddiqui Nov 19, 2022
8b5fa54
Show schema preview only for supported schema types
shazmasiddiqui Nov 19, 2022
c54604b
Fixed schema preview and code improvements
shazmasiddiqui Nov 19, 2022
9baa207
fix phpcs
shazmasiddiqui Nov 19, 2022
75c8ef9
Adds subform for generic fields
shazmasiddiqui Nov 20, 2022
31ee586
updated language files
shazmasiddiqui Nov 20, 2022
34af23d
Adds organization schema
shazmasiddiqui Nov 20, 2022
5552d85
Merge pull request #11 from joomla-projects/service-interface
bembelimen Dec 29, 2022
1951364
Merge branch 'schemaorg-plugin-trait' into organization-schema
bembelimen Dec 29, 2022
6f48eca
Merge pull request #13 from joomla-projects/organization-schema
bembelimen Dec 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,6 @@ trigger:

---
kind: signature
hmac: d91158df4cb2724e591e0c5a43e49fc09317e4b6f66b1535d8bac3f28c16da27
hmac: 73391a2240687e465bcced29750d884033a54a15f6e2027acb33deaa256d7c1f

...
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
use Joomla\CMS\Categories\CategoryServiceTrait;
use Joomla\CMS\Component\Router\RouterServiceInterface;
use Joomla\CMS\Component\Router\RouterServiceTrait;
use Joomla\CMS\Schemaorg\SchemaorgServiceInterface;
use Joomla\CMS\Schemaorg\SchemaorgServiceTrait;
use Joomla\CMS\Extension\BootableExtensionInterface;
use Joomla\CMS\Extension\MVCComponent;
use Joomla\CMS\Factory;
Expand Down Expand Up @@ -43,18 +45,26 @@ class ContactComponent extends MVCComponent implements
BootableExtensionInterface,
CategoryServiceInterface,
FieldsServiceInterface,
SchemaorgServiceInterface,
AssociationServiceInterface,
RouterServiceInterface,
TagServiceInterface
{
use AssociationServiceTrait;
use HTMLRegistryAwareTrait;
use RouterServiceTrait;
use SchemaorgServiceTrait;
use CategoryServiceTrait, TagServiceTrait {
CategoryServiceTrait::getTableNameForSection insteadof TagServiceTrait;
CategoryServiceTrait::getStateColumnForSection insteadof TagServiceTrait;
}

/** @var array Supported functionality */
protected $supportedFunctionality = [
'core.featured' => true,
'core.state' => true,
];

/**
* Booting the extension. This is the function to set up the environment of the extension like
* registering new class loaders, etc.
Expand Down Expand Up @@ -152,4 +162,22 @@ protected function getStateColumnForSection(string $section = null)
{
return 'published';
}

/**
* Returns valid contexts for schemaorg
*
* @return array
*
* @since 4.0.0
*/
public function getSchemaorgContexts(): array
{
Factory::getLanguage()->load('com_content', JPATH_ADMINISTRATOR);

$contexts = array(
'com_contact.contact' => Text::_('COM_CONTACT')
);

return $contexts;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
use Joomla\CMS\Tag\TagServiceTrait;
use Joomla\CMS\Workflow\WorkflowServiceInterface;
use Joomla\CMS\Workflow\WorkflowServiceTrait;
use Joomla\CMS\Schemaorg\SchemaorgServiceInterface;
use Joomla\CMS\Schemaorg\SchemaorgServiceTrait;
use Joomla\Component\Content\Administrator\Helper\ContentHelper;
use Joomla\Component\Content\Administrator\Service\HTML\AdministratorService;
use Joomla\Component\Content\Administrator\Service\HTML\Icon;
Expand All @@ -48,6 +50,7 @@ class ContentComponent extends MVCComponent implements
CategoryServiceInterface,
FieldsServiceInterface,
AssociationServiceInterface,
SchemaorgServiceInterface,
WorkflowServiceInterface,
RouterServiceInterface,
TagServiceInterface
Expand All @@ -56,6 +59,7 @@ class ContentComponent extends MVCComponent implements
use RouterServiceTrait;
use HTMLRegistryAwareTrait;
use WorkflowServiceTrait;
use SchemaorgServiceTrait;
use CategoryServiceTrait, TagServiceTrait {
CategoryServiceTrait::getTableNameForSection insteadof TagServiceTrait;
CategoryServiceTrait::getStateColumnForSection insteadof TagServiceTrait;
Expand Down Expand Up @@ -181,6 +185,24 @@ public function getContexts(): array
return $contexts;
}

/**
* Returns valid contexts for schemaorg
*
* @return array
*
* @since 4.0.0
*/
public function getSchemaorgContexts(): array
{
Factory::getLanguage()->load('com_content', JPATH_ADMINISTRATOR);

$contexts = array(
'com_content.article' => Text::_('COM_CONTENT')
);

return $contexts;
}

/**
* Returns valid contexts
*
Expand Down
7 changes: 7 additions & 0 deletions administrator/language/en-GB/joomla.ini
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,13 @@ JWARNING_REMOVE_ROOT_USER_ADMIN="The emergency Root User setting is enabled for
JWARNING_TRASH_MUST_SELECT="You must select at least one item to remove."
JWARNING_UNPUBLISH_MUST_SELECT="You must select at least one item to unpublish."

; Schemaorg
JSCHEMAORG_EXTENSION_ALLOWED_DESCRIPTION="Activate this plugin only for listed extensions. If used all other extensions are disabled."
JSCHEMAORG_EXTENSION_ALLOWED_LABEL="Allowed Extension"
JSCHEMAORG_EXTENSION_FORBIDDEN_DESCRIPTION="Disable this plugin for listed extensions."
JSCHEMAORG_EXTENSION_FORBIDDEN_LABEL="Forbidden Extensions"
JSCHEMAORG_FIELD_COMPONENT_SECTIONS_TEXT="%2$s"

; Workflow
JWORKFLOW="Workflow: %s"
JWORKFLOW_ENABLED_LABEL="Enable Workflow"
Expand Down
21 changes: 21 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_blogposting.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
PLG_SCHEMAORG_BLOGPOSTING_DESCRIPTION_LABEL="A blog post <a href=\"https://schema.org/BlogPosting\" target=\"_blank\">More information</a>"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_ADDRESS_LABEL="Address"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_AUTHOR_LABEL="Author"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_DATE_MODIFIED_LABEL="Date Modified"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_DATE_PUBLISHED_LABEL="Date Published"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_DESCRIPTION_LABEL="Description"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_EMAIL_LABEL="Email"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_GENERIC_FIELD_LABEL="Generic Field"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_GENERIC_TITLE_LABEL="Title"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_GENERIC_VALUE_LABEL="Value"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_HEADLINE_LABEL="Headline"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_IMAGE_LABEL="Image"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_LOCALITY_LABEL="Locality"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_NAME_LABEL="Name"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_ORGANIZATION_LABEL="Organization"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_PERSON_LABEL="Person"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_POSTAL_CODE_LABEL="Postal Code"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_STREET_ADDRESS_LABEL="Street Address"
PLG_SCHEMAORG_BLOGPOSTING_FIELD_URL_LABEL="Url"
PLG_SCHEMAORG_BLOGPOSTING_XML_DESCRIPTION="Adds Blog as a new schema type in existing schemas"
PLG_SCHEMAORG_BLOGPOSTING="Schema.org Blogposting Plugin"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLG_SCHEMAORG_BLOGPOSTING="Schema.org Blogposting Plugin"
PLG_SCHEMAORG_BLOGPOSTING_XML_DESCRIPTION="Adds Blog as a new schema type in existing schemas"
27 changes: 27 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_book.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PLG_SCHEMAORG_BOOK_DESCRIPTION_LABEL="A Schema.org Type <a href=\"https://schema.org/Book\" target=\"_blank\">More information</a>"
PLG_SCHEMAORG_BOOK_FIELD_ABRIDGED_LABEL="Abridged"
PLG_SCHEMAORG_BOOK_FIELD_ADDRESS_LABEL="Address"
PLG_SCHEMAORG_BOOK_FIELD_AUDIOBOOK_LABEL="Audiobook"
PLG_SCHEMAORG_BOOK_FIELD_AUTHOR_LABEL="Author"
PLG_SCHEMAORG_BOOK_FIELD_BOOK_EDITION_LABEL="Book Edition"
PLG_SCHEMAORG_BOOK_FIELD_BOOK_FORMAT_LABEL="Book Format"
PLG_SCHEMAORG_BOOK_FIELD_DATE_PUBLISHED_LABEL="Date Published"
PLG_SCHEMAORG_BOOK_FIELD_E_BOOK_LABEL="E Book"
PLG_SCHEMAORG_BOOK_FIELD_EMAIL_LABEL="Email"
PLG_SCHEMAORG_BOOK_FIELD_GENERIC_FIELD_LABEL="Generic Field"
PLG_SCHEMAORG_BOOK_FIELD_GENERIC_TITLE_LABEL="Title"
PLG_SCHEMAORG_BOOK_FIELD_GENERIC_VALUE_LABEL="Value"
PLG_SCHEMAORG_BOOK_FIELD_GRAPHIC_NOVEL="Graphic Novel"
PLG_SCHEMAORG_BOOK_FIELD_HARDCOVER_LABEL="Hardcover"
PLG_SCHEMAORG_BOOK_FIELD_ILLUSTRATOR_LABEL="Illustrator"
PLG_SCHEMAORG_BOOK_FIELD_ISBN_LABEL="ISBN"
PLG_SCHEMAORG_BOOK_FIELD_LOCALITY_LABEL="Locality"
PLG_SCHEMAORG_BOOK_FIELD_NAME_LABEL="Name"
PLG_SCHEMAORG_BOOK_FIELD_NAME_LABEL="Title"
PLG_SCHEMAORG_BOOK_FIELD_NUMBER_OF_PAGES_LABEL="Number of pages"
PLG_SCHEMAORG_BOOK_FIELD_PAPERBACK_LABEL="Paperback"
PLG_SCHEMAORG_BOOK_FIELD_POSTAL_CODE_LABEL="Postal Code"
PLG_SCHEMAORG_BOOK_FIELD_STREET_ADDRESS_LABEL="Street Address"
PLG_SCHEMAORG_BOOK_FIELD_URL_LABEL="Url"
PLG_SCHEMAORG_BOOK_XML_DESCRIPTION="Adds Book as a new schema type in existing schemas"
PLG_SCHEMAORG_BOOK="Schema.org Book Plugin"
2 changes: 2 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_book.sys.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLG_SCHEMAORG_BOOK="Schema.org Book Plugin"
PLG_SCHEMAORG_BOOK_XML_DESCRIPTION="Adds Book as a new schema type in existing schemas"
23 changes: 23 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_event.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
PLG_SCHEMAORG_EVENT_DESCRIPTION_LABEL="A Schema.org Type <a href=\"https://schema.org/Event\" target=\"_blank\">More information</a>"
PLG_SCHEMAORG_EVENT_FIELD_ADDRESS_LABEL="Address"
PLG_SCHEMAORG_EVENT_FIELD_AGGREGATE_RATING_LABEL="Aggregate Rating"
PLG_SCHEMAORG_EVENT_FIELD_DESCRIPTION_LABEL="Description"
PLG_SCHEMAORG_EVENT_FIELD_EMAIL_LABEL="Email"
PLG_SCHEMAORG_EVENT_FIELD_GENERIC_FIELD_LABEL="Generic Field"
PLG_SCHEMAORG_EVENT_FIELD_GENERIC_TITLE_LABEL="Title"
PLG_SCHEMAORG_EVENT_FIELD_GENERIC_VALUE_LABEL="Value"
PLG_SCHEMAORG_EVENT_FIELD_IMAGE_LABEL="Image"
PLG_SCHEMAORG_EVENT_FIELD_LOCALITY_LABEL="Locality"
PLG_SCHEMAORG_EVENT_FIELD_LOCATION_LABEL="Location"
PLG_SCHEMAORG_EVENT_FIELD_NAME_LABEL="Name"
PLG_SCHEMAORG_EVENT_FIELD_ORGANIZATION_LABEL="Organization"
PLG_SCHEMAORG_EVENT_FIELD_ORGANIZER_LABEL="Organizer"
PLG_SCHEMAORG_EVENT_FIELD_PERSON_LABEL="Person"
PLG_SCHEMAORG_EVENT_FIELD_POSTAL_CODE_LABEL="Postal Code"
PLG_SCHEMAORG_EVENT_FIELD_RATING_VALUE_LABEL="Rating Value"
PLG_SCHEMAORG_EVENT_FIELD_REVIEW_COUNT_LABEL="Review Count"
PLG_SCHEMAORG_EVENT_FIELD_START_DATE_LABEL="Start Date"
PLG_SCHEMAORG_EVENT_FIELD_STREET_ADDRESS_LABEL="Street Address"
PLG_SCHEMAORG_EVENT_FIELD_URL_LABEL="Url"
PLG_SCHEMAORG_EVENT_XML_DESCRIPTION="Adds Event as a new schema type in existing schemas"
PLG_SCHEMAORG_EVENT="Schema.org Event Plugin"
2 changes: 2 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_event.sys.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLG_SCHEMAORG_EVENT="Schema.org Event Plugin"
PLG_SCHEMAORG_EVENT_XML_DESCRIPTION="Adds Event as a new schema type in existing schemas"
14 changes: 14 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_organization.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
PLG_SCHEMAORG_ORGANIZATION_DESCRIPTION_LABEL="A Schema.org Type <a href=\"https://schema.org/Organization\" target=\"_blank\">More information</a>"
PLG_SCHEMAORG_ORGANIZATION_FIELD_ADDRESS_LABEL="Address"
PLG_SCHEMAORG_ORGANIZATION_FIELD_EMAIL_LABEL="Email"
PLG_SCHEMAORG_ORGANIZATION_FIELD_GENERIC_FIELD_LABEL="Generic Field"
PLG_SCHEMAORG_ORGANIZATION_FIELD_GENERIC_TITLE_LABEL="Title"
PLG_SCHEMAORG_ORGANIZATION_FIELD_GENERIC_VALUE_LABEL="Value"
PLG_SCHEMAORG_ORGANIZATION_FIELD_LOCALITY_LABEL="Locality"
PLG_SCHEMAORG_ORGANIZATION_FIELD_LOGO_LABEL="Logo"
PLG_SCHEMAORG_ORGANIZATION_FIELD_NAME_LABEL="Name"
PLG_SCHEMAORG_ORGANIZATION_FIELD_POSTAL_CODE_LABEL="Postal Code"
PLG_SCHEMAORG_ORGANIZATION_FIELD_STREET_ADDRESS_LABEL="Street Address"
PLG_SCHEMAORG_ORGANIZATION_FIELD_URL_LABEL="URL"
PLG_SCHEMAORG_ORGANIZATION_XML_DESCRIPTION="Adds Organization as a new schema type in existing schemas"
PLG_SCHEMAORG_ORGANIZATION="Schema.org Organization Plugin"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLG_SCHEMAORG_ORGANIZATION="Schema.org Organization Plugin"
PLG_SCHEMAORG_ORGANIZATION_XML_DESCRIPTION="Adds Organization as a new schema type in existing schemas"
13 changes: 13 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_person.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
PLG_SCHEMAORG_PERSON_DESCRIPTION_LABEL="A Schema.org Type <a href=\"https://schema.org/Person\" target=\"_blank\">More information</a>"
PLG_SCHEMAORG_PERSON_FIELD_ADDRESS_LABEL="Address"
PLG_SCHEMAORG_PERSON_FIELD_EMAIL_LABEL="Email"
PLG_SCHEMAORG_PERSON_FIELD_GENERIC_FIELD_LABEL="Generic Field"
PLG_SCHEMAORG_PERSON_FIELD_GENERIC_TITLE_LABEL="Title"
PLG_SCHEMAORG_PERSON_FIELD_GENERIC_VALUE_LABEL="Value"
PLG_SCHEMAORG_PERSON_FIELD_LOCALITY_LABEL="Locality"
PLG_SCHEMAORG_PERSON_FIELD_NAME_LABEL="Name"
PLG_SCHEMAORG_PERSON_FIELD_POSTAL_CODE_LABEL="Postal Code"
PLG_SCHEMAORG_PERSON_FIELD_STREET_ADDRESS_LABEL="Street Address"
PLG_SCHEMAORG_PERSON_FIELD_URL_LABEL="URL"
PLG_SCHEMAORG_PERSON_XML_DESCRIPTION="Adds Person as a new schema type in existing schemas"
PLG_SCHEMAORG_PERSON="Schema.org Person Plugin"
2 changes: 2 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_person.sys.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLG_SCHEMAORG_PERSON_XML_DESCRIPTION="Adds Person as a new schema type in existing schemas"
PLG_SCHEMAORG_PERSON="Schema.org Person Plugin"
33 changes: 33 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_recipe.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
PLG_SCHEMAORG_RECIPE_FIELD_AUTHOR_LABEL="Author"
PLG_SCHEMAORG_RECIPE_FIELD_CALORIES_LABEL="Calories"
PLG_SCHEMAORG_RECIPE_FIELD_CARBOHYDRATE_LABEL="Carbohydrate"
PLG_SCHEMAORG_RECIPE_FIELD_CATEGORY_LABEL="Category"
PLG_SCHEMAORG_RECIPE_FIELD_CHOLESTROL_CONTENT_LABEL="Cholestrol"
PLG_SCHEMAORG_RECIPE_FIELD_COOK_TIME_LABEL="Cook Time"
PLG_SCHEMAORG_RECIPE_FIELD_COOKING_MEHTOD_LABEL="Cooking Method"
PLG_SCHEMAORG_RECIPE_FIELD_CUISINE_LABEL="Cuisine"
PLG_SCHEMAORG_RECIPE_FIELD_DATE_PUBLISHED_LABEL="Date Published"
PLG_SCHEMAORG_RECIPE_FIELD_DESCRIPTION_LABEL="Description"
PLG_SCHEMAORG_RECIPE_FIELD_FAT_LABEL="Fat"
PLG_SCHEMAORG_RECIPE_FIELD_FIBER_LABEL="Fiber"
PLG_SCHEMAORG_RECIPE_FIELD_GENERIC_FIELD_LABEL="Generic Field"
PLG_SCHEMAORG_RECIPE_FIELD_GENERIC_TITLE_LABEL="Title"
PLG_SCHEMAORG_RECIPE_FIELD_GENERIC_VALUE_LABEL="Value"
PLG_SCHEMAORG_RECIPE_FIELD_HOUR_LABEL="Hours"
PLG_SCHEMAORG_RECIPE_FIELD_IMAGE_LABEL="Image"
PLG_SCHEMAORG_RECIPE_FIELD_INGREDIENTS_LABEL="Ingredients"
PLG_SCHEMAORG_RECIPE_FIELD_INSTRUCTIONS_LABEL="Instructions"
PLG_SCHEMAORG_RECIPE_FIELD_MINUTE_LABEL="Minutes"
PLG_SCHEMAORG_RECIPE_FIELD_NAME_LABEL="Title"
PLG_SCHEMAORG_RECIPE_FIELD_PREPARATION_TIME_LABEL="Preparation Time"
PLG_SCHEMAORG_RECIPE_FIELD_PROTEIN_LABEL="Protein"
PLG_SCHEMAORG_RECIPE_FIELD_SATURATED_FAT_LABEL="Saturated Fat"
PLG_SCHEMAORG_RECIPE_FIELD_SERVING_SIZE_LABEL="Serving size"
PLG_SCHEMAORG_RECIPE_FIELD_SODIUM_LABEL="Sodium"
PLG_SCHEMAORG_RECIPE_FIELD_SUGAR_LABEL="Sugar"
PLG_SCHEMAORG_RECIPE_FIELD_SUITABLE_FOR_DIET_LABEL="Suitable for Diet"
PLG_SCHEMAORG_RECIPE_FIELD_TRANS_FAT_LABEL="Trans Fat"
PLG_SCHEMAORG_RECIPE_FIELD_UNSATURATED_FAT_LABEL="Unsaturated Fat"
PLG_SCHEMAORG_RECIPE_FIELD_YIELD_LABEL="Yield"
PLG_SCHEMAORG_RECIPE_XML_DESCRIPTION="Adds Recipe as a new schema type in existing schemas"
PLG_SCHEMAORG_RECIPE="Schema.org Recipe Plugin"
2 changes: 2 additions & 0 deletions administrator/language/en-GB/plg_schemaorg_recipe.sys.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLG_SCHEMAORG_RECIPE="Schema.org Recipe Plugin"
PLG_SCHEMAORG_RECIPE_XML_DESCRIPTION="Adds Recipe as a new schema type in existing schemas"
6 changes: 6 additions & 0 deletions administrator/language/en-GB/plg_system_schema.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
PLG_SYSTEM_SCHEMA="Schema.org System Plugin"
PLG_SYSTEM_SCHEMA_FIELD_NONE_LABEL="None"
PLG_SYSTEM_SCHEMA_FIELD_PREVIEW_LABEL="Preview"
PLG_SYSTEM_SCHEMA_FIELD_SCHEMA_LABEL="Schema"
PLG_SYSTEM_SCHEMA_FIELD_SCHEMA_TYPE_LABEL="Schema Type"
PLG_SYSTEM_SCHEMA_XML_DESCRIPTION="Adds custom form field in article view and then injects that data in JSON+LD format in head tag of that particular article."
2 changes: 2 additions & 0 deletions administrator/language/en-GB/plg_system_schema.sys.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PLG_SYSTEM_SCHEMA="Schema.org System Plugin"
PLG_SYSTEM_SCHEMA_XML_DESCRIPTION="Adds custom form field in article view and then injects that data in JSON+LD format in head tag of that particular article."
7 changes: 7 additions & 0 deletions api/language/en-GB/joomla.ini
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,13 @@ JWARNING_REMOVE_ROOT_USER_ADMIN="The emergency Root User setting is enabled for
JWARNING_TRASH_MUST_SELECT="You must select at least one item to remove."
JWARNING_UNPUBLISH_MUST_SELECT="You must select at least one item to unpublish."

; Schemaorg
JSCHEMAORG_EXTENSION_ALLOWED_DESCRIPTION="Activate this plugin only for listed extensions. If used all other extensions are disabled."
JSCHEMAORG_EXTENSION_ALLOWED_LABEL="Allowed Extension"
JSCHEMAORG_EXTENSION_FORBIDDEN_DESCRIPTION="Disable this plugin for listed extensions."
JSCHEMAORG_EXTENSION_FORBIDDEN_LABEL="Forbidden Extensions"
JSCHEMAORG_FIELD_COMPONENT_SECTIONS_TEXT="%2$s"

; Workflow
JWORKFLOW="Workflow: %s"
JWORKFLOW_ENABLED_LABEL="Enable Workflow"
Expand Down
7 changes: 7 additions & 0 deletions installation/sql/mysql/base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,12 @@ INSERT INTO `#__extensions` (`package_id`, `name`, `type`, `element`, `folder`,
(0, 'plg_quickicon_phpversioncheck', 'plugin', 'phpversioncheck', 'quickicon', 0, 1, 1, 0, 1, '', '', '', 6, 0),
(0, 'plg_sampledata_blog', 'plugin', 'blog', 'sampledata', 0, 1, 1, 0, 1, '', '', '', 1, 0),
(0, 'plg_sampledata_multilang', 'plugin', 'multilang', 'sampledata', 0, 1, 1, 0, 1, '', '', '', 2, 0),
(0, 'plg_schemaorg_blogposting', 'plugin', 'blogposting', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_event', 'plugin', 'event', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_book', 'plugin', 'book', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_system_accessibility', 'plugin', 'accessibility', 'system', 0, 0, 1, 0, 1, '', '{}', '', 1, 0),
(0, 'plg_system_actionlogs', 'plugin', 'actionlogs', 'system', 0, 1, 1, 0, 1, '', '{}', '', 2, 0),
(0, 'plg_system_cache', 'plugin', 'cache', 'system', 0, 0, 1, 0, 1, '', '{"browsercache":"0","cachetime":"15"}', '', 3, 0),
Expand All @@ -339,6 +345,7 @@ INSERT INTO `#__extensions` (`package_id`, `name`, `type`, `element`, `folder`,
(0, 'plg_system_redirect', 'plugin', 'redirect', 'system', 0, 0, 1, 0, 1, '', '', '', 15, 0),
(0, 'plg_system_remember', 'plugin', 'remember', 'system', 0, 1, 1, 0, 1, '', '', '', 16, 0),
(0, 'plg_system_schedulerunner', 'plugin', 'schedulerunner', 'system', 0, 1, 1, 0, 1, '', '{}', '', 17, 0),
(0, 'plg_system_schema', 'plugin', 'schema', 'system', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_system_sef', 'plugin', 'sef', 'system', 0, 1, 1, 0, 1, '', '', '', 18, 0),
(0, 'plg_system_sessiongc', 'plugin', 'sessiongc', 'system', 0, 1, 1, 0, 1, '', '', '', 19, 0),
(0, 'plg_system_shortcut', 'plugin', 'shortcut', 'system', 0, 1, 1, 0, 1, '', '{}', '', 0, 0),
Expand Down
16 changes: 16 additions & 0 deletions installation/sql/mysql/extensions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -926,3 +926,19 @@ CREATE TABLE IF NOT EXISTS `#__scheduler_tasks` (
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 DEFAULT COLLATE = utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `#__schemaorg`
--

CREATE TABLE IF NOT EXISTS `#__schemaorg` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`itemId` int,
`context` varchar(100),
`schemaType` varchar(100),
`schemaForm` text,
`schema` text,
PRIMARY KEY (`id`)
) ENGINE=INNODB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;

-- --------------------------------------------------------
7 changes: 7 additions & 0 deletions installation/sql/postgresql/base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,12 @@ INSERT INTO "#__extensions" ("package_id", "name", "type", "element", "folder",
(0, 'plg_quickicon_phpversioncheck', 'plugin', 'phpversioncheck', 'quickicon', 0, 1, 1, 0, 1, '', '', '', 6, 0),
(0, 'plg_sampledata_blog', 'plugin', 'blog', 'sampledata', 0, 1, 1, 0, 1, '', '', '', 1, 0),
(0, 'plg_sampledata_multilang', 'plugin', 'multilang', 'sampledata', 0, 1, 1, 0, 1, '', '', '', 2, 0),
(0, 'plg_schemaorg_blogposting', 'plugin', 'blogposting', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_event', 'plugin', 'event', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_book', 'plugin', 'book', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_person', 'plugin', 'person', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_organization', 'plugin', 'organization', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_schemaorg_recipe', 'plugin', 'recipe', 'schemaorg', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_system_accessibility', 'plugin', 'accessibility', 'system', 0, 0, 1, 0, 1, '', '{}', '', 1, 0),
(0, 'plg_system_actionlogs', 'plugin', 'actionlogs', 'system', 0, 1, 1, 0, 1, '', '{}', '', 2, 0),
(0, 'plg_system_cache', 'plugin', 'cache', 'system', 0, 0, 1, 0, 1, '', '{"browsercache":"0","cachetime":"15"}', '', 3, 0),
Expand All @@ -345,6 +351,7 @@ INSERT INTO "#__extensions" ("package_id", "name", "type", "element", "folder",
(0, 'plg_system_redirect', 'plugin', 'redirect', 'system', 0, 0, 1, 0, 1, '', '', '', 15, 0),
(0, 'plg_system_remember', 'plugin', 'remember', 'system', 0, 1, 1, 0, 1, '', '', '', 16, 0),
(0, 'plg_system_schedulerunner', 'plugin', 'schedulerunner', 'system', 0, 1, 1, 0, 1, '', '{}', '', 17, 0),
(0, 'plg_system_schema', 'plugin', 'schema', 'system', 0, 1, 1, 0, 0, '', '{}', '', 0, 0),
(0, 'plg_system_sef', 'plugin', 'sef', 'system', 0, 1, 1, 0, 1, '', '', '', 18, 0),
(0, 'plg_system_sessiongc', 'plugin', 'sessiongc', 'system', 0, 1, 1, 0, 1, '', '', '', 19, 0),
(0, 'plg_system_shortcut', 'plugin', 'shortcut', 'system', 0, 1, 1, 0, 1, '', '{}', '', 0, 0),
Expand Down
Loading