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

preview issue (HTTP 500) #182

Open
sasdj2418 opened this issue Sep 3, 2021 · 0 comments
Open

preview issue (HTTP 500) #182

sasdj2418 opened this issue Sep 3, 2021 · 0 comments

Comments

@sasdj2418
Copy link

Steps required to reproduce the problem

  1. Link all tags
  2. Can't see any error message explaining the reason.
  3. developer tools can see network http 500 error

Expected Result

  • Preview

Actual Result

  • No preview

Environment Info

Version: 0.2.3
URL: https://www.edh.tw/article/21534 (Every article)
Rules:

{
    "generator_name": "facebook-instant-articles-builder",
    "generator_version": "0.2.3",
    "rules": [
        {
            "class": "TextNodeRule"
        },
        {
            "class": "GlobalRule",
            "selector": "html",
            "properties": {
                "article.title": {
                    "attribute": "content",
                    "selector": ".article-detail .article .title",
                    "type": "element"
                },
                "author.name": {
                    "attribute": "itemprop",
                    "selector": ".article-detail .article .date-author .autor",
                    "type": "string"
                },
                "image.url": {
                    "attribute": "src",
                    "selector": ".article-detail .article_img img",
                    "type": "string"
                },
                "article.body": {
                    "attribute": "itemprop",
                    "selector": "#article_page",
                    "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"
                }
            }
        }
    ]
}

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant