Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run filters on article stub #183

Open
Organizer21 opened this issue Sep 24, 2022 · 1 comment
Open

Run filters on article stub #183

Organizer21 opened this issue Sep 24, 2022 · 1 comment

Comments

@Organizer21
Copy link

Organizer21 commented Sep 24, 2022

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": ""
            }
        ]
    }
@dugite-code
Copy link
Contributor

I THINK you're wanting to manipulate the article stub in the feed correct? Currently Feediron isn't able to do this. I've bben wanting to implement it as part of the Execution order changes I started tinkering with in #120

My free time hasn't been what it used to be. That said I expect I'll have a chunk of time in the coming months to jump back into working on the project.

@dugite-code dugite-code changed the title Can content select from the feed source be replaced? Run filters on article stub Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants