Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain by ontofractal

View this thread on steempeak.com
· @ontofractal ·
$58.59
Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain
![](http://i.imgur.com/ogvuVnB.jpg)
Glasnost now comes with a simple way to include or remove posts from your Steem blog on your own domain with a tags whitelist/blacklist. 

# How to filter posts with tags rules

Whitelisting rules are applied first: all posts that do not have a  whitelisted tag are discarded. If `tags_whitelist` value is an empty list `[]` whitelisting rule  does *NOT* apply and is ignored. 

Blacklist rules are applied next: all posts that have a blacklisted tag are removed. Check out a configuration file example in this post.

# Changelog

* New config rules: tags_whitelist and tags_blacklist
* Ribbon labels for post categories on index and tags pages (should I keep them?)
* Proper testing setup
* Various visual enhancements, bugfixes and improvements

# [Glasnost alpha v0.5 demo](http://ontofractal-glasnost-steem.steempunks.com/) for @ontofractal

![](http://i.imgur.com/l5YxNAj.png)

### [Glasnost repo](https://github.com/cyberpunk-ventures/glasnost)
### [Glasnost v0.5 on Docker hub](https://hub.docker.com/r/ontofractal/glasnost/)

# Example configuration JSON file

```
{
  "blog_author": "ontofractal",
  "source_blockchain": "steem",
  "about_blog_permlink": "ann-introducing-glasnost-alpha-open-source-blog-and-app-server-for-steem-golos-blockchains",
  "tags_whitelist": [],
  "tags_blacklist": [
    "statistics",
    "stats"
  ]
}

```
Start by uploading a similar JSON configuration file with your values to [pastebin](pastebin.com) or [github gists](gist.github.com):

Then point Glasnost to your uploaded **raw(!)** file using Docker environment variable `GLASNOST_CONFIG_URL`.

```
docker run -it -p 80:80 -e "GLASNOST_CONFIG_URL=..."  --restart on-failure:10 ontofractal/glasnost:latest
```

Warning: you need a [raw](http://pastebin.com/raw/HxVMqRm9) file link, not a [default](http://pastebin.com/bQ74P7sw) one.



# Tech stack

* Elixir
* Phoenix
* Mnesia

 All data is stored by in-memory Mnesia database that is a part of Erlang/OTP platform. 

# What's Glasnost? and Glasnost Roadmap

Read more about Glasnost and its roadmap in the [introduction post](https://steemit.com/steemit/@ontofractal/ann-introducing-glasnost-alpha-open-source-blog-and-app-server-for-steem-golos-blockchains)

# Development process

Glasnost is a single code base developed simultaneously both for Steem and Golos blockchains. Sustainable Glasnost development is made possible by the committed support of Golos open source ecosystem by [@cyberfund](https://golos.io/@cyberfund). Read more about Golos and cyberfund open source support in [this post](https://steemit.com/golos/@hipster/golos-follows-steem-path-with-slight-economic-changes) by @hipster.

# Feedback

If you have any requests or feedback, please get in touch with me: ontofractal at protonmail.com or steemit.chat.

<center> (ノ◕ヮ◕)ノ*:・゚✧ </center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 77 others
👎  , ,
properties (23)
post_id2,230,860
authorontofractal
permlinkglasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain
categorysteem
json_metadata"{"format": "markdown", "links": ["http://ontofractal-glasnost-steem.steempunks.com/", "https://github.com/cyberpunk-ventures/glasnost", "https://hub.docker.com/r/ontofractal/glasnost/", "pastebin.com", "gist.github.com", "http://pastebin.com/raw/HxVMqRm9", "http://pastebin.com/bQ74P7sw", "https://steemit.com/steemit/@ontofractal/ann-introducing-glasnost-alpha-open-source-blog-and-app-server-for-steem-golos-blockchains", "https://golos.io/@cyberfund", "https://steemit.com/golos/@hipster/golos-follows-steem-path-with-slight-economic-changes"], "app": "steemit/0.1", "tags": ["steem", "steemit", "steemdev", "golos", "glasnost"], "users": ["ontofractal", "hipster"], "image": ["http://i.imgur.com/ogvuVnB.jpg"]}"
created2017-03-23 19:19:48
last_update2017-03-23 19:19:48
depth0
children15
net_rshares21,150,870,340,381
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value51.372 SBD
curator_payout_value7.220 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2,845
author_reputation61,659,500,186,148
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (144)
@ogoowinner ·
i really do not understand the terms you used here. however, i'll take my time to read it again. but i have a question, why do very nice posts get very few votes? I did a test post and got so much votes, now I've taken my time to write great piece,I'm not getting any vote. This is discouraging.
👍  
properties (23)
post_id2,230,909
authorogoowinner
permlinkre-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170323t192720218z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-23 19:27:27
last_update2017-03-23 19:27:27
depth1
children4
net_rshares285,772,109
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length295
author_reputation108,809,462,926,222
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@surpassinggoogle ·
you will get upvotes and amazing feedback over time. i think timing of when you post matters too.
👍  
properties (23)
post_id2,230,929
authorsurpassinggoogle
permlinkre-ogoowinner-re-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170323t193050572z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-23 19:30:45
last_update2017-03-23 19:30:45
depth2
children3
net_rshares285,772,109
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length97
author_reputation508,940,095,151,809
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@ogoowinner ·
Thanks for your reply. what's the best time to post? in GMT please
👍  
properties (23)
post_id2,230,981
authorogoowinner
permlinkre-surpassinggoogle-re-ogoowinner-re-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170323t193702770z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-23 19:37:12
last_update2017-03-23 19:37:12
depth3
children2
net_rshares285,772,109
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length66
author_reputation108,809,462,926,222
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@surpassinggoogle ·
This will be a bit tough for newbies but hopefully, it will be simplified. Thank you for your non-stop effort. I have been having one general question. in general is it allowed to use exerpts from people steemit blogs in like entire facebook posts especially only posts that explains steemit and highlight its best features and teaches how to use it, without links and perhaps credit to the owner in something like steemitdotcom/@username to create more awareness for steemit and favoring what facebook prefers for their visibility etc? like facebook allows like many more words for a status update and sometimes instead of linking out of facebook as many facebook users wont link out, why not just put the text from posts. i dont know too much about crypto so is it allowed to use other steemit posts about steemit for something like that?
👍  ,
properties (23)
post_id2,230,916
authorsurpassinggoogle
permlinkre-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170323t192846813z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-23 19:28:42
last_update2017-03-23 19:28:42
depth1
children1
net_rshares11,149,233,834
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length840
author_reputation508,940,095,151,809
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@ontofractal ·
That depends on the jurisdiction, so I'm really not sure. Usually reasonable quotes are covered under "fair use" rules. 

I'll be looking for ways to make Glasnost deployment as simple as possible but not more.
properties (22)
post_id2,236,308
authorontofractal
permlinkre-surpassinggoogle-re-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170324t120456832z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-24 12:04:57
last_update2017-03-24 12:04:57
depth2
children0
net_rshares0
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length210
author_reputation61,659,500,186,148
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@bugavi ·
Good job! Thank you !
👍  
properties (23)
post_id2,232,116
authorbugavi
permlinkre-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170323t204940360z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-23 22:10:30
last_update2017-03-23 22:10:30
depth1
children0
net_rshares274,341,224
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length21
author_reputation87,543,160,636,924
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@novina ·
$0.33
I will try Glasnost. Thank you.
👍  , ,
properties (23)
post_id2,235,030
authornovina
permlinkre-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170324t081402720z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-24 08:14:03
last_update2017-03-24 08:14:03
depth1
children1
net_rshares618,387,204,203
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.330 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length31
author_reputation8,709,635,899,560
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (3)
@ontofractal ·
Cool :) Let me know if you have any feedback or requests
👍  
properties (23)
post_id2,236,289
authorontofractal
permlinkre-novina-re-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170324t120142429z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-24 12:01:45
last_update2017-03-24 12:01:45
depth2
children0
net_rshares285,772,109
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length56
author_reputation61,659,500,186,148
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@demotruk ·
Is there something broken about Steempunks.com/charts today? Aside from the very strange numbers for the last day, comments and posts numbers disagree wildly with the charts on steemdata for the 23rd.
👍  
properties (23)
post_id2,236,870
authordemotruk
permlinkre-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170324t131439655z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-24 13:14:39
last_update2017-03-24 13:14:39
depth1
children1
net_rshares274,341,224
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length200
author_reputation96,481,588,331,838
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@ontofractal ·
$0.51
@demotruk, yeah, it's a Steempunks data ingestion bug related to the HF 17 node upgrade.  Should be fixed soon, thanks for the report.
👍  ,
properties (23)
post_id2,237,065
authorontofractal
permlinkre-demotruk-re-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170324t133339021z
categorysteem
json_metadata"{"app": "steemit/0.1", "users": ["demotruk"], "tags": ["steem"]}"
created2017-03-24 13:33:42
last_update2017-03-24 13:33:42
depth2
children0
net_rshares902,270,007,097
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.510 SBD
curator_payout_value0.001 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length134
author_reputation61,659,500,186,148
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@lovejoy ·
Great work!  I'll keep following this project, and try it out when I can.  Cheers!
properties (22)
post_id2,237,566
authorlovejoy
permlinkre-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170324t142624634z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-24 14:26:24
last_update2017-03-24 14:26:24
depth1
children1
net_rshares0
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length82
author_reputation51,549,234,710,828
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@ontofractal ·
Cool, let me know if you have any suggestions.
properties (22)
post_id2,258,349
authorontofractal
permlinkre-lovejoy-re-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170326t162733625z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-26 16:27:33
last_update2017-03-26 16:27:33
depth2
children0
net_rshares0
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length46
author_reputation61,659,500,186,148
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@mammasitta ·
I just saw this post and for sure will try it
properties (22)
post_id2,251,739
authormammasitta
permlinkre-ontofractal-glasnost-v0-5-released-categories-and-tags-whitelist-blacklist-publish-your-steem-blog-on-your-own-domain-20170325t224401785z
categorysteem
json_metadata"{"app": "steemit/0.1", "tags": ["steem"]}"
created2017-03-25 22:44:00
last_update2017-03-25 22:44:00
depth1
children0
net_rshares0
last_payout2017-04-24 01:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length45
author_reputation119,919,245,915,690
root_title"Glasnost v0.5 released: categories and tags whitelist/blacklist - publish your Steem blog on your own domain"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000