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

Create bridge to Hashnode #2231

Closed
wants to merge 16 commits into from
Closed

Create bridge to Hashnode #2231

wants to merge 16 commits into from

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');

bridges/HashnodeBridge.php Outdated Show resolved Hide resolved
bridges/HashnodeBridge.php Outdated Show resolved Hide resolved
bridges/HashnodeBridge.php Outdated Show resolved Hide resolved
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
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.

3 participants