Skip to content

Commit

Permalink
4.2.3
Browse files Browse the repository at this point in the history
Rich Snippet : itemReviewed itemtype to WebApplication
  • Loading branch information
conseilgouz committed Feb 29, 2024
1 parent bfb0b03 commit 349ea14
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 4 deletions.
Binary file modified packages/plg_extravote_ajax.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/plg_extravote_ajax/extravote.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU General Public License version 3 or later; see LICENSE.txt</license>
<authorEmail>pascal.leconte@conseilgouz.com</authorEmail>
<authorUrl>https://www.conseilgouz.com</authorUrl>
<version>4.2.2</version>
<version>4.2.3</version>
<description>PLG_AJAX_EXTRAVOTE_XML_DESCRIPTION</description>
<scriptfile>extravote.scriptfile.php</scriptfile>
<namespace path="src">ConseilGouz\Plugin\Ajax\Extravote</namespace>
Expand Down
Binary file modified packages/plg_extravote_content.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/plg_extravote_content/extravote.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>pascal.leconte@conseilgouz.com</authorEmail>
<authorUrl>https://www.conseilgouz.com</authorUrl>
<version>4.2.2</version>
<version>4.2.3</version>
<description>PLG_CONTENT_EXTRAVOTE_XML_DESCRIPTION</description>
<namespace path="src">ConseilGouz\Plugin\Content\Extravote</namespace>
<scriptfile>extravote.scriptfile.php</scriptfile>
Expand Down
4 changes: 3 additions & 1 deletion packages/plg_extravote_content/src/Extension/Extravote.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ protected function plgContentExtraVoteStars( $id, $rating_sum, $rating_count, $x
</".$container.">";
if ($add_snippets) {
$html .= "<div class=\"visually-hidden\" itemprop=\"aggregateRating\" itemscope itemtype=\"http://schema.org/AggregateRating\">";
$html .= "<div itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/SoftwareApplication\">";
$html .= "<div itemprop=\"itemReviewed\" itemscope itemtype=\"https://schema.org/WebApplication\">";
$html .= "<span itemprop=\"name\">".$this->article_title."</span>";
$html .= "<span itemprop=\"operatingSystem\">Joomla</span>";
$html .= "<div itemprop=\"offers\" itemscope itemtype=\"https://schema.org/Offer\"><span itemprop=\"price\">0</span></div>";
$html .= "</div>";
$html .= "<meta itemprop=\"ratingCount\" content=\"".$rating_count."\" />";
$html .= "<meta itemprop=\"ratingCount\" content=\"".$rating_count."\" />";
Expand Down
2 changes: 1 addition & 1 deletion pkg_extravote.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<license>GNU General Public License version 3 or later; see LICENSE.txt</license>
<authorEmail>pascal.leconte@conseilgouz.com</authorEmail>
<authorUrl>https://www.conseilgouz.com</authorUrl>
<version>4.2.2</version>
<version>4.2.3</version>
<description>Extravote provides the ajax, 5 star rating feature to your Joomla Content.</description>
<files folder="packages">
<file type="plugin" id="extravote" group="content">plg_extravote_content.zip</file>
Expand Down
11 changes: 11 additions & 0 deletions pkg_extravote_changelog.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<changelogs>
<changelog>
<element>extravote</element>
<type>package</type>
<version>4.2.3</version>
<note>
<item>Update :29/02/2024</item>
</note>
<fix>
<item>Rich Snippet : itemReviewed itemtype to WebApplication</item>
</fix>
</changelog>
<changelog>
<element>extravote</element>
<type>package</type>
Expand Down

0 comments on commit 349ea14

Please sign in to comment.