Created
June 13, 2016 14:32
-
-
Save jacobarriola/076803c0c99db1d41b81216c0fc0e87c to your computer and use it in GitHub Desktop.
Facebook Instant Articles custom transform rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rules" : | |
[ | |
{ | |
"class": "HeaderSubTitleRule", | |
"selector" : "header .subheadline" | |
}, | |
{ | |
"class": "SocialEmbedRule", | |
"selector" : ".entry-media figure iframe", | |
"properties" : { | |
"socialembed.url" : { | |
"type" : "string", | |
"selector" : "iframe", | |
"attribute": "src" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment