Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 #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.