Skip to content

Create bridge to Hashnode#2231

Closed
liamka wants to merge 16 commits intoRSS-Bridge:masterfrom
liamka:patch-1
Closed

Create bridge to Hashnode#2231
liamka wants to merge 16 commits intoRSS-Bridge:masterfrom
liamka:patch-1

Conversation

@liamka
Copy link
Contributor

@liamka liamka commented Aug 2, 2021

No description provided.

Copy link
Contributor

@VerifiedJoseph VerifiedJoseph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice bridge. Just a few suggestions and pointers.

Comment on lines +14 to +18
$url = self::URI . '/' . $this->getInput('sort');

$html = getSimpleHTMLDOM($url)
or returnServerError('Error while downloading the website content');

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? The HTML is not used when creating items.

Suggested change
$url = self::URI . '/' . $this->getInput('sort');
$html = getSimpleHTMLDOM($url)
or returnServerError('Error while downloading the website content');

liamka and others added 4 commits August 16, 2021 21:11
Co-authored-by: Joseph <joseph@verifiedjoseph.com>
Co-authored-by: Joseph <joseph@verifiedjoseph.com>
Co-authored-by: Joseph <joseph@verifiedjoseph.com>
@liamka
Copy link
Contributor Author

liamka commented Aug 16, 2021

@VerifiedJoseph you right! Thanks!

@dvikan
Copy link
Contributor

dvikan commented Nov 28, 2021

Tested locally. Works fine. Should be easy to add author too:

$item['author'] = $post['author']['name'];

dvikan added a commit that referenced this pull request Mar 24, 2022
@dvikan
Copy link
Contributor

dvikan commented Mar 24, 2022

Added in 50bab07

@dvikan dvikan closed this Mar 24, 2022
IAM-marco pushed a commit to IAM-marco/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.

3 participants