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

golem.de not working #54

Closed christianbur closed 6 years ago

christianbur commented 8 years ago

Hello, can anyone fix the recipe for golem.de, because it does not work anymore. I can not find any "rss.feedsportal.com" with "golem0Bde0C" in the Feed (http://rss.golem.de/rss.php?feed=ATOM1.0) there are only "www.golem.de/news" URLs.

The articles between

...

radlerandi commented 8 years ago

everything changes from time to time. better learn to adjust recipes.

i use this since some weeks and it works good for me.

"golem.de": {
    "type": "xpath",
    "xpath": "article",
    "multipage": {
        "xpath": "ol\/li\/a[contains(@id, 'atoc_')]",
        "append": true
    },
    "reformat": [
        {
            "type": "replace",
            "search": "-rss.html",
            "replace": ".html"
        }
    ],
    "cleanup": [
        "a[@class='golem-gallery2-nojs']",
        "ol[@id='list-jtoc']",
        "table[@id='table-jtoc']",
        "div[@class='htmlinline']",
        "div[@class='iqadcenter']",
        "div[@id='iqadtile4']"
    ]
}