Skip to content
dugite-code edited this page Apr 16, 2018 · 2 revisions

No element is fetched. I'm looking for an image.

If your configuration looks like that:

"type": "xpath",
"xpath": "p[@class ='e']//img"

Change it to

"type": "xpath",
"xpath": "p[@class ='e']//img/.."

Why does it work? Feediron takes the innerhtml. There is no html within the image tag. by /.. You go up one element.

Images not showing correctly

This can be caused by a number of issues.

  1. Images are loaded with javascript

Visit the site in you browser with javascript disabled. If the images fail to show it means they are loaded via script. Unfortunately at this time there is nothing Feediron can do to fix this issue.

  1. Images contain the srcset attribute

srcset can break images in your rrs feed, sometimes simply replacing srcset with null can fix your issue.

    "modify": [
        {
            "type": "replace",
            "search": [
                "srcset"
            ],
            "replace": [
                "null"
            ]
        }
    ]
Clone this wiki locally