Skip to content

Run filters on article stub #183

@Organizer21

Description

@Organizer21

Latest feediron running on TT v22.09-d47b8c8

I got several sites where I need to manipulate the feed content before it's being parsed. I thought I could use feediron, but I might be wrong or might just be very bad at reading instructions and seeing the logic.

So I have several REGEX rules I want to trigger on spesific FEEDS, making changes to the source before it's parsed (sometimes within the CONTENT element, or replacing parts in the LINK or even changes to the strucure itself). I thought something like this would work but at least I can't get any RESULT in the TESTING tab to confirm that. Can this be done?

"domain.tld": {
        "type": "xpath",
        "xpath": "article",
        "reformat": [
            {
                "type": "regex",
                "pattern": "<ul>.<li>.*?</ul>#s",
                "replace": ""
            }
        ]
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions