create account

Show your steemit posts on your wordpress site! by tony.jennings

View this thread on: hive.blogpeakd.comecency.com
· @tony.jennings · (edited)
Show your steemit posts on your wordpress site!
I've been pretty excited about #steemit and love the promise that it holds. To that end, I built a wordpress plugin to showcase my steemit.com posts.

https://www.youtube.com/watch?v=VzOgrBFGgP0

That being said, as someone who runs (and builds) websites, I really want to be able to showcase my steemit posts on my own #wordpress website (and to show the small businesses and crafters that I build sites for how to do so as well).

I looked at the possibility of creating a fully integrated plugin, but without a public API it would take a lot more time to build than I have available. That being the case, I decided to go ahead and build a simpler plugin.

## The Privateer Offsite Posts Wordpress Plugin
I've never previously needed to link to articles that I've written on other sites from my own site. Steemit.com has certainly changed that. __See it in action on [my blog][pwsblog].__

This plugin will let you do the following on your wordpress site:
* Choose which types of posts can be linked to steemit.com articles
* Choose, article by article, whether to have a post link to steemit.com or shown on your own web site
* Display all of your posts (whether you send people to steemit.com or not) on your blog, your date archives, your search results, etc..

## Why would you use a plugin like this?
If you are new to blogging and/or don't have your own website, you might want to simply post on steemit.com and call it good.

However, if you have an existing user base or web site that you have been blogging in (or posting tutorials on, etc.), then you might want to make it easy for your visitors to find your steemit.com content. If that is the case, this plugin might be right up your alley.

If for some reason down the road you decide to no longer link out to steemit, having your content show on your own site is as simple as deactivating this plugin, provided you entered the content of each post into the editor as well as into the steamit post editor.

## Where to get the plugin?
You can visit the [downloads page][pluginzip] and download the zip file provided there if you want to install the plugin through your wordpress admin panel.

Optionally, you can visit the [project page][pluginproject] and grab the git repository.

## How to setup the plugin?
Once you have installed and activated the plugin, do the following to get set up:
1. Go to Settings - Reading
2. Scroll down to the section titled __Post Types for Offsite Links__
3. Choose which of the shown post types can be linked off site
4. Optionally set your steemit.com user name in the Steemit Offsite Referrer Name option
5. Click Save Changes

Once you have done that, you should see a new meta box in the editor for each post type you selected called __Offsite Redirect URL__. Simply enter the url of your content on steemit.com (or any other site) and when someone attempts to browse the article on your website they will be automatically redirected with a 302 temporary redirect.

I chose to use a 302 redirect so that if you disable this plugin your content will show up normally as entered on your site.

## How to get new features?
If you want a new feature and it is workable, just reply here and I'll add it if I have time.
Alternately, grab a copy of the project from bitbucket and adjust as wanted.

## Where to report problems with this plugin?
Hopefully there aren't any, but if you do run into troubles, just let me know here (or on the project page) and I'll get back to you when I get a chance

Please keep in mind that I'm just one guy and I keep a full load of work, so a reply might take a day or two, especially if you catch me on a day when I have Judo practice.

## Non-buyer Beware
I put this up simply to share with those that might want such functionality and make no promises about any use case or even that it works (works fine for me though!).

# Can I see an example?
Sure, check out [my blog][pwsblog] and you should see an article with the same title on it. Click that article and you should come right back here.

# Known Issues
Because there is no integration being done, your posts in your blog and/or archives will not show proper comment counts. Sorry, a guy can only do so much.

# Note
Had an issue there for a few minutes. All good now though!
__v1.0.3__: Updated to remove permalink rewrites in favor of simply redirecting when the singular page is displayed for seo purposes.

[pluginzip]: https://bitbucket.org/privateerwebsolutions/privateer-offsite-posts/downloads
[pluginproject]: https://bitbucket.org/privateerwebsolutions/privateer-offsite-posts
[pwsblog]: http://www.privateer.ninja/blog
👍  , , , , , , , , , , , , ,
properties (23)
authortony.jennings
permlinkshow-your-steemit-posts-on-your-wordpress-site
categorywordpress
json_metadata{"tags":["wordpress","steemit","wordpress-plugin"],"links":["https://www.youtube.com/watch?v=VzOgrBFGgP0"]}
created2016-07-19 23:29:54
last_update2016-07-20 13:46:06
depth0
children9
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,622
author_reputation6,909,740,168,060
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id202,917
net_rshares1,443,748,753
author_curate_reward""
vote details (14)
@bola ·
Good to know ツ
👍  ,
properties (23)
authorbola
permlinkre-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20160719t233137073z
categorywordpress
json_metadata{"tags":["wordpress"]}
created2016-07-19 23:31:24
last_update2016-07-19 23:31:24
depth1
children0
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length14
author_reputation51,245,914,991,562
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id202,949
net_rshares424,426,787
author_curate_reward""
vote details (2)
@cryptotony ·
Great info!
If interested, i got a domains giveaway for such posts/ideas:
https://steemit.com/steemit/@cryptotony/steem-click-steem-pink-steem-pro-free-giveaway-for-most-interesting-ideas-and-posts
👍  
properties (23)
authorcryptotony
permlinkre-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20160719t233153308z
categorywordpress
json_metadata{"tags":["wordpress"],"links":["https://steemit.com/steemit/@cryptotony/steem-click-steem-pink-steem-pro-free-giveaway-for-most-interesting-ideas-and-posts"]}
created2016-07-19 23:31:54
last_update2016-07-19 23:31:54
depth1
children0
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length197
author_reputation152,988,007,943
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id202,958
net_rshares415,906,827
author_curate_reward""
vote details (1)
@jaggs ·
Nice idea, but what about the other way, posting from WordPress to Steemit with the posting key?
properties (22)
authorjaggs
permlinkre-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20160810t225604582z
categorywordpress
json_metadata{"tags":["wordpress"]}
created2016-08-10 22:56:09
last_update2016-08-10 22:56:09
depth1
children3
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length96
author_reputation294,269,657,262
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id735,044
net_rshares0
@realskilled ·
Hi @jaggs

