Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Jun. 19th, 2004|02:33 am]
LiveJournal Client Discussions


Given a user name, I need a way to determine if the user exists and is a normal user, not a community or a feed. I could request and parse the userinfo page, but I want to minimize the load on the server.

[User Picture]From: jproulx
2004-06-19 07:52 am (UTC)
Parse the foaf file for a user (bots page). If the user is a community, the top level element will be foaf:Group. If the user is a person, it'll be a foaf:Person element. If the user is a syndicated feed, the foaf document will 404.
(Reply) (Thread)