Identi.ca is a twitter clone that runs on open source software called laconi.ca and will apparently be distributed instead of tied to the one host. More like the original blogging idea.
I’m checking out how locani.ca works by downloading and attempting to run it. I should be able to somehow tie my “tweets” back into the main identi.ca site.
Keeping an eye on this Evan who seems to be the brainz behind the operation.
So far, I’ve had to go to the UNOFFICIAL google apps mirror since laconi.ca is down. I had to get the code using svn.
The code is written in PHP which may or may not be a good thing depending on your specific religion.
Actually I just discovered you can get into the laconi.ca site if you know a deep link e.g. http://laconi.ca/Main/Source
To install the required pear stuff (see the tarball/docs/README):
mkdir pear
pear config-create /home/mypath/laconica/pear/ pear.config
pear -c pear.config install validate
# which told me to run the following instead because it is beta
pear -c pear.config install channel://pear.php.net/validate-0.8.1
pear -c pear.config install db_dataobject
pear -c pear.config install Mail
pear -c pear.config install Net_SMTP
XMPPHP
wget http://xmpphp.googlecode.com/files/xmpphp-0.1beta-r21.tar.gz
tar zxvf xmpphp-0.1beta-r21.tar.gz
less xmpphp/README
PHP OpenId
wget http://openidenabled.com/files/php-openid/packages/php-openid-1.2.3.tar.bz2
tar jxvf php-openid-1.2.3.tar.bz2
surf to http://testserver/php-openid-1.2.3/examples/detect.php and everything is ok.
wget http://oauth.googlecode.com/svn/code/php/OAuth.php
Markdown
wget http://michelf.com/docs/projets/php-markdown-1.0.1m.zip
unzip php-markdown-1.0.1m.zip
mv PHP Markdown 1.0.1m/ markdown-1.0.1m
Because I’m using a nonstandard PEAR path, I had to edit my extra_path thing and then copy the two lines (extra_path and set_include_path) to the top of lib/common.php as well.
$extra_path = array("/home/mypath/laconica/php-openid-2.0.1",
"/usr/local/share/php",
"/home/mypath/laconica/pear/pear/php",
"/home/mypath/laconica/pear/pear/lib",
"/home/mypath/laconica/markdown-1.0.1m",
"/home/mypath/laconica",
"/home/mypath/laconica/xmpphp");
set_include_path(implode(PATH_SEPARATOR, $extra_path) . PATH_SEPARATOR . get_inc
lude_path());
While you’re at it, you should set the ‘server’ and ‘path’ config options because otherwise you will be getting redirected to localhost all the time (which doesn’t work so well if you’re not running the browser on the web server).
Progress 1 Aug 2008:
<b>Fatal error</b>: Call to undefined method XMLWriter::fullEndElement() in <b>/home/matthewsmith/public_html/laconica/darcs/lib/util.php</b> on line <b>104</b><br />
I need decafbad to come back online so that I can se how he got past this error.
more soon.
[tags]identi.ca, laconi.ca, microblogging, twitter[/tags]
Linux