Home   Blog   Pictures   Videos  
January 1, 2010
00:09
Author: ethernick 
January 2, 2010
11:33
Author: ethernick 
13:34
Author: ethernick 
16:00
Author: ethernick 
January 3, 2010
18:19
Author: ethernick 
January 4, 2010
01:13
Author: ethernick 
08:08
Author: ethernick 
21:55
Author: nkempinski  |  Tags:
22:43
Author: ethernick 
22:43
Author: ethernick 
22:48
Author: ethernick 
January 5, 2010
08:18
Author: ethernick 
08:34
Author: nkempinski  |  Tags:
08:39
Author: nkempinski  |  Tags: ,
08:39
Author: ethernick 
08:40
Author: nkempinski  |  Tags: ,
08:42
Author: nkempinski  |  Tags: ,
12:58

When I looked at Storytlr, the key was that I could make my own plugins. Which, I've done with my vi.sualize.us and dailybooth add on's (I'll share them later). But, I had to make some changes.

First, storytlr uses the zend framework, something that's still a little foreign to me. So I needed to add a library that I could work with.

Enter SimplePie

It's relatively easy to impliment. But there were a couple hiccups along the way.

  1. Download SimplePie 1.1.3
    note: don't install 1.2 because for some reason, it will end up repeating the same posts over and over and over.
  2. Rename simplepie.inc to SimplePie.php
    note: some servers are case sensitive so make sure of naming
  3. Drop SimplePie.php into ./protected/library
  4. Edit ./protected/application/Bootstrap.php
    113:	error_reporting(E_ALL & ~E_STRICT);
    

    note: if you don't then your log file will be bombarded with php strict errors that are just clutter
  5. Edit ./protected/config/config.ini
    31:	debug = 0
    

    note: your could keep debug on (debug = 1) but then others will see all the little errors on your site when something goes wrong.

Now SimplePie is a free for all to use

	private function loadFeed($url) {
		$feed = new SimplePie();
		$feed->set_feed_url($url);
		$feed->enable_cache(false);
		$feed->init();
		$feed->handle_content_type();
		
		return $feed;
	}
Author:   |  Tags: ,
16:58
Author: ethernick 
18:42
Author: ethernick 
18:42
Author: ethernick 
18:42
Author: ethernick 
20:00
Author: nkempinski  |  Tags:
20:03
oh oh, danger on the posting front. I guess a glitch in my vi.sualize.us module. I'm on it.
Author:  
20:14
fixed.
Author:  
20:42
Author: ethernick 
20:52
Author: nkempinski  |  Tags: ,
21:43
Author: ethernick 
January 6, 2010
10:48
Author: nkempinski  |  Tags:
11:45
Author: ethernick  |  Tags: ,
13:41
Author: ethernick 
13:50
Author: nkempinski  |  Tags:
14:11
Author: ethernick 
14:25
Author: ethernick 
January 7, 2010
00:36
Author: ethernick 
10:18
Author: nkempinski  |  Tags:
10:44
Author: ethernick 
January 9, 2010
16:05
Author: ethernick 
January 11, 2010
10:01
Author: nkempinski  |  Tags: ,
10:17
Author: ethernick 
12:49
Author: nkempinski  |  Tags: ,
13:21
Author: ethernick 
January 12, 2010
10:13
Author: nkempinski  |  Tags: ,
10:22
Author: ethernick 
10:55
Author: ethernick 
18:56
Author: ethernick 
21:41
Author: ethernick 
22:41
Author: ethernick 
January 13, 2010
10:30
Author: nkempinski  |  Tags:
10:49
Author: ethernick