Just started a new mini project on a whim last night, something noone asked for and even less will need.
But for those of you looking for a quick way to add hive posts to any of your websites, look no further!
Introducing,...
hiveblokz
add a hive.io blockchain users most recent posts to any website.
usage:
<div id="hiveblokz"></div>
<script
hiveuser="sn0n"
frontend="leofinance.io"
apinode="api.hive.blog"
src="https://blokz.github.io/hiveblokz/hiveblokz.js"
type="text/javascript"></script>
You can download the .js file and self host if you prefer to not use github.io as a CDN of sorts, just update the path to where you have it uploaded.
options
hiveuser
is required
frontend
is optional and defaults to https://personal.community/
any frontend that uses the domain/@hiveuser is valid, i.e. peakd, hive.blog, leofinance.io, ecency
apinode
is optional and defaults to https://api.deathwing.me/
A list of public API nodes can be found here
when manually setting apinode
or frontend
, omit the https://
as the script will add that automagically.
Todo
Remove separator - undecided on how to present the post title and posted on date in a manner that will be presentable without additional CSS as I would like to remain as neutral as possible. currently using a blokz icon as a divider, which isn't optimal..
Demo:
https://blokz.github.io/hiveblokz/
Source:
https://github.com/blokz/hiveblokz
Has all you need to get started.
Dear @sn0n,
May I ask you to review and support the new proposal (https://peakd.com/me/proposals/240) so I can continue to improve and maintain this service?
You can support the new proposal (#240) on Peakd, Ecency,
Thank you!
@sn0n! The Hive.Pizza team manually upvoted your post.
Learn more at https://hive.pizza!
Thank you for sharing this post on HIVE!
Your content got selected by our fellow curator tibfox & you received a little thank you upvote from our non-profit curation initiative. Your post will be featured in one of our recurring curation compilations which is aiming to offer you a stage to widen your audience within the DIY scene of Hive.
Next time make sure to post / cross-post your creation within the DIYHub community on HIVE and you will receive a higher upvote!
Stay creative & hive on!
Wow
I like this!!
It's big brain time