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

Issue with preview #146

Open
josephlugo opened this issue Jan 19, 2021 · 2 comments
Open

Issue with preview #146

josephlugo opened this issue Jan 19, 2021 · 2 comments
Labels
needs investigation Issues that are potential bugs

Comments

@josephlugo
Copy link

Steps required to reproduce the problem

  1. Link all tags
  2. Preview never happens.
  3. Can't see any error message explaining the reason.

Expected Result

  • Preview

Actual Result

  • No Preview

Environment Info

VERSION: 0.2.2
URL: https://www.oninitiative.com/learn/towards-the-art-of-home-improvement-the-garden/
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": ".blog-title",
          "type": "element"
        },
        "author.name": {
          "selector": ".blog-header .blog-date",
          "type": "string"
        },
        "image.url": {
          "attribute": "src",
          "selector": ".lazyautosizes",
          "type": "string"
        },
        "article.body": {
          "attribute": "content",
          "selector": ".blog-post",
          "type": "element"
        },
        "article.canonical": {
          "attribute": "href",
          "selector": "link[rel=canonical]",
          "type": "string"
        }
      }
    },
    {
      "class": "BlockquoteRule",
      "selector": "blockquote"
    },
    {
      "class": "ParagraphRule",
      "selector": "p"
    },
    {
      "class": "H2Rule",
      "selector": "h2"
    },
    {
      "class": "H1Rule",
      "selector": "h1"
    },
    {
      "class": "ListElementRule",
      "selector": "ol, ul"
    },
    {
      "class": "ListItemRule",
      "selector": "li"
    },
    {
      "class": "AnchorRule",
      "selector": "a",
      "properties": {
        "anchor.href": {
          "attribute": "href",
          "selector": "a",
          "type": "string"
        }
      }
    },
    {
      "class": "ItalicRule",
      "selector": "i"
    },
    {
      "class": "EmphasizedRule",
      "selector": "em"
    },
    {
      "class": "BoldRule",
      "selector": "b, strong"
    },
    {
      "class": "ImageRule",
      "selector": "img",
      "properties": {
        "image.url": {
          "attribute": "src",
          "selector": "img",
          "type": "string"
        },
        "image.caption": {
          "attribute": "src",
          "selector": "img",
          "type": "element"
        }
      }
    }
  ]
}
@josephlugo
Copy link
Author

error_details

@pestevez pestevez added the needs investigation Issues that are potential bugs label Feb 10, 2021
@pestevez
Copy link
Contributor

Thanks for reporting @jlugogarcia. I managed to get some preview and source but I do see some requests failing. We'll investigate to see if if it is a bug, and if so how we can fix it.

nataliemt added a commit that referenced this issue Feb 24, 2021
nataliemt added a commit that referenced this issue Feb 24, 2021
nataliemt added a commit that referenced this issue Feb 24, 2021
nataliemt added a commit that referenced this issue Feb 24, 2021
nataliemt added a commit that referenced this issue Feb 24, 2021
nataliemt added a commit that referenced this issue Feb 24, 2021
nataliemt added a commit that referenced this issue Feb 24, 2021
nataliemt added a commit that referenced this issue Feb 24, 2021
nataliemt added a commit that referenced this issue Feb 26, 2021
nataliemt added a commit that referenced this issue Feb 26, 2021
nataliemt added a commit that referenced this issue Feb 26, 2021
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