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
204 stars 34 forks source link

Accept full config in testing tab #159

Closed dugite-code closed 2 years ago

dugite-code commented 4 years ago

The testing tab should be smart enough to be able to accept a full config like:

{
"xkcd.com":{
    "type": "xpath",
    "xpath": [
        "div[contains(@id,'comic')]",
        "div[contains(@id,'comic')]\/img\/@title"
    ],
    "join_element": "<p \/>"
}
}

as well as the limited config

{
    "type": "xpath",
    "xpath": [
        "div[contains(@id,'comic')]",
        "div[contains(@id,'comic')]\/img\/@title"
    ],
    "join_element": "<p \/>"
}