FOAF Extensions

  1. Extension namespace

    The extension namespace points to this document.
    xmlns:fb="http://www.friendblab.com/foaf.aspx"
  2. New Element fb:sig

    We add the new fb:sig element to provide a place for a signature. This is text that appears at the bottom of the person's messages and posts. It may contain espaced HTML for formatting.
    <fb:sig >Randy Charles Morin</fb:sig>
  3. New Element fb:profession

    We add the new fb:profession element to provide a place for a signature. The element text should be one of student, retired, clerk, lawyer, accountant, unemployed, manager, server, laborer, homemaker, dentist, but is not limited to these values.
    <fb:profession >retired</fb:profession>
  4. New Element fb:education

    We add the new fb:education element to denote the person's education level. The element text should be one of none, highSchool, someCollege, collegeDiploma, bachelor, graduate, masters, doctorate, but is not limited to these values. The college value implies the person attended college or university. The gradudate value implies the person received a secondary degree, but not a masters or doctorial.
    <fb:education >graduate</fb:education>
  5. New Element fb:incomeLevel

    We add the new fb:incomeLevel element to denote how much money this person earns in a year. The element may be an exact value, an approximate value or a range where two numbers are separated by a dash. If one number is appended with a dash, then the range ends at infinity. The value is assumed to be in US dollars or may include an appended ISO currency code.
    <fb:incomeLevel >50000 CAD</fb:incomeLevel>
  6. New Element fb:height

    We add the new fb:height element to denote the person's physical height. The element text may be metric or imperial. If metric, then the value is in number of centimeters. If imperial, then the value is the feet and inches with a single quote appended to the feet and double quote appended to the inches and not white space.
    <fb:height >5'7"</fb:height>
  7. New Element fb:weight

    We add the new fb:weight element to denote the person's physical weight. The element text may be metric or imperial. If metric, then the value is in number of kilograms. If imperial, then the value is in pounds with 'lbs' to the value and not white space.
    <fb:weight >170lbs</fb:weight>
  8. New Element fb:hairColor

    We add the new fb:hairColor element to denote the color of the person's hair. The element text should be one of black, blond, brown, auburn, chestnut, red, gray, bald, mixed, saltAndPepper, platinumBlond, white, but is not limited to these values.
    <fb:hairColor >saltAndPepper</fb:hairColor>
  9. New Element fb:eyeColor

    We add the new fb:eyeColor element to denote the color of the person's eyes. The element text should be one of blue, hazel, gray, green, brown, but is not limited to these values.
    <fb:eyeColor >brown</fb:eyeColor>
  10. New Element fb:bodyType

    We add the new fb:bodyType element to denote the person's physique. The element text should be one of thin, athletic, normal, overweight, obese but is not limited to these values.
    <fb:bodyType >normal</fb:bodyType>
  11. New Element fb:pet

    We add the new fb:pet element to denote whether the person has pets. The element text should be one of none, cat, dog, hamster, fish, many but is not limited to these values. If the person has more than one pet, then there may be more than one fb:pet element or the implementation can simply provide many as an option.
    <fb:pet >none</fb:pet>
  12. New Element fb:haveChildren

    We add the new fb:haveChildren element to denote whether the person has children. The element text should be one of yes, no, older, but is not limited to these values. The older value implies that the person has children, but that they are all older than high school age.
    <fb:haveChildren >yes</fb:haveChildren>
  13. New Element fb:wantChildren

    We add the new fb:wantChildren element to denote whether the person wants children. The element text should be one of yes, no, open, but is not limited to these values. The open value implies that the person isn't sure whether they want children or not.
    <fb:wantChildren >open</fb:wantChildren>
  14. New Element fb:dateParent

    We add the new fb:dateParent element to denote whether the person would date another person with children. The element may be yes, no, maybe, only, but is not limited to these values. The only value implies they would only date other parents.
    <fb:dateParent >maybe</fb:dateParent>
  15. New Element fb:ethnicity

    We add the new fb:ethnicity element to denote the person's ethnicity. The element text should be one of black, caucasian, european, hispanic, indian, middleEastern, nativeAmerican, asian, mixed, but is not limited to these values. A person may have more than one ethnicity which can be described using the mixed value or multiple ethnicity elements.
    <fb:ethnicity >caucasian</fb:ethnicity>
  16. New Element fb:sexualOrientation

    We add the new fb:sexualOrientation element to describe the person's sexual preference. The element text should be one of heterosexual, homosexual, bisexual or celibate, but is not limited to these values. Celibacy should include asexualilty, but asexual is another possible value.
    <fb:sexualOrientation >heterosexual</fb:sexualOrientation>
  17. New Element fb:relationshipStatus

    We add the new fb:relationshipStatus element to describe the person's current romantic and familial relationship. The element text may be one of single, married, divorced, widowed, separated, complicated, engaged, civilUnion, singleParent, domesticPartnership, openRelationship, swinger, relationship, player, but is not limited to this set.
    <fb:relationshipStatus >married</fb:relationshipStatus>
  18. New Element fb:anniversary

    We add the new fb:anniversary element to denote the date the person's current romantic relationship initiated.
    <fb:anniversary >1994-06-25</fb:anniversary>
  19. New Element fb:longestRelationship

    We add the new fb:longestRelationship element to denote the person's longest romantic relationship. This is a number of years or if a number of months with a 'm' appended to the number without any whitespace between the number and appendix (ex. 11m).
    <fb:longestRelationship >23</fb:longestRelationship>
  20. New Element fb:drinker

    We add the new fb:drinker element to denote whether and how often the person drinks alcohol. The element may be no, social, occasional, regular or heavy, but is not limited to these values.
    <fb:drinker >heavy</fb:drinker>
  21. New Element fb:dateDrinker

    We add the new fb:dateDrinker element to denote whether the person would date a drinker. The element may be yes, no, maybe, only, but is not limited to these values. The only value implies they would only date drinkers.
    <fb:dateDrinker >maybe</fb:dateDrinker>
  22. New Element fb:smoker

    We add the new fb:smoker element to denote whether and how often the person smokes. The element may be no, social, occasional, regular or heavy, but is not limited to these values.
    <fb:smoker >regular</fb:smoker>
  23. New Element fb:dateSmoker

    We add the new fb:dateSmoker element to denote whether the person would date a smoker. The element may be yes, no, maybe, only, but is not limited to these values. The only value implies they would only date smokers.
    <fb:dateSmoker >maybe</fb:dateSmoker>
  24. New Element fb:druggie

    We add the new fb:druggie element to denote whether and how often the person does druggie. The element may be no, social, occasional, regular or heavy, but is not limited to these values.
    <fb:druggie >social</fb:druggie>
  25. New Element fb:dateDruggie

    We add the new fb:dateDruggie element to denote whether the person would date a drug user. The element may be yes, no, maybe, only, but is not limited to these values. The only value implies they would only date druggies.
    <fb:dateDruggie >maybe</fb:dateDruggie>
  26. New Element fb:driver

    We add the new fb:driver element to denote whether and not the person has a car or license. The element may be yes, no, access, license but is not limited to these values. The access value implies they have access to a car, but don't own/drive one regularly. The licensed value implies they have a driving license, but don't own/drive a car.
    <fb:driver >yes</fb:driver>
  27. New Element fb:desiredRelationship

    We add the new fb:desiredRelationship element to describe the person's desired personal relationship. The element text may be one of nothing, friends, dating, relationship, networking, marriage, activityPartner, intimateEncounter, affair, discreetAffair, oneNightStand, friendWithBenefits, extramaritalSex, romance, mutualMasturbation, pregnancy, mutualOralSex, chatFriend, textFriend, onlineFriend, sexting but is not limited to this set. A person may be looking for more than one relationship type the implementation may allow for multiple fb:desiredRelationship elements per person.
    <fb:desiredRelationship >friends</fb:desiredRelationship>
  28. New Element fb:religion

    We add the new fb:religion element to describe the person's current religious practice. The element text may be one of christian, muslim, hindu, buddhist, folk, sikh, shinto, jewish, catholic, romanCatholic, protestant, anglican, orthodox, scientologist, agnostic, atheist, sceptic, methodist, baptist, lutheran, presbyterian, but is not limited to this set. This list could be very exhaustive. Please excuse me, if your religion is not listed and send me an email randy@kbcafe.com to get it listed. In addition, someone may be of a particular religion, but not practicing. In this case, the word lapsed may be prepended to denote this status (ie lapsedRomanCatholic). A hobby may also be a religion, for instance, hockey, baseball, football and more.
    <fb:religion >lapsedRomanCatholic</fb:religion>
  29. New Element fb:religiousView

    We add the new fb:religiousView element to describe the person's current religious views. This element is free form text.
    <fb:religiousView >Life is hockey!</fb:religiousView>
  30. New Element fb:politics

    We add the new fb:politics element to describe the person's current political views. The element text may be one of liberal, conservative, environmentalist, feminist, marxist, separatist, nationalist, socialist, progressive, fascist, nazi, zionist, communist, apathy, but is not limited to this set. This list could be very exhaustive. If your political view is not listed and send me an email randy@kbcafe.com to get it listed.
    <fb:politics >apathy</fb:politics>
  31. New Element fb:politicalView

    We add the new fb:politicalView element to describe the person's current religious views. This element is free form text.
    <fb:politicalView >Quit raising my taxes</fb:politicalView>
  32. New Element fb:quotes

    We add the new fb:quotes element to describe the person's favorite quotations. This element is free form text.
    <fb:quotes >Luke, I am your father</fb:quotes>
  33. Extending foaf:interest with a type

    We add the type of internet to the foaf:interest element. Type may be music, book, movie, game, hobby, athlete, activity, people, webPage, team, but is not limited to these three.
    <foaf:interest fb:type='athlete'>Jarome Iginla</foaf:interest>
  34. Extending foaf:phone with a type

    We add the type of phone number to the foaf:phone element. Type may be mobile, home, work, but is not limited to these three.
    <foaf:phone fb:type='mobile'>tel:555-5555</foaf:phone>
  35. Adding address info

    New elements are given for mailing and physical addresses. fb:type may be mailing, residential, business, but is not limited to these three.
    <fb:address fb:type='mailing'>
       55 Fifth St, 5th City, Five, 55555
    </fb:address'>
    The address should include country, region, city and postal codes as they may not be the same as the users country, region, city and postal code. Further, a country, region, city and postal code is made available to describe the person. Country should be a ISO 3166-1 alpha-2 country codes. Region should use 2 and 3 character region codes. But it's not always possible to convince users to select from a fixed list and as such both country and region may also be free-form fields. City and postal code is free-form.
    <fb:country>US</fb:country'>
    <fb:region>CA</fb:region'>
    <fb:city>San Francisco</fb:city'>
    <fb:postalCode>94109</fb:postalCode'>
  36. Extending foaf:schoolHomepage

    We added a start (fb:start) and end (fb:end) elements to foaf:schoolHomepage. Both fb:start and fb:end inherit their usage from dc:date. Both fb:start and fb:end may be a year or a year month or any other date or time. Inclusion of fb:start while ommiting fb:end implies you still attend this school. We added zero or more certificate elements (fb:cert) to foaf:schoolHomepage. This is a freeform text element, but we recommend the abbreviation of the certification. We also recommend using the dc:title as an element to add a school name.
    <foaf:schoolHomepage rdf:resource="http://www.uwindsor.ca/">
       <dc:title>University of Windsor</dc:title>
       <fb:cert>B.Comm.</fb:cert>
       <fb:cert>B.C.S.</fb:cert>
       <fb:start>1997-09</fb:start>
       <fb:end>2003-04</fb:end>
    </foaf:schoolHomepage'>
  37. Extending foaf:workplaceHomepage

    We added a start (fb:start) and end (fb:end) elements to foaf:workplaceHomepage. Both fb:start and fb:end inherit their usage from dc:date. Both fb:start and fb:end may be a year or a year month or any other date or time. Inclusion of fb:start while ommiting fb:end implies you still work here. We added the position element (fb:position) to foaf:workplaceHomepage as a freeform text element. The fb:position element is the foaf:Person's title at this workplace. We also recommend using the dc:title as an element to add a workplace name.
    <foaf:workplaceHomepage rdf:resource="http://www.rapidspiral.com/">
       <dc:title>University of Windsor</dc:title>
       <fb:position>C.E.O.</fb:position>
       <fb:start>2003-03-11</fb:start>
    </foaf:workplaceHomepage'>
  38. Encourage use of Relationship FOAF

    We encourage use of relationship FOAF/RDF/XML.
    http://vocab.org/relationship/.html
Privacy Policy Terms of Service About