public
Description: This repository is just miscellaneous stuff. It is from my old devjavu SVN repo. Some of this stuff should get it's own repo.
Homepage: http://singpolyma.net/
Clone URL: git://github.com/singpolyma/singpolyma.git
singpolyma / fixmyaddressbook
name age message
..
file README Loading commit data...
file get.rb
file index
fixmyaddressbook/README
Index files consist of hcards - one hcard per line, separated by a newline.
To generate an index file, pass ./index a URL or HTML on stdin
To search for an entry in an index file, use `grep PATTERN < indexfile`
To get the buddydb data for an hcard, pass *just one* hcard by stdin to ./buddydb
To merge two hcards, pass two files each containing *just one* hcard to ./merge - if you pass "-" one of the files can 
be stdin

EXAMPLE:
Get an index and update the information for http://factoryjoe.com with data from buddydb.

./index http://singpolyma.net/ > cache
grep http://factoryjoe.com < cache | ./buddydb > /tmp/buddydb
grep http://factoryjoe.com < cache | ./merge /tmp/buddydb > new_cache
grep -v http://factoryjoe.com < cache >> new_cache
mv new_cache cache