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

[MangaDexBridge] Add new bridge #2583

Merged
merged 5 commits into from
Apr 1, 2022
Merged

[MangaDexBridge] Add new bridge #2583

merged 5 commits into from
Apr 1, 2022

Conversation

yamanq
Copy link
Contributor

@yamanq yamanq commented Mar 31, 2022

MangaDex removed RSS feeds about 1 year ago when they took down the website and rewrote it to completely depend on javascript. They have promised to add RSS feeds though it has remained 'low priority' for all this time. This is a bridge that returns chapter updates to a manga title, but I may extend it in a future PR to allow for other things, such as following a group or specific search parameters.

@github-actions
Copy link

github-actions bot commented Mar 31, 2022

Pull request artifacts

file last change
MangaDex-pr-context1 2022-04-01, 16:54:23

bridges/MangaDexBridge.php Outdated Show resolved Hide resolved
bridges/MangaDexBridge.php Outdated Show resolved Hide resolved
@Bockiii
Copy link
Contributor

Bockiii commented Mar 31, 2022

either default or examplevalue, not both :)

@yamanq
Copy link
Contributor Author

yamanq commented Mar 31, 2022

Why?

@Bockiii
Copy link
Contributor

Bockiii commented Mar 31, 2022

Only one is displayed in the bridge config preview anyways. examplevalue would be grey-text, default prefilled, so it cant display both at the same time.

@yamanq
Copy link
Contributor Author

yamanq commented Mar 31, 2022

Only one is displayed at a time, but they both serve a distinct purpose. The defaultValue allows the user to quickly get a feed, while the exampleValue gives the user additional context about the parameter format.

@Bockiii
Copy link
Contributor

Bockiii commented Mar 31, 2022

Oh, so you mean in order to see the examplevalue, a user would have to delete the default value and see what grey text comes up?

Hmm.. never thought of that use case... Does it happen like that in the bridge view?

@yamanq
Copy link
Contributor Author

yamanq commented Mar 31, 2022

It does for me. Also, exampleValue corresponds to input hint (not editable by user), while defaultValue is the input value.

@yamanq
Copy link
Contributor Author

yamanq commented Apr 1, 2022 via email

@Bockiii
Copy link
Contributor

Bockiii commented Apr 1, 2022

That idea you basically be a forced-bridge-setting. Not a bad idea in general but would require some major changes.

I also think that there would be a limit user scope for that. I would have to say "yes, you can use bridge XY by whitelisting it, but you can only retrieve a maximum of 5 items per feed and only in french".

Also: I've never tested this, just assumed: Since all image links are sourced from the actual source, not your bridge host, isnt the bandwith minimal? Your host is not providing the image, it just tells your feed reader where it can retrieve it from.

I will merge the PR in this state. The other thing is a discussion on its own. You can open a discussion threat for it if you want.

@Bockiii Bockiii merged commit 73cc791 into RSS-Bridge:master Apr 1, 2022
Kwbmm pushed a commit to Kwbmm/rss-bridge that referenced this pull request Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants