This PR adds support for placeholders in the source url. This is useful for cases where the portion of source url is dynamic and can be specified when users request for the endpoint. The feature can be considered a pragmatic middle ground between static source and dynamic source.
NOTE: The Inspector UI for this particular source type is unsupported yet. I'm planning for a rewrite of the Inspector UI so before the rewrite the Inspector UI won't keep up with new features.
This PR adds support for placeholders in the source url. This is useful for cases where the portion of source url is dynamic and can be specified when users request for the endpoint. The feature can be considered a pragmatic middle ground between static source and dynamic source.
Implements the feature request in https://github.com/shouya/rss-funnel/issues/137.
Here's an example to demonstrate the usage:
For each placeholders, you can define the default value and/or a validation regex:
Then you can request the endpoint with the corresponding parameter like http://127.0.0.1:4080/telegram.xml?username=MANJULtoons.
NOTE: The Inspector UI for this particular source type is unsupported yet. I'm planning for a rewrite of the Inspector UI so before the rewrite the Inspector UI won't keep up with new features.