photogeek

External FOAF field

This code will break your FOAF feed in any RDF parser. I missed a /, which confuses things, and causes parsing to fail.

The external FOAF URL can be set on your Personal Information page, at http://www.livejournal.com/editinfo.bml . Under advanced options, there is a field labeled "External FOAF URL". This URL will let LiveJournal know that you already have a FOAF file created elsewhere on the net, and that you would prefer that people be redirected to this URL.

The following is an example FOAF file created when you set "External FOAF URL".

Collapse )

As you can see, no information such as foaf:knows fields is included in this file: these fields are excluded when the seeAlso field is included. If you plan to spider the information presented by LiveJournal, you should ignore all other information presented in this FOAF file - although it may or may not be accurate, it is not the canoncial source of information for the user. They set the External FOAF URL specifically so that this information can be presented in a different location.

In summary: External FOAF set on editinfo. Replaces all your FOAF:interests, foaf:knows, etc. with a bare bones document containing very little information. Any other information in this type of feed should be ignored. Check for a seeAlso before you store information from a feed. Example feed stored above.
photogeek

Welcome!

This community is geared towards discussing uses of, applications of, and nifty things about the LiveJournal Friend of a Friend information. Since I wrote most of the code for this feature, I'm probably going to be writing most of the documentation for the time being - my goal is to have a centralized resource for those people who are using the feature for all kinds of nifty things to share tips and tricks.

If anyone needs to contact me, my contact information will always be available in the community user information. I haven't had too many problems with trolls in communities I maintain in the past, but I will deal with situations as they arise, as best I can.

For more information on what FOAF is, check out http://www.foaf-project.org . The people there have put together a useful informative site describing what the spec is and what it does.

Welcome to the community!