Script to fetch steemit blog posts to own site.
SteemNews.js
Script to fetch blog posts from steemit.com and append to div on own site.
Details
Javascript that fetches blog posts from steemit.com. Script looks for specific user and tags, then formats the markup to html and appends X posts to div tag on page. When user reaches end of page, it repeats and loads 5 new posts.
The script is as used on https://spelmakare.se/news so specific for my needs. As it is fairly simple and written top to bottom, I have uploaded it in case it could be of use to anyone else. I myself tend to find useful info from sources like this.
Dependencies
- https://steemit.com account
- https://jquery.com/
- https://github.com/cure53/DOMPurify
- https://jnordberg.github.io/dsteem/
Full readme and src at https://github.com/smjnab/SteemNews