-
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
[HardwareInfoBridge] Created a bridge for hardware.info #2232
Conversation
Hmm, I just noticed that the bridge works on my local pc but not on my VPS.
IP ban i guess? |
bridges/HardwareInfoBridge.php
Outdated
$item = parent::parseItem($feedItem); | ||
|
||
//get full article | ||
$articlePage = getSimpleHTMLDOMCached('$feedItem->link'); |
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.
'$feedItem->link' should be without quotes at all.
That is why bridge errors "Could not resolve host: $feedItem->link"
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.
woops... fixed
bridges/HardwareInfoBridge.php
Outdated
const URI = 'https://HardwareInfo.net/'; | ||
const DESCRIPTION = 'Tech news from hardware.info (Dutch)'; |
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.
hardware.info or hardware.net? First does not resolve for real, second has problems with certificate.
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.
https://hardware.info/ , which redirects to https://nl.hardware.info/
i put the wrong value in URI
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.
fixed
gj! |
Added a bridge that fetches the newest articles from https://hardware.info, a Dutch site about computer hardware and consumer electronics.
The bridge expands from the official RSS feed, which doesn't offer full articles.