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 have a podcast site with a Media field. I can put multiple audio files on one field, and I have used a token [node:field_audio] to put this field's value in to the opengraph og:audio tag.
When Facebook picks it up it does not parse a comma-separated list of files, and chokes.
Can I force the og:audio tag to just have one URL in it?
I have tried a module called field_multiple_limit to try and limit the output from the display side of the node, but that did not change anything, so I think that metatags must be doing something else here, or maybe their module doesn't work with tokens.
Comment | File | Size | Author |
---|---|---|---|
#6 | metatag-n2411607-6.patch | 704 bytes | liberatr |
#5 | metatag-n2411607-5.patch | 677 bytes | DamienMcKenna |
Comments
Comment #1
liberatrCross-posted: #2411611: Field Multiple Limit + Token support?
Comment #2
liberatrComment #3
liberatrClosing. I tried the -dev version of field_multiple_limit and it works now.
Comment #4
DamienMcKennaLets make this a documentation task to add that module to the README.txt. Thanks Ryan!
Comment #5
DamienMcKennaHow's this?
Comment #6
liberatrMy lizard brain would love it if you mentioned audio and video.
I hope this patch applies, I just edited the text file.
Comment #7
DamienMcKennaCool. Thanks Ryan!