Steempress developer update #1
First of all I'd like to thank you all for your feedback on the introduction post. It has helped us a lot to
As we are nearing the official release of the v1 for SteemPress I thought I'd post a small update on what features have already been done and show you the code for them.
This is a new format that I'm trying out. If you don't code you can just sit back and read the features added without going all the way down to github to read the code that goes along with it.
Overhaul of the namespaces
In order to be compliant with the official worpdress guidelines I changed all the namespaces from "sp" to "steempress_sp".
You can see all the changes on this commit : https://github.com/drov0/steempress/commit/6c1420a7655e93d35e826e80d81f7e5549ad309e
I changed most of the function and class names to fit to this new standard.
Connection tester
We don't want the plugin to fail silently, and some people had issues connecting to the backend steem server, so I added a small tester to the settings page so that people can see if it fails or not, it's achieved by trying to do a post request to the backend steem server.
The code for this feature is here : https://github.com/drov0/steempress/blob/7246c4049587d023659e13ee6dd59436140b75df/admin/partials/steempress_sp-admin-display.php#L80
New domain name, port and SSL
In the continuity of the connection test, I changed the backend server's domain to use ssl and I now use the port 80 instead of 81. This should improve security drastically as well as let more people connect to the server without an issue.
Changes can be seen in this commit : https://github.com/drov0/steempress/commit/21a41f5ed17a67311d9fce13d5a69bc9dfca0426#diff-2167dcde665fe066922fee8791936e5fL54
Line 54 of admin/partials/steempress_sp-admin-display.php
Original link option
This is an optional feature that allows people to add a link to their blog at the bottom of the published article. This was done by getting the url of the wordpress article via the plugin and then sending it to the steem backend so he can append it at the end of the article.
Code can be seen here : https://github.com/drov0/steempress/blob/7246c4049587d023659e13ee6dd59436140b75df/admin/class-steempress_sp-admin.php#L195
Auto vote option
Another optional feature : When publishing an article you can automatically upvote it as it goes on steem. This is done by adding a checkbox to the setting pages and then sending to the backend server that we want to upvote the article that has been posted just now.
The code for the checkbox is here :
https://github.com/drov0/steempress/blob/7246c4049587d023659e13ee6dd59436140b75df/admin/partials/steempress_sp-admin-display.php#L71
And we send it to the main server here :
https://github.com/drov0/steempress/blob/7246c4049587d023659e13ee6dd59436140b75df/admin/class-steempress_sp-admin.php#L200
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Hey @codingdefined, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
Hey thank you for this.
Could it be that there is a simple bug in the current version ( 1.0.1 ) wrt images ?
I see the images posted to steemit have 'img s
rc=' instead of 'img src='
After I manually change these it worked like a charm.
Ah ! Must be a bug, thanks for the feedback, I'll look it up.
Fixed ! :D
bon travail 👍
Merci :D
I installed the plugin but it did not post my WP post over to Steemit. Any thoughts?
Hello, I looked at the logs and looks like you used your public posting key instead of the private posting key.
DOH! Thanks very much.
You're welcome :D
Intresting post
Terikasih info nya kami akan mengunakan nya nanti
Thanks to you and members of your team who are out there putting enormous work to advance steem.
thanks.You're very good ,you're doing a good job in a short time.I support you
Interesting.
Great updates and job going fine. Waiting to test it on one of my wordpress blog. Or is it available now?
You can try it out :)
https://wordpress.org/plugins/steempress/
You can add it directly from your dashboard :)