• Resolved ChrisCree

    (@chriscree)


    I’ve got instant articles configured for the Development mode at my Facebook page and it looks like all the content inside any <blockquote> tags in the post content is being stripped out of my instant-articles feed. I still see the opening and closing blockquote tags. But the <p> tags that WordPress adds in and all the the text inside the blockquote is missing.

    https://wordpress.org/plugins/fb-instant-articles/

Viewing 9 replies - 1 through 9 (of 9 total)
  • pr0fess0r

    (@pr0fess0r)

    Also seeing this issue – we have a blockquote with no HTML inside (in the editor). The source view shows that WordPress is adding <p> tags inside the blockquote. The message from Instant Articles is “No rules defined for <p> in the context of Blockquote”

    Plugin Author diegoquinteiro

    (@diegoquinteiro)

    Thanks for reporting. I’ll be fixing it and will release a new version.

    Meanwhile, you can go in the Custom Rules JSON and paste this JSON:

    { "rules" : [{ "class" : "PassThroughRule", "selector" : "blockquote p" }] }

    Let me know if that works!

    pr0fess0r

    (@pr0fess0r)

    Do you mean PassThroughRule?
    What’s the difference? Does PassThroughRule pass through the content and IgnoreRule hide it? is there a definition list of these rules anywhere, I cant find on the php sdk page 🙂

    Plugin Author diegoquinteiro

    (@diegoquinteiro)

    Thanks pr0fess0r! That’s exactly what it is.

    We didn’t documented all the Rules yet, but will definitely do =)

    Meanwhile you can look at the complete example and tests. If you have any questions, just ask!

    pr0fess0r

    (@pr0fess0r)

    Fantastic, thanks for all the quick responses!

    Plugin Author diegoquinteiro

    (@diegoquinteiro)

    Did it work for you? (adding the custom rules?)

    Thread Starter ChrisCree

    (@chriscree)

    Yes. Thanks from me too for the rapid response. I can confirm that added my text back to the <blockquote> tags in the feed. Looks like it will take a bit for that to actually show inside Facebook.

    But that doesn’t surprise me. Facebook seems to cache stuff for 7 forevers.

    pr0fess0r

    (@pr0fess0r)

    It worked for me 🙂

    Plugin Author diegoquinteiro

    (@diegoquinteiro)

    Hi @chriscree,

    Thanks for the feedback. You can connect to your Facebook Page on the Instant Articles settings on WordPress to have your Instant Articles pushed whenever you update them. We actually encourage you to do so and drop the RSS integration to have a more smooth experience.

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Content being stripped out between tags’ is closed to new replies.