Jun
17th

PHP5: Sample Code to Post and Retrieve from Jaiku

Thanks for stopping by my personal blog on Marketing Technology! Over 50,000 visitors a month find my content worth returning for, so don't forget to subscribe to the Marketing Technology Blog RSS feed or to the Marketing Technology Email to have new content sent directly to your inbox. You may also find my other business blog helpful, Social Media Domination.

Just figured I’d put this out there to whomever would like it, it’s sample code for posting to and retrieving from Jaiku. Warning, it does utilize SimpleXML so PHP5 is a requirement.

Jaiku Sample Form

Here’s the form in action, it has a link where you can download the source code. I left it plain because I figured folks would want to customize it themselves. If you like it, there’s a link on the form to download it. If you want to hard code it for your own usage, you can simply hard code the variables $mykey and $myuser. (Example: $myuser = “douglaskarr”;)

RSS feed | Trackback URI

3 Comments »

Comment by no imageIngrid (SezWho)
2007-06-18 14:45:09

Thanks for putting this up. However, my web host isn’t on PHP5 yet. Do you know what to use in stead of SimpleXML?
Rate this:
1.6
Comment by no imageDouglas Karr (SezWho)
2007-06-18 15:32:44

Yes, it can still be done in PHP but you’ll have to loop through the XML using DOM. (A pain in the butt!) :)
Rate this:
2.9
 
 
Comment by no imageDave (SezWho)
2007-11-05 16:47:11

You just have to get PHP 5
PHP is strict on declarations.

Make sure you declare variables once only.
Great language! Java and ASP beater!

Get coding… PHP will Reign Supreme!
Interfaces, Abstarct Classes, somebody wake me up!

Dave
As seen on TV

Rate this:
1.6
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

My Comment Policy: I moderate comments. Please be patient:

  • Spam will happily be destroyed.
  • Use your real name, not some keywords. Otherwise it will be destroyed.
  • Mean comments aren't necessary. If I don't post them I will reply personally to let you know why.
  • Lewd comments will be edited, I don't want my readers leaving because of offensive content.
Great debate, criticism and colorful commentary is always appreciated and approved!