Stream   Blog   Code   Pictures   Videos   Contact  
November 18, 2011
16:11
Author: awafaa  |  Tags:
November 16, 2011
16:17
Author: awafaa  |  Tags:
July 5, 2011
20:21
Author: awafaa  |  Tags:
March 23, 2011
10:52
Author: awafaa  |  Tags:
March 19, 2011
12:04
Author: awafaa  |  Tags:
February 2, 2011
22:18
Author: awafaa  |  Tags:
January 5, 2011
20:45
Author: awafaa  |  Tags:
14:21
Author: awafaa  |  Tags:
July 31, 2010
12:04
Author: awafaa  |  Tags:
June 21, 2010
06:40
Author: awafaa  |  Tags: , ,
March 15, 2010
21:27
Author: awafaa  |  Tags:
March 8, 2010
16:56
Author: awafaa  |  Tags: ,
15:25

awafaa created repository storytlr-plugin-gitorious in Storytlr

This is a plugin for the Storytlr application. It allows you to integrate your actions on Launch...

Author: awafaa  |  Tags:
March 7, 2010
08:38
Author: awafaa  |  Tags:
March 5, 2010
22:54
Author: awafaa  |  Tags:
14:56
awafaa started following storytlr
storytlr has 2 public repos and 2 followers.
Author: awafaa  |  Tags:
14:30
Author: awafaa  |  Tags: , ,
March 1, 2010
14:33
Author: awafaa  |  Tags: ,
14:16
Author: awafaa  |  Tags:
14:11
Author: awafaa  |  Tags:
February 21, 2010
20:08
Author: awafaa  |  Tags:
February 19, 2010
23:20
Author: awafaa  |  Tags:
February 18, 2010
18:31
Author: awafaa  |  Tags:
February 17, 2010
22:09
Author: awafaa  |  Tags:
February 12, 2010
14:28
Author: awafaa  |  Tags:
14:24
Author: awafaa  |  Tags:
February 11, 2010
20:20
Author: awafaa  |  Tags:
February 10, 2010
18:23
Author: awafaa  |  Tags: ,
14:26
Just noticed how cool the #storytlr map section can be, must implement something similar. Also enable geotagging on all clients
Author:   |  Tags: ,
February 9, 2010
21:55
Author: awafaa  |  Tags:
20:05
Author: awafaa  |  Tags: ,
February 7, 2010
12:18
Author: awafaa  |  Tags: ,
11:59
Trying out direct posting to twitter (again) from #storytlr with some help
Author:   |  Tags:
10:57
Author: awafaa  |  Tags: ,
10:11
Author: awafaa  |  Tags:
February 6, 2010
09:18
Author: awafaa  |  Tags:
February 3, 2010
21:47
Author: awafaa  |  Tags:
21:37
Story telling your Gitorious exploits

Suffice it to say, I'm actually enjoying my Storytlr install - maybe enjoy isn't the right word but you get my drift, don't you?  Well I was determined to loose my coding virginity, and Storytlr's plugin system seemed to be the safest way to do so.

 

I chose to base my plugin on an existing plugin, and my two options were creating a Blip.tv plugin (based on the Vimeo plugin) or a Gitorious plugin based on the Github plugin).  Guess which one I chose? No, not the Blip.tv one dufus!!

 

So I can now present you with the shiny new Gitorious plugin for Storytlr.  You can grab the code from here.  Yes I am acutely aware of the irony of hosting the code for this on Github :-) but to be honest for a coding dunce like moi, Github makes it easier.  Oh and the fact that the active developers are on Github makes things easier (for branching etc.).

 

Anyhow, just to prove it does work here's a little snap of it in action:

Screenshot of my Gitorious plugin for Storytlr

 

I do have to give big props to John Hobbs whos code I aped, and who code reviewed and fixed up my syntax - thanks.

 

I'm off to Brussels in the morning for FOSDEM, so I might/might not get round to doing my second plugin.  If you're there look me up :-)

