bonustrack / steemscript Goto Github PK
View Code? Open in Web Editor NEWAn open JSON standard for Steem based apps.
An open JSON standard for Steem based apps.
I feel like there should be a guideline for using the comment metadata, similar to the one for the account information.
Eg, it's not clear what "app" should be used for - some new Steem apps have been talking about using it as a filter rather than solely as the user agent indicator as I believe it's intended for.. but I wouldn't know, because there's no guidelines ;)
We will need further standards/guidelines for what each field should contain.
Some ideas to get started:
maximum field lengths
image dimensions/aspect ratios
^https?:\/\/
If we have account.json_metadata.profile.name do we need first_name and last_name?
The v1.0.2 tag doesn't include the version bump commit.
The current specification has a dedicated field for images and video. This does not allow room for other forms of media, or future forms of media. I would recommend using a media[]
field with entries that are [{ "url": "http://url.to.media" , "type": "image"}, { "url": "http://url.to.media" , "type": "video"}, { "url": "http://url.to.media" , "type": "audio"}, etc...]
{
"app": "steemit/1.23",
"format": "html",
"tags": ["steemit", "steem"],
"users": ["ned", "dan"],
"media": [{ "url": "http://url.to.media" , "type": "image"}, { "url": "http://url.to.media" , "type":
"video"}, { "url": "http://url.to.media" , "type": "audio"}, etc...],
"status": "archived",
"canonical": "http://blog.steem.io/steem/@ned/the-first-phase-of-the-steem-faq-and-wikee-consolidation-of-knowledge"
}
As more apps like Zappl and Steepshot start building on top of the Steem blockchain, scenarios are becoming apparent where where there's a need to begin filtering content based on the app it was intended for. Eg, it makes sense for micro-content from Zappl (A small photo with caption, a short microblog/tweet) to only appear in Zappl, and not to appear on Steemit.com
Currently, there's nothing inside the standard, specifically relating to comment metadata that is identified to be used in this manner and so I'm proposing that the standard be amended to facilitate this
Specifically, I recommend the addition of two fields to the comment metadata for the standard:
ecosystem: Multi-value field to indicate which apps the comment should be read by. If no value is provided, 'steemit' will be the assumed default (which will make this backwards compatible with the existing comments in the blockchain).
appkey: This will be a public key that an app can use to verify whether comments posted to its content ecosystem should be filtered into the app. The authentication mechanism is up to the target app, but the posting app will only ever need to provide a single key with each comment (this single key should be accepted for any ecosystem it's posting to).
The timing seems crucial on this, as we're getting very close to a point where apps will begin posting large volumes of content on the Steem blockchain (Steepshot in Alpha now, Zappl beta in August '17) and if no standard is established we'll have complete and utter mayhem ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.