Please consider this code to be an "example of concept," but no longer working.
This plugin is obviously part of what could be a much larger plugin that implements parts of the eBay API for WordPress. All I require is to display basic auction data in a <div>, so that is all this plugin does.
- create and cd into WEBROOT/wp-content/plugins/ebayGetSingleItem/
- Download the zip
- unzip the goodness
- activate plugin from wp admin interface
Use the wp-admin > Settings > eBay GetSingleItem section to set your eBay appid.
You need an eBay appid, if you don't have one:
- sign up here: https://www.x.com/developers/ebay
- login
- create production keys
- copy / paste the appid into the above Settings location
- Create a WP post
- Locate the eBay auction you wish to include
- Find and copy the "Item Number" in the top right of the Description Tab
- Insert a short code, [eBayItem]130750248056[/eBayItem] or [eBayItem id="123412341234"] in your post.
- Modify the css & class.getSingleItemView.php file to finesse style and template
I have not listed this in the normal WP plugins directory because it is unlikely that I will maintain it regularly enough (plus, I hate svn... why can't the WP plugin repo pull from GitHub? Yeah, I could do this --> hacker-er than thou). [Updated]Look what beuatiful thing I just ran across: github wp plugin updater, thanks, Franz! Anyway... if this looks like a good basis for a plugin that you will maintain, please fork it, upload it on wp.org and maintian it. I might even use your version. Thanks!
~Current Version:0.1.1~