Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, ungeruehrt. Thanks for the feedback.

    The problem is most likely related to markup in your post (generated by the Custom Field) which isn’t recognized by the plugin. Context:

    Our plugin makes use of the Facebook Instant Articles SDK for PHP which contains a Transformer that does all the heavy lifting of converting general markup into valid Instant Articles markup. The way that it knows how to transform source elements into the valid Instant Articles markup is by a set of rules which defines the mapping of how to parse the content of the post/page.

    Our plugin contains Rules which have been pre-defined to satisfy the most common WordPress source markup. Your content may contain elements which are not covered by the packaged ruleset.

    Fortunately, you can override and/or define your own rules in the Settings page of the plugin under: Plugin Configuration > Publishing Settings > Custom transformer rules.

    For more information please see the Selector Rules section of our Quick Start guide.

    With this, if you are able to generate your own custom rule, go for it! If not, could you provide some more information, such as:

    – What’s the debug output shown in the post edit screen on the Facebook Instant Article box (after clicking the “toggle debug information” link)?

    Along with:

    – What version of the plugin are you using?
    – What version of WordPress are you using?
    – What version of PHP are you using (if known)?

    Thanks again!

    Thread Starter ungeruehrt

    (@ungeruehrt)

    Hi,

    I’ve been trying but didn’t solve the problem (in fact, I didn’t got the selector rules).
    Could you help me with an example?

    Our articles are found at https://www.bap.cc/arbeiten

    We are using the latest versions of Plugin, WordPress and PHP.

    Kind regards

    Thread Starter ungeruehrt

    (@ungeruehrt)

    Hi,

    could you add some examples? Would be great!

    Thanks!

    Hi @ungeruehrt.

    Understanding how Transformer Rules work and how to configure them is complex, which is why I’m happy to say that in the last week we’ve extended our documentation with a section dedicated to giving clarity on the matter with supporting examples.

    First and foremost, the main description of this plugin contains a high-level overview of the concept behind Transformer Rules. Additionally, supporting information has been added as FAQs and screenshots.

    To go deeper, our main documentation contains examples and reference material for configuring your own Transformer Rules. We hope this would reduce any confusion and the time it takes to get your configuration done.

    If possible, have a look at the existing documentation. Any feedback you have would be very helpful in making improvements. Additionally, If you come up with a solution, please ping me back on this thread to let me know.

    I’ll mark this issue as “Resolved” for now since there should be sufficient resources to get you started in defining the rules needed to make the transformation of your article into an Instant Article successful.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add Custom fields to Instant Article’ is closed to new replies.