Implement the Feedback feature by default
-
How can the Feedback Feature be implemented for all images by default? i.e. without manually wrapping all images in
<figure data-feedback="fb:likes,fb:comments">[image]</figure>
(https://developers.facebook.com/docs/instant-articles/reference/feedback)
I’ve explored custom transformer rules unsuccessfully, for example adding:
{ "class": "ImageRule", "selector": "img", "properties": { "image.url": { "type": "string", "selector": "img", "attribute": "src" }, "image.like" : { "type" : "exists", "selector" : "figure.wp-caption", "attribute": "data-feedback" }, "image.comments" : { "type" : "exists", "selector" : "figure.wp-caption", "attribute": "data-feedback" } }...
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Implement the Feedback feature by default’ is closed to new replies.