Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Open Graph
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2015 at 09:13 UTC
Updated:
6 Oct 2015 at 09:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
perignon commentedHere is a patch to change the
og:videotoog:video:urland a hook_update to warn users of the change and the need to manually update tags.Comment #3
damienmckennaSigh. Thanks, Facebook.
This needs an update script to change the existing meta tags in both configs and entity records, see the update scripts in metatag_twitter_cards for an example.
Comment #4
perignon commentedAh! I was looking for an example update hook to do this and the one in the module just says to do it manually. I'll go look at the twitter one.
Comment #5
perignon commentedOk got the changes made. I'm going to run some tests on my site. I have over 2000 nodes for it to churn through.
Comment #6
perignon commentedTested on my local and it seemed to have worked. I used the example in the twitter submodule.
Comment #7
damienmckennaComment #8
damienmckennaA minor adjustment - add the 'replaces' attribute of the meta tag definition.
Comment #9
damienmckennaThe last patch was missing the update script. I've also added a cache clear to the update script.
Comment #10
perignon commentedSo this one has everything in it.
Comment #11
damienmckennaCommitted. Thanks.