feediron / ttrss_plugin-feediron

Evolution of ttrss_plugin-af_feedmod
https://discourse.tt-rss.org/t/plugin-update-feediron-v1-2-0/2018
MIT License
212 stars 34 forks source link

Unrecognized option: fi_mod_ #160

Closed damionx7 closed 4 years ago

damionx7 commented 4 years ago

Expected Behavior

Feediron should change the feed

Current Behavior

It does nothing and in testing tab, gives the error : Unrecognized option: fi_mod_

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. install feediron
  2. Enable in plugins
  3. In testing tab, test the url https://theprint.in/judiciary/supreme-court-restrains-banks-from-declaring-accounts-as-npas-until-further-notice/495066/
  4. Use this config
    {
    "theprint.in": {
        "type": "xpath",
        "xpath": "div[contains(@class, 'id-article-body')]"
    }
    }

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

{
    "xkcd.com": {
        "type": "xpath",
        "xpath": [
            "div[contains(@id,'comic')]",
            "div[contains(@id,'comic')]\/\/img\/@title"
        ],
        "join_element": "<p>"
    },
    "\/releases\/tag\/": {
        "type": "xpath",
        "xpath": "div[contains(@class, 'release-body')]",
        "cleanup": [
            "h1"
        ]
    }
}
dugite-code commented 4 years ago

In the testing tab the config should look like this:

{
   "type": "xpath",
   "xpath": "div[contains(@class, 'id-article-body')]"
}

Please exclude the url match section when testing. Related enhancement issue: https://github.com/feediron/ttrss_plugin-feediron/issues/159