?

Log in

No account? Create an account
entries friends calendar profile It's Me Previous Previous Next Next
The Autobiography of Russell
Life from a different perspective
zimzat
zimzat
Bot Procedures
From: Zimzat
To: LiveJournal
Sent: Tuesday, June 22, 2004 1:03 AM

I'm considering making a meme which will look into a person's friend list
then download the interest list of all their friends. It'll then compare all
the lists and analyze who has what in common. I actually have the code for
this completed already and tried it out on a couple of people.

Another meme I got the idea for from that is a "unique or common" one where
it only looks at the one person's friend list and analyzes how many
interests they have that a lot of people have, or few people have.

Anyway, the reason I'm emailing you is because I'd like to know what kind of
programming procedures there are for this kind of thing. For example, how
long I should hold things cached before casually refreshing them or doing a
forceed refresh, or how to send identifier tags to the server (the
well-formed user agent thing) from within a PHP enviroment.

I would just like to make sure I'm not screwing over the server and, should
I decide to go live with one or more of these memes, that I'll have it as
optimized as possible.

Right now I have the first meme set to allow a force refresh no sooner than
an hour after it's last update, and it will automatically grab new
information after 24 hours.

Thank you in advance.

Sincerely,
Russell



From: Brad Fitzpatrick
To: Zimzat
Sent: Tuesday, June 22, 2004 1:16 AM


Cache for 24 hours and you should be good.

Just make sure your useragent string has your meme's URL and your email in
it, in case we need to contact you about a better way to do things.

I don't know PHP enough to tell you how to do that, but the API docs in
PHP should say.

- Brad

http://www.livejournal.com/support/see_request.bml?id=299433

Current Mood: restless restless
Current Music: "Up!" by Shania Twain

3 comments or Leave a comment
Comments
scixual From: scixual Date: June 22nd, 2004 02:28 pm (UTC) (Link)
Cool!
zimzat From: zimzat Date: June 22nd, 2004 03:42 pm (UTC) (Link)
It is, isn't it? It's kind of like being graced with the touch of a god. ;-)

I have the script pretty much done. If you'd like to see it in action just go here and enter your username. It'll show you it's progress and once it's complete it will show you all of the results and the interests with the person you have in common the most. (I'm still working on showing you the interests in common with everyone without cluttering up the page)
scixual From: scixual Date: June 23rd, 2004 02:08 am (UTC) (Link)
Nifty!
3 comments or Leave a comment