-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[FlashbackBridge] Add new bridge #2343
Conversation
@dvikan changes since previous code. |
You can add commits to a pull request rather than opening a new one. You seem to have added an additional bridgere my mistake here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works fine now. Thank you.
gj! |
$item['post_nr'] = $element->find('div.post-heading a strong', 0)->innertext; | ||
$item['timestamp'] = strtotime( | ||
str_replace( | ||
array('Igår', 'Idag'), array('yesterday', 'today'), \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This trailing \
is a syntax error on PHP 8.
[Tue Jan 4 22:54:11 2022] [::1]:57496 [200]: GET / - syntax error, unexpected token "\", expecting ")" in rss-bridge/bridges/FlashbackBridge.php on line 141
$ php --version
PHP 8.0.14 (cli) (built: Dec 17 2021 14:16:47) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.14, Copyright (c) Zend Technologies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, was going to report this as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this is already fixed in #2405, never mind.
Add new bridge for Swedish forum.
https://www.flashback.org/