developerFolio
developerFolio copied to clipboard
Connect to Medium blog articles
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.
Nice Thought. https://medium.com/@alekrumkamp/how-to-fetch-your-medium-feed-in-17ms-using-cloudflare-workers-63a9c49c6c19 I think this would help.
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.
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?
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).
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.
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
Blog-js can be used.
- NPM: https://www.npmjs.com/package/@arifszn/blog-js
- Demo: https://arifszn.github.io/gitprofile