Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Component: Code » Other tags
DamienMcKenna’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
1.03 KB

This adds the values taken from the metatags.org site, but also adds select_or_other integration for those who need to add other values.

DamienMcKenna’s picture

Closed a duplicate: #1621268: Adding RTA label.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed 7ef2800 on 7.x-1.x
    Issue #1498762 by DamienMcKenna: Added the Rating meta tag.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

DamienMcKenna’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Status: Closed (fixed) » Patch (to be ported)

This needs to be ported to D8.

DarkstarTom’s picture

Has this patch been ported yet? I need this functionality. Thanks.

thejimbirch’s picture

Status: Patch (to be ported) » Needs review
FileSize
1.93 KB

Attached is a patch that adds the Rating meta tag. Rather that add it as a select field like the Drupal 7 patch did, I elected to add it as a text field as there are multiple options a content creator may want to use this tag, the SafeSurf/Safe For Kids method that uses the list of items from the Drupal 7 patch, or the RTA method that is a proposal in the WHATWG list.

This way the meta tag will pass W3C validation, and people can use it how they see fit.

References:
https://www.metatags.org/meta_name_rating
https://wiki.whatwg.org/wiki/MetaExtensions
http://www.rtalabel.org/index.php?content=howto
https://www.johnfdoherty.com/meta-descriptions-that-will-not-help-seo/

vipul tulse’s picture

@thejimbirch, Thanks for providing the patch.

vipul tulse’s picture

Assigned: Unassigned » vipul tulse
Status: Needs review » Reviewed & tested by the community

@thejimbirch, Your patch is working fine for me. As per the mentioned changes, I matched it with Pareview and tested in simplytest.me over Extend page. PFA.

vipul tulse’s picture

Assigned: vipul tulse » Unassigned

DamienMcKenna’s picture

Status: Reviewed & tested by the community » Fixed
Parent issue: » #2996500: Plan for Metatag 8.x-1.10

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.