Reciprocity - Grin with cat attached — LiveJournal
Previous Entry Next Entry
Reciprocity Sep. 5th, 2003 01:17 pm
This is a basic script that compares your friends and friends-of list. Since no-one has told me it's broken yet, I'm going to assume it's working for everyone.

Share and enjoy.

From: some_fox
Date: September 5th, 2003 - 05:48 am (Link)
Does your user icon really wink at me whenever I come on to a page with it on or have I been staring at the computer screen for far too long? If it's the former I am very impressed :-)
(no subject) - (Anonymous)
From: wechsler
Date: September 5th, 2003 - 07:38 am (Link)
That's in mind for the future - depending on how well the 'learning account types' thing works.
(no subject) - (Anonymous)
From: wechsler
Date: September 5th, 2003 - 07:12 am (Link)
Valid point - it's filtered before it interacts with the DB, so I don't suspect anyone can actually do any damage with this, but still, HTML-escaping the code before I display it probably makes sense.
From: wechsler
Date: September 5th, 2003 - 07:22 am (Link)
Actually what *is* the validation pattern for an LJ-username?

/[_0-9a-zA-Z]{1,15}/ ?

Sure I've seen some other weird punctuation in names...
From: ciphergoth
Date: September 5th, 2003 - 09:31 am (Link)
That's the one.

Thanks for the reminder - I totally re-wrote the code for TrustFlow II, and forgot to put this in...