I've always threatened to do this... and now I have For the last couple of years I've been directing people to an ancient post on TonyRocks' blog where he wrote a tutorial (with my help) on how to put eBay auctions on your WP blog. At least a handful of DP members have gone on to develop their own successful custom scripts using this method (myself included), but it seems there are still plenty of people having trouble setting up their own script.... so I've gone ahead and made a free one, and written a little tutorial on how to get it working. It's nothing spectacular, and is more a 'stepping stone' for people to write their own custom scripts (I use a heavily modified version on my own sites). But, out of the box, it should hopefully work for most people. I've tested it using Wordpress 2.3.3 (the latest version), and there doesn't seem be any probs. But I'm sure there will be - so if anyone tries it out and can't get it working, let's hear about it. If there's enough (or any) interest, I might consider adding more and more features... Blablabla... here it is : http://www.thewebsiteprofessionals.com/twp-auctions/ Sorry about the image, but I'm on an ebook/DVD cover making spree and couldn't resist
Thats really nice of you, you're alright. I found a minor problem though, not sure if it's exec-php or wordpress or what, but it wont work unless you change your start tag to <?php instead of the shorthand <?. I changed it in the auction file, and where you call it in the post and it seems to work. Now, if you can tell me how to paginate automatically with that you'll get my vote for dper of the century... In any event, thanks for posting that. Damn nice of you to help others out like that.
I use <? instead of <?php (bad habit I know) and it works... but thanks for letting me know. I'll go change it right now. As for pagination - you're on your own! Teach a man to fish and all that... --- EDIT : Now updated to fix the <?php laziness --- Took me a while to realize why I find that funny
I'll second that. Not as technical as webtarded so I hope all goes well as I will have to use "out of the box" thanks
Maybe. But for now, I'd prefer to keep it free, and let it just be a stepping stone for people to get started on their own.
Thanks, very nice and simple one Kerosene. Now I just have to find out how to remove the "Buy it now" "Add to watch list" and redirect all links so it dont look like they go to ebay. And then add nofollow on the link and the image link. Then I am all set
It's pretty easy to do this - have a look at PHP's str_replace and preg_replace - you'll figure it out Excellent! That's why I'm giving this basic script away for free - so that people will take it and tweak it themselves, hopefully learning something in the process
Do you obfuscate the ebay URL's to avoid the (rumored) google slap? That was one of the reasons I bought phpbaypro. One drawback of phpbaypro's WP plugin is that you can't use complex search strings (and, or, etc.). Can you use these strings with your plugin?
No and no - not for free anyway But it can be done with some tweaking. The script I use on my own sites hides the ebay URL and thumbnail image location. All the SEO tweaks are easy enough to do yourself - just think of what you want to do, and then search the php manual for how to do it I might eventually release a script with lots of SEO features - if you guys can give me an idea of what features you want, and what you'd be willing to pay, then maybe they'll be a "Pro" version in the near future...
OK, here's a feature: The ability to get results from the ebay stores and express. That needs the ebay API. Why the regular RSS doesn't do this is beyond me. And that is worth paying for.
You know, i hadn't thought much about adding nofollow to my outbound links until you mentioned it. I had to do a little searching, but found this plugin--WP SEO Master-- http://www.bercongroup.com/?dl=1 I'm not sure if it works with kerosene's script, i haven't tried it with that, but it definitely works on my setup. It adds nofollow to all my ebay links and images. Might be worth a try anyway.
That plugin works like a charm But remember to configure what you want nofollow on, i had to change some, but thats easy. Kerosene, I think I will let a very good and cheap guy from bangladesh do the php for me So many things to do... hehe. The DP user newrace2008 is a very good, nice and quick php programmer that I can really recommend to anyone.
In the twpauctions.php file. That's the only file you need to edit if you want to tweak it yourself. Is nofollow all you want? ... PM sent