instant-articles-builder icon indicating copy to clipboard operation
instant-articles-builder copied to clipboard

Issue with preview

Open josephlugo opened this issue 4 years ago • 2 comments

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 avatar Jan 19 '21 22:01 josephlugo

error_details

josephlugo avatar Jan 20 '21 19:01 josephlugo

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.

pestevez avatar Feb 10 '21 16:02 pestevez