Elliot Haughin

I'm a freelance web developer.
I build clever, engaging, ass-kicking,
web applications. You want me?
Posted: Feb 10th

After a bit of work, I’ve built a nice little set of useful CodeIgniter Libraries for you to plug into your applications.
I realized, that some of the features I have here on my blog, I would quite like to use in my CodeIgniter applications. And, because many of these new web 2.0 services, it was easy to standardize the libraries using Simplepie.

Featuring:

They’re simple and useful, and hopefully you can find a good use for them!
All are free to use, and if you want to spread the love, just pop a link back here for good karma :)

Check out the updated code page.

Coming soon: Twitter CodeIgniter Library

Related Posts

  1. CodeIgniter Twitter Library
  2. CodeIgniter Vimeo API Library Released
  3. Twitter API Library For CodeIgniter Released
  4. Introducing Inferno – CodeIgniter + Libraries
  5. Amazon S3 – The future of all our storage needs?

Comments

  1. Jay says:

    Hmmm. The lastfm link seems to be broken…

  2. Elliot says:

    Hey, I’ve fixed that now… still had it as ‘draft’! :S

  3. Adam says:

    Amazing – thanks so much. As a CI newbie I find your libraries quite helpful. I will let you know when/where I use them :-)

    - Adam

  4. Dean says:

    Nice work, but you should link Lastfm CodeIgniter Library on the Code page properly ;)

  5. Elliot says:

    Thanks for that catch… I’ve fixed the link now!

    Elliot

  6. [...] updates from Twitter to use in your CodeIgniter application. Looks like Elliot Haughin has more CodeIgniter libraries for Simplepie, Amazon S3, Flickr, and Lastfm. Tags: Amazon, CodeIgniter, flickr, last.fm, [...]

  7. Amit Pansare says:

    Good work maintaining these libs.

    BTW, you might want to add this at beginning of the each lib as good practice.
    if (!defined(’BASEPATH’)) exit(’No direct script access allowed’);

  8. TaeWoo says:

    Dope! Why don’t you put these on the CodeIgniter forum? Or at least link to it….

  9. TaeWoo says:

    ONe other thing.. I am getting this error:

    Severity: User Warning

    Message: ./cache/107aba3281d2190bb8392cc495382c65.spc is not writeable

    Filename: libraries/simplepie.php

    Line Number: 1780

    Where exactly is the cache directory supposed to be setup?

  10. Elliot says:

    You should set the cache directory when calling the library:

    $this->load->library('simplepie');
    $this->simplepie->set_feed_url('http://feeds.haughin.com/haughin');
    $this->simplepie->set_cache_location(APPPATH.'cache/rss');
    $this->simplepie->init();
    $this->simplepie->handle_content_type();
  11. Thanks for the great libraries! Any recommendations on a good library to facilitate uploading to Flickr?

  12. clux says:

    I had problems with set_cache_location as well. To make it work I had to use (for last.fm at least) ‘rss_cache_path’ => BASEPATH.’cache/rss/lastfm-rss-cache/’.

Leave a Comment

© Copyright 2010 Elliot Haughin