Slowly figuring out the code that FB Instant Articles doesn’t like

22. September 2016 Cool coding 0

So far:

  • images inside links
    – either the image is stripped, leaving behind an empty <a>
    – or the image is converted properly and an empty link is somewhere else on the page
  • Horizontal Rules are bad
  • Classes on images inside of other tags are confusing
  • Nested lists are confusing

Next up… Hope FB approves my sayvil.com feed.

While that is in progress:

Figure out how to set this up for XSL creating an RSS feed for Sharepoint.

IgnoreRule
(any)    This rule class will effectively strip out an element tag which matches the associated selector of the rule.

PassThroughRule
(any)    This rule class instructs the Transformer to not process any transformation on element tags which match the associated selector of the rule.