Author:   |  Tags: , , , ,
16:44
Author: awafaa  |  Tags: ,
14:12
Author: awafaa  |  Tags:
January 29, 2010
16:39
Author: awafaa  |  Tags:
16:35
Author: awafaa  |  Tags:
16:32
Storytelling with Storytlr

I thought it would be wise to document how I installed Storytlr as I feel the official documentation doesn't list everything.

The basic requirements to get storytlr working are - Apache, MySQL, PHP5 (with php5-tidy, and php5-mcrypt).  So once you have the basic system requirements met, the next step is to download the latest stable release from here and extract the tarball in your target directory.

So in you virtual host file make sure you have enabled AllowOverride (I set mine to ALL), this will mean that apache takes note of the .htaccess.  I also had to add Options +FollowSymlinks to the .htaccess, just underneath </files>.

Next create your database using your preferred method (phpmyadmin/mysqladmin/voodoo).  Once created you need to populate it with the basic info, so cd $PATH/TO/INSTALL/protected/install/ and run mysql -u $USER -p -D $DB_NAME < database.sql.  So the database is ready and waiting for you now, next step is to edit the basic config information.

There is a sample file ready for you to edit, so first thing is cd $PATH/TO/INSTALL/protected/config/ and copy the sample cp config.ini.sample config.ini.  Now open config.ini in your preferred editor.

The key items to change are:
db.host=  <---you can leave this if your database is running on the same host as you web server.
db.username=  <--enter the database username for the storytlr database
db.password=  <--enter the database user password for the storytlr database
db.dbname=  <--enter the database name for the storytlr database
security.cookie =   <--you can replace all or part of this if you wish, just make it different to what is there already.
web.host=  <--enter your desired web url without the http:// (i.e. stream.geeko.org)
web.timezone=  <--put your desired/local timezone
debug =  <--it is advisable to change this to 1.  It will help you when you run into issues
flickr.api_keys=  <--you will need to add your api key here if you wish to use the flickr module.  You can get your key by heading here<flickr.com/services/apps/create/apply/>

twitter.username=  <--add your twitter credentials if you want items to be posted to twitter (i.e. blog entries/etc)

twitter.password=  <--add your twitter credentials if you want items to be posted to twitter (i.e. blog entries/etc)
gmap.key=  <-- same as flickr you need to add your api key here to use the map functionality.  You can get your key from here<code.google.com/apis/maps/>
default.timezone=  <--again change it to your preferred/local timezone.  If you're not sure you can leave the default and change it via the admin panel
default.timezoneid=  <--again change it to your preferred/local timezone.  If you're not sure you can leave the default and change it via the admin panel

Finally make sure you web server has the correct permissions to access the files - chown -R wwwrun:www $PATH/TO/INSTALL (replace wwwrun:www with whatever your distro uses if not on openSUSE).

So once all that is done just head over to your new site.  You can log in via the little key icon in the top right or just append /admin to your url.  The default credentials are user=admin password=storytlr, please make sure you change the password once logged in.

So that's the install done, what about making sure the feeds saty up to date?  Well the only way of doing that is to set up a cronjob, not painful at all but not as automated as I'd have liked.  I've chosen to update every 7 minutes because there is so much going on in my web 2.0 life :-P  So basically choose your timing for updating your streams, and then run the update.php script located in the protected/tools directory telling it which user to update for.  My cronjob looks like:
*/7 * * * * php5 $PATH/TO/INSTALL/protected/tools/update.php admin

There are several additional plugins available:
Github
Goodreads
Foursquare

Each plugin has instructions on how to install, but they are pretty simple.  In essence you'll need to do a git clone of the repository housing the plugin, rename the directory, add the database entries to you installation, copy the icon to the images directory, and off you go!  If you are interested in creating a new plugin, I recommend you look at John Hobbs' little guide.

Ryan Paul of Ars Technica and Gwibber fame did a piece on storytlr which pushed me to trying it.  As you can see from Ryan's site he has implemented a few modifications like tangofying the icon set, and also looks like he created a Launchpad plugin.

I have a few issue but none of them are in anyway show stoppers, and im actually enjoying the simplicity of it all :-)

Author:   |  Tags: ,
15:57
Author: awafaa  |  Tags: