Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

PROBLEM: can't show preview instant article #141

Open
lokersumatera opened this issue Nov 4, 2020 · 1 comment
Open

PROBLEM: can't show preview instant article #141

lokersumatera opened this issue Nov 4, 2020 · 1 comment
Labels
needs investigation Issues that are potential bugs

Comments

@lokersumatera
Copy link

Steps required to reproduce the problem

Expected Result

Actual Result

Environment Info

VERSION: 0.2.2
URL: https://engineering.fb.com/2017/09/26/web/react-16-a-look-inside-an-api-compatible-rewrite-of-our-frontend-ui-library/
RULES:

{
  "generator_name": "facebook-instant-articles-builder",
  "generator_version": "0.2.2",
  "rules": [
    {
      "class": "TextNodeRule"
    },
    {
      "class": "GlobalRule",
      "selector": "html",
      "properties": {
        "article.title": {
          "attribute": "content",
          "selector": ".entry-title div",
          "type": "element"
        },
        "article.publish": {
          "attribute": "datetime",
          "format": "Y-m-d\\TH:i:sP",
          "selector": ".entry-meta .entry-date",
          "type": "date"
        },
        "author.name": {
          "selector": ".entry-authors-social .author",
          "type": "string"
        },
        "image.url": {
          "attribute": "srcset",
          "selector": "#post-feat-image-container .wp-post-image",
          "type": "string"
        },
        "article.body": {
          "attribute": "content",
          "selector": ".entry-content",
          "type": "element"
        },
        "article.canonical": {
          "attribute": "href",
          "selector": "link[rel=canonical]",
          "type": "string"
        }
      }
    }
  ]
}
@pestevez pestevez added the needs investigation Issues that are potential bugs label Feb 10, 2021
@pestevez
Copy link
Contributor

Thanks for reporting @lokersumatera. We'll take a look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs investigation Issues that are potential bugs
Projects
None yet
Development

No branches or pull requests

2 participants