I'm looking for this too.

Did you find any API or tool to auto-post in steemit.com?

I wonder if there any other platform (e.g. Bitcoin) with a similar project.

Cheers,

@realskilled
properties (22)
authorrealskilled
permlinkre-jaggs-re-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20171008t213158073z
categorywordpress
json_metadata{"tags":["wordpress"],"users":["jaggs","realskilled"],"app":"steemit/0.1"}
created2017-10-08 21:31:57
last_update2017-10-08 21:31:57
depth2
children0
last_payout2017-10-15 21:31:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length195
author_reputation-65,196,368,224
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,140,824
net_rshares0
@tony.jennings ·
I was considering doing that (using piston might be a good way to go about it), but decided not to at this point as I have other things I'm working on and the quick off site linking plugin I wrote does everything I need.

There are some great posts out there on pulling data ( see @xeroc @jesta @fabien and @lukestokes and various others) and I know at some point I saw some good information on posting to the block chain as well.

Once I wrap up a few of the things I'm working on I'll probably take a look at this some more.
properties (22)
authortony.jennings
permlinkre-jaggs-re-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20160811t155750670z
categorywordpress
json_metadata{"tags":["wordpress"],"users":["xeroc","jesta","fabien","lukestokes"]}
created2016-08-11 15:57:51
last_update2016-08-11 15:57:51
depth2
children1
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length526
author_reputation6,909,740,168,060
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id747,538
net_rshares0
@jaggs ·
Cool, thanks. :)
properties (22)
authorjaggs
permlinkre-tonyjennings-re-jaggs-re-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20160812t090344456z
categorywordpress
json_metadata{"tags":["wordpress"]}
created2016-08-12 09:03:51
last_update2016-08-12 09:03:51
depth3
children0
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length16
author_reputation294,269,657,262
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id761,819
net_rshares0
@joomla-tips ·
Nice idea @tony.jennings! I am interested in creating a similar plugin for Joomla. Do I have your permission to use a similar logic in my plugin?
👍  
properties (23)
authorjoomla-tips
permlinkre-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20160809t145515489z
categorywordpress
json_metadata{"tags":["wordpress"],"users":["tony.jennings"]}
created2016-08-09 14:55:15
last_update2016-08-09 14:55:15
depth1
children2
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length145
author_reputation88,503,590,937
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id704,527
net_rshares57,976,055
author_curate_reward""
vote details (1)
@tony.jennings ·
Of course. Ideas should be free.

All I did for my little plugin was to attach an optional offsite url.

If filled in, two things happen:

* If the singular form of the post is requested directly, the user is redirected to the url provided
* If an archive type page draws the post in question, the title (and read more link, if used) links to the offsite url specified.

I later adjusted it to remove the second item as it was redundant. Now, any request for the singular display will redirect to the offsite url.

Super simple, but very effective.
👍  
properties (23)
authortony.jennings
permlinkre-joomla-tips-re-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20160810t011629981z
categorywordpress
json_metadata{"tags":["wordpress"]}
created2016-08-10 01:16:30
last_update2016-08-10 01:16:30
depth2
children1
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length548
author_reputation6,909,740,168,060
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id715,534
net_rshares57,976,055
author_curate_reward""
vote details (1)
@joomla-tips ·
Thank you for the info :)
The simplest ideas are often the best.
👍  
properties (23)
authorjoomla-tips
permlinkre-tonyjennings-re-joomla-tips-re-tonyjennings-show-your-steemit-posts-on-your-wordpress-site-20160810t133552810z
categorywordpress
json_metadata{"tags":["wordpress"]}
created2016-08-10 13:35:54
last_update2016-08-10 13:35:54
depth3
children0
last_payout2016-08-22 22:42:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length64
author_reputation88,503,590,937
root_title"Show your steemit posts on your wordpress site!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id724,387
net_rshares3,180,162,255
author_curate_reward""
vote details (1)