Instructables Wordpress Plugin
Intro: Instructables Wordpress Plugin
Want to have a list of Instructables by Author or KeyWord on your WordPress based site? I've created other solutions in the past but now I have created a free WordPress plugin to make this easier for more people. If you do not use WordPress or want to do it yourself see my older instructable on how to do this. This plugin will always be free and opensource.
It's official!!! The plugin has been published to WordPress.
Download the Instructables Plugin HereShortCode Usage:
Display a user's projects:
[instructablesUP username="MrRedBeard" num="2" thumb="true" tileview="true"]
Replace the username "MrRedBeard" with another username and keep the quotes. Replace "2" for the num to change the number of projects you want displayed. If you do not want thumbnails of the projects then change thumb to false.
Display a list of projects by keyword:
[instructablesKW keyword="tent" num="3" thumb="true" tileview="true"]
Replace the keyword "tent" with another word and keep the quotes. Replace "3" for the num to change the number of projects you want displayed. If you do not want thumbnails of the projects then change thumb to false.
I welcome and would love your feedback and suggestions. PM or post below.
- Updated 20170715:
- You can now define and store instructables feeds
- Added editor support
- Added ability to display a group's instructables
- Added ability to have multiple keywords
- Updated 20150104:
Added function to display a user's favorites
Made functions more efficient and removed redundancies
- Update 20150102:
- Can now display in tiles.
STEP 1: Lets Expand This Plugin Together
I will be setting up a github project for this plugin and welcome others to contribute. The code will be fully documented for ease of understanding. If you do not have experience with WordPress plugin development no worries I am currently writing an Instructable on writing your first WordPress plugin.
I am using php's simplexml_load_file() to grab xml feeds from Instructables. This may not work with all hosting platforms so let me know if you get errors. The following are a few of the XML feeds published by Instructables. Play with these and create variations. If you find something useful or just cool let me know in the comments.
I already include the keyword and username feeds. Would you use any of the others or expand upon theme?
The XML Feeds
- XML Recent Instructables
- XML of FEATURED Instructables
https://www.instructables.com/tag/type-id/featured-true/rss.xml?sort=RECENT - XML of a user's groups
- List of a user's collections
- XML by keyword tent
- XML by multiple keywords
- XML by UserName
- XML by Group's Instructables feed
- XML of comments
- XML of Favorites
- XML Answers to Questions
- XML Latest Community Questions
Feed from of projects by members you subscribe to - https://www.instructables.com/member/MrRedBeard/rss.xml?show=subscriptions
Removed from Instructables
A member's followershttps://www.instructables.com/member/MrRedBeard/rss.xml?show=FOLLOWERS
Who a member followshttps://www.instructables.com/member/MrRedBeard/rss.xml?show=FOLLOWING
Other URL tricks
- Intro #step0
- Step 1 #step1
- https://cdn.instructables.com/
Web Scrapping
Profile Image - div class="user-image" img src
11 Comments
LadySith 8 years ago
Does this work with groups? I'd like to put our groups Instructables on our self-hosted Wordpress
MrRedBeard 6 years ago
It does now
MrRedBeard 8 years ago
LadySith 8 years ago
TheHomeschoolHouse 7 years ago
This is really fantastic! I would love to see someone expand on this further. I tried this on my site and it unfortunately didn't quite fit my needs. The keyword function will only search for one keyword (so refining isn't possible). Ultimately what I really need is the ability to link to just one instructible page (with a nice looking preview that isn't a resource hog on my web host of course).
Wonderful job though! I've made some simple plugin's myself and I know they're a lot of work!
MrRedBeard 6 years ago
Latest version allows for multiple keywords
I will work on web scrapping the instructable to a page on another site
MrRedBeard 7 years ago
About to update the plugin to have more functionality and increase compatibility.
Tater Zoid 9 years ago
Awesome plug-in. I'll let you know when I implement it into my blog. Thank you.
MrRedBeard 9 years ago
kingwolf44 9 years ago
MrRedBeard 9 years ago
Awesome if you let me know if you end up using it and what you think.