Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think it will be more valid, when twitter cards use name instead of property attribute in meta tag.
Works:
<meta property="twitter:card" content="summary">
<meta property="twitter:title" content="My twitter card title">
Valid:
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="My twitter card title">
Comment | File | Size | Author |
---|---|---|---|
#16 | metatag-n2746031-16.patch | 26.71 KB | DamienMcKenna |
| |||
#16 | metatag-n2746031-16.interdiff.txt | 586 bytes | DamienMcKenna |
Comments
Comment #2
jalpesh CreditAttribution: jalpesh as a volunteer and at Cybage Software Pvt Ltd. commentedI agree with you because of this twitter guide https://dev.twitter.com/cards/getting-started. A module maintainer would be the best person to comment on this issue. I have attach a patch which will replace property to name.
Comment #3
cilefen CreditAttribution: cilefen commentedThe article reads:
-- https://dev.twitter.com/cards/getting-started
Is this issue necessary?
Comment #4
cilefen CreditAttribution: cilefen commentedIt needed a reroll and it works in terms of changing the meta tag "property" to "name". We need this tested on the Twitter cards verifier.
Comment #5
cilefen CreditAttribution: cilefen commentedComment #6
DamienMcKennaAdding new tests.
Comment #8
cilefen CreditAttribution: cilefen commentedComment #9
DamienMcKennaJust added back the 'node' dependency, for now.
Comment #10
DamienMcKennaNeed to add more tests to confirm the output is correct.
Comment #11
DamienMcKennaImproving the tests.
Comment #12
cilefen CreditAttribution: cilefen commentedThe tests were made redundant by #2745177: Write tests to ensure all submodules can be enabled & all meta tags are usable.
Comment #13
susannecoates CreditAttribution: susannecoates as a volunteer commentedReviewing patch at Drupal GovCon 2016
Comment #14
susannecoates CreditAttribution: susannecoates as a volunteer commentedManual testing seems to indicate that this patch is working. Recommend writing a test for a more thorough/complete evaluation of patch.
Comment #15
DamienMcKennaNow that #2745177 is in, this needs to be finished off with some tests to ensure the tags work correctly.
Comment #16
DamienMcKennaNow that we have #2780025: Write tests for confirming all meta tags output correctly committed, this becomes easier to do. This updates the tests.
Comment #18
DamienMcKennaCommitted. Thanks all!