|LJ Friends Checker (perl)
||[Aug. 2nd, 2002|12:21 am]
LiveJournal Client Discussions
|||||Soundtracks - Angelo Badalamenti - Haunting & Heartbreaking||]|
I typically check lj from work over a telnet connection, and have been thinking about a way to have an alert when my friends page is updated. The other day I found the 'checkfriends' mode, and whipped up this little perl script. Its pretty simple in its operation and featureset, but it fits the bill.
It is written in Perl, and requires:
Checks livejournal.com for updates to your friends page (using the quick-n-easy 'checkfriends' mode)
Continues polling until an update is found, then waits for you to tell it to start again.
When an update is found, it 'dings' the terminal.
You can, using '0' as the only commandline option, tell it not to poll, but only to check for updates once.
To provide login information, you can either edit the source file, and plug your information into the blanks, or do nothing and it will prompt you for your login information.
This was designed to be used inside a GNU Screen window, where the ding will flash the window and put a little '!' next to the windowname to let you know there is activity. It is GPL'd and therefore free.
Get it here!