From 11e3e2817cd953cf32d05b12f4a90030f71e4128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20G=C3=B6tzinger?= Date: Wed, 22 Feb 2017 07:20:05 +0100 Subject: [PATCH] =?UTF-8?q?Version=203.5.3=20Microdata=20auf=20schema.org?= =?UTF-8?q?=20umgestellt=20ID=20f=C3=BCr=20News-Rating=20wird=20nicht=20me?= =?UTF-8?q?hr=20=C3=BCberschrieben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/RateItNews.php | 2 +- .../article_rateit_default_microdata.html5 | 70 ++++++++-------- .../article_rateit_default_microdata.xhtml | 70 ++++++++-------- ...icle_rateit_default_microdata_teaser.html5 | 82 ++++++++++--------- ...icle_rateit_default_microdata_teaser.xhtml | 82 ++++++++++--------- templates/news_full_rateit.html5 | 4 +- templates/news_full_rateit.xhtml | 4 +- templates/news_full_rateit_microdata.html5 | 70 ++++++++-------- templates/news_full_rateit_microdata.xhtml | 70 ++++++++-------- templates/news_latest_rateit.html5 | 4 +- templates/news_latest_rateit.xhtml | 4 +- templates/news_latest_rateit_microdata.html5 | 52 ++++++------ templates/news_latest_rateit_microdata.xhtml | 70 ++++++++-------- templates/news_short_rateit.html5 | 4 +- templates/news_short_rateit.xhtml | 4 +- templates/news_short_rateit_microdata.html5 | 70 ++++++++-------- templates/news_short_rateit_microdata.xhtml | 70 ++++++++-------- templates/news_simple_rateit.html5 | 4 +- templates/news_simple_rateit.xhtml | 4 +- templates/news_simple_rateit_microdata.html5 | 70 ++++++++-------- templates/news_simple_rateit_microdata.xhtml | 70 ++++++++-------- templates/rateit_microdata.html5 | 15 ++-- templates/rateit_microdata.xhtml | 33 +++++--- 23 files changed, 480 insertions(+), 448 deletions(-) diff --git a/classes/RateItNews.php b/classes/RateItNews.php index 79412f7..0a616fe 100644 --- a/classes/RateItNews.php +++ b/classes/RateItNews.php @@ -49,7 +49,7 @@ class RateItNews extends RateItFrontend { $objTemplate->descriptionId = 'rateItRating-'.$ratingId.'-description'; $objTemplate->description = $this->getStarMessage($rating); - $objTemplate->id = 'rateItRating-'.$ratingId.'-news-'.$stars.'_'.$this->intStars; + $objTemplate->ratingId = 'rateItRating-'.$ratingId.'-news-'.$stars.'_'.$this->intStars; $objTemplate->rateit_class = 'rateItRating'; $objTemplate->itemreviewed = $rating['title']; $objTemplate->actRating = $this->percentToStars($rating['rating']); diff --git a/templates/article_rateit_default_microdata.html5 b/templates/article_rateit_default_microdata.html5 index 0b8f4cc..3912f06 100644 --- a/templates/article_rateit_default_microdata.html5 +++ b/templates/article_rateit_default_microdata.html5 @@ -1,24 +1,25 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -62,25 +63,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/article_rateit_default_microdata.xhtml b/templates/article_rateit_default_microdata.xhtml index 533e53a..ae6ab60 100644 --- a/templates/article_rateit_default_microdata.xhtml +++ b/templates/article_rateit_default_microdata.xhtml @@ -1,25 +1,26 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -63,25 +64,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/mod_article_rateit_default_microdata_teaser.html5 b/templates/mod_article_rateit_default_microdata_teaser.html5 index b7abe2b..6407c3a 100644 --- a/templates/mod_article_rateit_default_microdata_teaser.html5 +++ b/templates/mod_article_rateit_default_microdata_teaser.html5 @@ -2,26 +2,27 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
-
-
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> -
+
+
+ showBefore) : ?> +
description; ?>
+ +
+
+
+
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> + +
@@ -38,26 +39,27 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
-
-
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> -
+
+
+ showBefore) : ?> +
description; ?>
+ +
+
+
+
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> + +
diff --git a/templates/mod_article_rateit_default_microdata_teaser.xhtml b/templates/mod_article_rateit_default_microdata_teaser.xhtml index c1d39ea..aaf0527 100644 --- a/templates/mod_article_rateit_default_microdata_teaser.xhtml +++ b/templates/mod_article_rateit_default_microdata_teaser.xhtml @@ -2,26 +2,27 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
-
-
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> -
+
+
+ showBefore) : ?> +
description; ?>
+ +
+
+
+
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> + +
@@ -38,26 +39,27 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
-
-
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> -
+
+
+ showBefore) : ?> +
description; ?>
+ +
+
+
+
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> + +
diff --git a/templates/news_full_rateit.html5 b/templates/news_full_rateit.html5 index ada479b..15683aa 100644 --- a/templates/news_full_rateit.html5 +++ b/templates/news_full_rateit.html5 @@ -1,7 +1,7 @@ rateit_rating_before): ?> -
+
showBefore) : ?>
description; ?>
@@ -66,7 +66,7 @@
rateit_rating_after): ?> -
+
showBefore) : ?>
description; ?>
diff --git a/templates/news_full_rateit.xhtml b/templates/news_full_rateit.xhtml index 4cb36c4..e644174 100644 --- a/templates/news_full_rateit.xhtml +++ b/templates/news_full_rateit.xhtml @@ -1,7 +1,7 @@ rateit_rating_before): ?> -
+
showBefore) : ?>
description; ?>
@@ -67,7 +67,7 @@ rateit_rating_after): ?>
-
+
showBefore) : ?>
description; ?>
diff --git a/templates/news_full_rateit_microdata.html5 b/templates/news_full_rateit_microdata.html5 index 36f3f20..fe0fbe9 100644 --- a/templates/news_full_rateit_microdata.html5 +++ b/templates/news_full_rateit_microdata.html5 @@ -1,25 +1,26 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -75,25 +76,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/news_full_rateit_microdata.xhtml b/templates/news_full_rateit_microdata.xhtml index f35d2e2..9a16cb0 100644 --- a/templates/news_full_rateit_microdata.xhtml +++ b/templates/news_full_rateit_microdata.xhtml @@ -1,25 +1,26 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -75,25 +76,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/news_latest_rateit.html5 b/templates/news_latest_rateit.html5 index d7d64e6..e92dbc6 100644 --- a/templates/news_latest_rateit.html5 +++ b/templates/news_latest_rateit.html5 @@ -1,7 +1,7 @@ rateit_rating_before): ?> -
+
showBefore) : ?>
description; ?>
@@ -46,7 +46,7 @@ rateit_rating_after): ?>
-
+
showBefore) : ?>
description; ?>
diff --git a/templates/news_latest_rateit.xhtml b/templates/news_latest_rateit.xhtml index 80ace42..43c5411 100644 --- a/templates/news_latest_rateit.xhtml +++ b/templates/news_latest_rateit.xhtml @@ -1,7 +1,7 @@ rateit_rating_before): ?> -
+
showBefore) : ?>
description; ?>
@@ -46,7 +46,7 @@ rateit_rating_after): ?>
-
+
showBefore) : ?>
description; ?>
diff --git a/templates/news_latest_rateit_microdata.html5 b/templates/news_latest_rateit_microdata.html5 index 876c8c7..c315685 100644 --- a/templates/news_latest_rateit_microdata.html5 +++ b/templates/news_latest_rateit_microdata.html5 @@ -1,8 +1,8 @@ rateit_rating_before): ?> -
-
+
+
showBefore) : ?>
description; ?>
@@ -14,12 +14,13 @@
description; ?>
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> + itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -53,25 +54,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/news_latest_rateit_microdata.xhtml b/templates/news_latest_rateit_microdata.xhtml index 297270a..b4b0f32 100644 --- a/templates/news_latest_rateit_microdata.xhtml +++ b/templates/news_latest_rateit_microdata.xhtml @@ -1,25 +1,26 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -53,25 +54,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/news_short_rateit.html5 b/templates/news_short_rateit.html5 index 600bb21..b8bd4e4 100644 --- a/templates/news_short_rateit.html5 +++ b/templates/news_short_rateit.html5 @@ -1,7 +1,7 @@ rateit_rating_before): ?> -
+
showBefore) : ?>
description; ?>
@@ -32,7 +32,7 @@ rateit_rating_after): ?>
-
+
showBefore) : ?>
description; ?>
diff --git a/templates/news_short_rateit.xhtml b/templates/news_short_rateit.xhtml index 086a743..eb163c7 100644 --- a/templates/news_short_rateit.xhtml +++ b/templates/news_short_rateit.xhtml @@ -1,7 +1,7 @@ rateit_rating_before): ?> -
+
showBefore) : ?>
description; ?>
@@ -32,7 +32,7 @@ rateit_rating_after): ?>
-
+
showBefore) : ?>
description; ?>
diff --git a/templates/news_short_rateit_microdata.html5 b/templates/news_short_rateit_microdata.html5 index 2f875f5..d1371ab 100644 --- a/templates/news_short_rateit_microdata.html5 +++ b/templates/news_short_rateit_microdata.html5 @@ -1,25 +1,26 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -39,25 +40,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/news_short_rateit_microdata.xhtml b/templates/news_short_rateit_microdata.xhtml index 9a3fab6..7cfd8ea 100644 --- a/templates/news_short_rateit_microdata.xhtml +++ b/templates/news_short_rateit_microdata.xhtml @@ -1,25 +1,26 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -39,25 +40,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/news_simple_rateit.html5 b/templates/news_simple_rateit.html5 index 222b8b5..52169cd 100644 --- a/templates/news_simple_rateit.html5 +++ b/templates/news_simple_rateit.html5 @@ -1,7 +1,7 @@ rateit_rating_before): ?> -
+
showBefore) : ?>
description; ?>
@@ -22,7 +22,7 @@ rateit_rating_after): ?> -
+
showBefore) : ?>
description; ?>
diff --git a/templates/news_simple_rateit.xhtml b/templates/news_simple_rateit.xhtml index 13ed041..a52fb67 100644 --- a/templates/news_simple_rateit.xhtml +++ b/templates/news_simple_rateit.xhtml @@ -1,7 +1,7 @@ rateit_rating_before): ?> -
+
showBefore) : ?>
description; ?>
@@ -22,7 +22,7 @@ rateit_rating_after): ?> -
+
showBefore) : ?>
description; ?>
diff --git a/templates/news_simple_rateit_microdata.html5 b/templates/news_simple_rateit_microdata.html5 index 3f4cee5..520cf1c 100644 --- a/templates/news_simple_rateit_microdata.html5 +++ b/templates/news_simple_rateit_microdata.html5 @@ -1,25 +1,26 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -30,25 +31,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/news_simple_rateit_microdata.xhtml b/templates/news_simple_rateit_microdata.xhtml index c26b1b2..b91f55d 100644 --- a/templates/news_simple_rateit_microdata.xhtml +++ b/templates/news_simple_rateit_microdata.xhtml @@ -1,25 +1,26 @@ rateit_rating_before): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
@@ -30,25 +31,26 @@ rateit_rating_after): ?> -
-
- showBefore) : ?> -
description; ?>
- -
+
+
+ showBefore) : ?> +
description; ?>
+ +
-
- showAfter) : ?> -
description; ?>
- -
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> +
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
diff --git a/templates/rateit_microdata.html5 b/templates/rateit_microdata.html5 index dc1cf04..c5d41eb 100644 --- a/templates/rateit_microdata.html5 +++ b/templates/rateit_microdata.html5 @@ -1,5 +1,5 @@ -
+
cssID; ?>style): ?> style="style; ?>"> showBefore) : ?>
description; ?>
@@ -12,11 +12,12 @@
description; ?>
- itemreviewed; ?> - - actRating; ?> - maxRating; ?> - - votes; ?> + itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
\ No newline at end of file diff --git a/templates/rateit_microdata.xhtml b/templates/rateit_microdata.xhtml index ae73835..706928c 100644 --- a/templates/rateit_microdata.xhtml +++ b/templates/rateit_microdata.xhtml @@ -1,16 +1,23 @@ -
cssID; ?>style): ?> style="style; ?>"> - showBefore) : ?> -
description; ?>
-
Microdata-Template ist bei XHTML nicht verfügbar. Bitte stellen Sie auf HTML5 um oder wechseln Sie das verwendete Template!
- -
-
-
-
- showAfter) : ?> -
description; ?>
-
Microdata-Template ist bei XHTML nicht verfügbar. Bitte stellen Sie auf HTML5 um oder wechseln Sie das verwendete Template!
- +
+
cssID; ?>style): ?> style="style; ?>"> + showBefore) : ?> +
description; ?>
+ +
+
+
+
+ showAfter) : ?> +
description; ?>
+ +
+ itemreviewed; ?> + + actRating; ?> + 0 + maxRating; ?> + votes; ?> +
\ No newline at end of file