Repository
https://github.com/holgern/steem-scot
also applicable to https://github.com/MattyIce/steem-engine
Issues
Components
- Community exclusive posting
- a small bug on 404 not found page
Proposal Description
An @aggroed's posting, A new era for Steem: Scotbot powered custom website up and running ! Welcome https://www.weedcash.network! made lots of users excited, especially because many people were exhausted due to the long delay of SMT.
Most non-dev users were quite surprised with the website that looks exactly like steemit.com and they liked the idea that they can use their own token for their own community.
I'm not talking about the technical difference between SMT and Steem Engine here, but I like to make a simple but important and feasible suggestion to Steem Engine SCOT system.
Let me illustrate the idea with an example of weedcash which is live already.
How weedcash knows if a post was written on weedcash?
As many people experienced and realized already, to make a post/comment visible on weedcash, you should write it on weedcash. How do they distinguish this?
Compare the same posting on two websites. Some comments are not visible on weedcash.
- @blockchainstudio/steem-engine-scot-community-exclusive-posting-via-jsonmetadata
- @blockchainstudio/steem-engine-scot-community-exclusive-posting-via-jsonmetadata
The magic is in tag
in json_metadata
As you can see on steemd.com, weedcash uses tags
in the json_metadata
. Thus, even if you write it on steemit.com or busy.org, if you put weedcash
tag, it's visible on weedcash.
What about a comment?
In the case of comments, a comment automatically inherits the first tag (called category) as its tag. Thus, unless the main post's first tag wasn't weedcash
, a comment written not on weedcash is invisible on weedcash.
Of course, you can put weedcash
tag even on a comment using API, as I did, in the above picture. The first comment wasn't written on weedcash but using API. The second one was written on Steemit, the third one was on Busy.
Community exclusive post
Certain communities may want posts to be visible only when it's written on their customized website. For instance, if you want weedcash posts are visible on weedcash only when they were written on weedcash (to avoid tag abuse, for instance). How to do this?
The json_metadata
can be used for this purpose. For instance, as you can see in the third comment in the above picture, Busy is using community
and app
to distinguish whether a post is actually written on Busy.org for their upvoting.
Likewise, a specific community site can utilize either community or app or any custom field in json_metadata to customize their post visibility.
Mockups / Examples
Community exclusive posting can be implemented by utilizing json_metadata
field.
json_metadata: {"community":"weedcash","app":"weedcash\/0.0.1"}
Ex1: utilizing "standard"
community
orapp
field.
Altenatively,
json_metadata: {"ssc-community":"weedcash"}
Ex2: a new json id such as
ssc-community
can be used.
Benefits
Steem Engine has been delivering many features that SMT was supposed to do. We all know the general benefits of SMT or Steem Engine SCOT, so I don't think I need to explain too much details here.
It's all about community! Each community can use its own token, and naturally some community may wanna keep their posts only when they were actually from their communities. This simple yet important and realistic suggestion will make it possible!
A small bug on 404 not found page on weedcash
The first prototype weedcash page has some "bug" that shows steemit instead of weedcash in certain cases.
I found one:
This not found page was actually improved by me (previously it was a text :). See the details here: https://github.com/steemit/condenser/pull/3282 which was also introduced by the official @steemitblog's post