developerFolio icon indicating copy to clipboard operation
developerFolio copied to clipboard

Connect to Medium blog articles

Open Odonno opened this issue 3 years ago • 7 comments

Summary

I don't know if it's possible but it could be great to have an auto link to our last Medium articles, the same way we do with our GitHub repositories.

Odonno avatar Jan 07 '21 19:01 Odonno

Nice Thought. https://medium.com/@alekrumkamp/how-to-fetch-your-medium-feed-in-17ms-using-cloudflare-workers-63a9c49c6c19 I think this would help.

saadpasta avatar Jan 08 '21 08:01 saadpasta

Hmm, this could be an interesting component. I wonder if we could create something flexible enough to support other platforms like Dev.to and hardcoded blog links too.

kartikcho avatar Jan 08 '21 10:01 kartikcho

I would rather like to have a Github Action CRON which will be updating say a JSON file parsing RSS feeds(pretty much every blog has this support). This will be triggered as and when the site is being built. Finally, the blog section will load from this JSON file generated. Thoughts?

naveen521kk avatar Feb 04 '21 14:02 naveen521kk

Nice idea, we can scrape like top 3 latest links and show those from the portfolio, or we can create a page with infinite scroll to accommodate all the blog posts from the user (not so nice idea imo & no longer SPA status).

kartikcho avatar Feb 04 '21 18:02 kartikcho

3 should be fine but that should be configurable though. I don't like infinite scroll though, it is just a portfolio and nothing else.

naveen521kk avatar Feb 04 '21 18:02 naveen521kk

Hey, if this is of any help, you can fetch Medium and Dev.to article information using the following links:

  • Medium: https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/@username [with the '@']
  • Dev.to : https://dev.to/api/articles?username=username

AsavariA avatar Jul 27 '21 13:07 AsavariA

Blog-js can be used.

  • NPM: https://www.npmjs.com/package/@arifszn/blog-js
  • Demo: https://arifszn.github.io/gitprofile

arifszn avatar Apr 24 '22 05:04 arifszn