new page entrance + new dedicated dir for bridges + some fixe, optimizat...#3
Closed
Draeli wants to merge 4 commits intoRSS-Bridge:masterfrom
Closed
new page entrance + new dedicated dir for bridges + some fixe, optimizat...#3Draeli wants to merge 4 commits intoRSS-Bridge:masterfrom
Draeli wants to merge 4 commits intoRSS-Bridge:masterfrom
Conversation
Mynacol
added a commit
to Mynacol/rss-bridge
that referenced
this pull request
May 8, 2022
At the time of writing, this occurs on the following thread: https://forum.xda-developers.com/t/optimized-lineageos19-1-v4-0-23apr.4426575/ Fixes the following error: ValueError: strpos(): Argument RSS-Bridge#3 ($offset) must be contained in argument RSS-Bridge#1 ($haystack) in ./rss-bridge/bridges/XenForoBridge.php:272 Stack trace: 0 ./rss-bridge/bridges/XenForoBridge.php(272): strpos() 1 ./rss-bridge/bridges/XenForoBridge.php(146): XenForoBridge->extractThreadPostsV2() 2 ./rss-bridge/actions/DisplayAction.php(134): XenForoBridge->collectData() 3 ./rss-bridge/index.php(24): DisplayAction->execute() 4 {main}
dvikan
pushed a commit
that referenced
this pull request
May 8, 2022
At the time of writing, this occurs on the following thread: https://forum.xda-developers.com/t/optimized-lineageos19-1-v4-0-23apr.4426575/ Fixes the following error: ValueError: strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) in ./rss-bridge/bridges/XenForoBridge.php:272 Stack trace: 0 ./rss-bridge/bridges/XenForoBridge.php(272): strpos() 1 ./rss-bridge/bridges/XenForoBridge.php(146): XenForoBridge->extractThreadPostsV2() 2 ./rss-bridge/actions/DisplayAction.php(134): XenForoBridge->collectData() 3 ./rss-bridge/index.php(24): DisplayAction->execute() 4 {main}
This was referenced Jul 3, 2023
Mynacol
added a commit
that referenced
this pull request
Jan 15, 2026
Won't work without API keys anymore. The change is code-wise easy to do, while scraping the HTML would be cumbersome. Bridge returned error 401! (20449) 2025-12-27 03:26:04 https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 Details Type: HttpException Code: 401 Message: https://gelbooru.com/index.php?&page=dapi&s=post&q=index&json=1&pid=0&limit=&tags= resulted in 401 Unauthorized File: lib/http.php Line: 34 Trace #0 index.php(73): RssBridge->main() #1 lib/RssBridge.php(39): RssBridge->{closure}() #2 lib/RssBridge.php(37): BasicAuthMiddleware->__invoke() #3 middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}() #4 lib/RssBridge.php(37): CacheMiddleware->__invoke() #5 middlewares/CacheMiddleware.php(44): RssBridge->{closure}() #6 lib/RssBridge.php(37): ExceptionMiddleware->__invoke() #7 middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}() #8 lib/RssBridge.php(37): SecurityMiddleware->__invoke() #9 middlewares/SecurityMiddleware.php(19): RssBridge->{closure}() #10 lib/RssBridge.php(37): MaintenanceMiddleware->__invoke() #11 middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}() #12 lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke() #13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}() #14 lib/RssBridge.php(34): DisplayAction->__invoke() #15 actions/DisplayAction.php(54): DisplayAction->createResponse() #16 actions/DisplayAction.php(89): GelbooruBridge->collectData() #17 bridges/GelbooruBridge.php(80): getContents() #18 lib/contents.php(131): HttpException::fromResponse() #19 lib/http.php(34) Context Query: action=display&bridge=GelbooruBridge&p=0&t=&l=&format=Html Version: 2025-08-05 OS: Linux PHP: 8.2.29 Co-authored-by: Mynacol <git@mynacol.xyz>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Annotation for bridge : page entrance can list but need some informations, that informations are give by annotation system and depend of this list of parameters :
@name (required) Human bridge name
@description (optional) Bridge description
@usen N is integer between 1 and infinite. One use is need for each rss bridge functionnality
Exemple 1 : @use1(q="keyword search") In this case bridge can be use with one parameter and page entrance is going to ask for one input with "keyword search" as description
Exemple 2 : @use2(q="keyword search", other="another parameter")