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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Allow users to post blogs from (RSS) multiple platforms #1656

Closed
2 tasks done
CBID2 opened this issue Sep 1, 2023 · 12 comments 路 Fixed by #2555
Closed
2 tasks done

Feature: Allow users to post blogs from (RSS) multiple platforms #1656

CBID2 opened this issue Sep 1, 2023 · 12 comments 路 Fixed by #2555
Assignees
Labels
accepting prs Please work on this chore label to mark dependency and documentation updates 馃挕 feature released on @beta released

Comments

@CBID2
Copy link
Contributor

CBID2 commented Sep 1, 2023

Type of feature

馃崟 Feature

Current behavior

I tried posting my Hashnode blog post as a highlight but I received this message:
A screenshot of the result after I tried to post my article from Hashnode
This can be a turn-off for people who either don't use Dev.to or use other platforms alongside with it.

Suggested solution

Create some sort of code to allow blog posts from all platforms to be shared as highlights.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributing Docs

  • I agree to follow this project's Contribution Docs
@bdougie bdougie changed the title Feature: Allow users to post blogs from multiple platforms Feature: Allow users to post blogs from (RSS) multiple platforms Sep 2, 2023
@bdougie
Copy link
Member

bdougie commented Sep 2, 2023

A lot of the context around the decision to only allow did not make it here, but my solution is leveraging RSS directly and bing platform agnostic. This would require us build a social card fetcher that is DEV agnostic.

current implementation

const response = await fetch(`https://dev.to/api/articles/${username}/${slug}`);

I have a thing that fetches meta data from og data

I have some code that fetches social cards using the og lib. We could fetch from blog post that have open-graph data in lieu of RSS.

https://github.com/bdougie/social-carding/blob/main/pages/api/fetchMeta.js#L1

@CBID2
Copy link
Contributor Author

CBID2 commented Sep 2, 2023

Ok that could work @bdougie

@CBID2 CBID2 added accepting prs Please work on this and removed 馃憖 needs triage labels Sep 8, 2023
@RitaDee
Copy link
Contributor

RitaDee commented Sep 11, 2023

When the endpoint is ready, I will .take this.

@bdougie
Copy link
Member

bdougie commented Sep 11, 2023

When the endpoint is ready, I will take this.

To be clear, I don't believe a new endpoint is needed. All changes can be add in this repo's lib folder.

The fetching just needs to be non DEV specific.

@CBID2
Copy link
Contributor Author

CBID2 commented Sep 11, 2023

Go ahead @RitaDee

@RitaDee
Copy link
Contributor

RitaDee commented Sep 11, 2023

Hello @bdougie,

https://github.com/bdougie/social-carding/blob/main/pages/api/fetchMeta.js

Looking at the implementation, it seems as though the open-graph package works only on the server side. Is this correct?

I thought to implement the og lib in the Api route but the folder "page/api" is not there.

@CBID2 CBID2 added the chore label to mark dependency and documentation updates label Sep 12, 2023
@RitaDee
Copy link
Contributor

RitaDee commented Sep 21, 2023

Here is an update on my progress regarding this issue @bdougie:

I've been working on this task and have made significant progress on several fronts. I encountered some challenges when attempting to access the endpoints for Medium and Hashnode just like @diivi did with the dev.to platform. Despite my efforts, I have not been able to find a resolution. So, I will unassign myself 馃槥.

@RitaDee RitaDee removed their assignment Sep 21, 2023
@babblebey
Copy link
Contributor

I will .take this from here now dear @RitaDee 馃

@RitaDee
Copy link
Contributor

RitaDee commented Sep 29, 2023

I will .take this from here now dear @RitaDee 馃

Go Ola! 馃檶馃徑

@github-actions
Copy link

Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor.

Copy link

open-sauced bot commented Apr 17, 2024

馃帀 This issue has been resolved in version 2.19.0-beta.14 馃帀

The release is available on GitHub release

Your semantic-release bot 馃摝馃殌

Copy link

open-sauced bot commented Apr 17, 2024

馃帀 This issue has been resolved in version 2.19.0 馃帀

The release is available on GitHub release

Your semantic-release bot 馃摝馃殌

@open-sauced open-sauced bot added the released label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepting prs Please work on this chore label to mark dependency and documentation updates 馃挕 feature released on @beta released
Projects
None yet
4 participants