<?xml version="1.0" encoding="ISO-8859-1"?>
<vpi xmlns='http://virtual-presence.org/schemas/vpi'>

  <!-- 
  http://www.facebook.com/
  http://www.facebook.com/home.php
  http://www.facebook.com/home.php?ref=logo
  http://www.facebook.com/profile.php?id=601213600
  http://de.www.facebook.com/profile.php?id=601213600
  http://de.www.facebook.com:80/profile.php?id=601213600
  http://www.facebook.com/home.php#/profile.php?id=645254151
  http://www.facebook.com/home.php#/profile.php?id=522911397&ref=nf
  http://apps.faceboaok.com/weblinloca/
  -->

  <location match='^https?://(apps.facebook\.[a-zA-Z]+)(:[0-9]+)?/([^/]+)/'>
    <service>jabber:location.virtual-presence.org</service>
    <name hash="SHA1">\1-\3</name>
    <destination>http://facebook.com/</destination>
    <topology level="category"/>
  </location>

  <location match='^https?://(.+\.)?(facebook\.[a-zA-Z]+)(:[0-9]+)?/.*id=([a-z0-9]+).*'>
    <service>jabber:location.virtual-presence.org</service>
    <name hash="SHA1">\2-\4</name>
    <destination>http://facebook.com/</destination>
    <topology level="article"/>
  </location>

  <location match='^https?://(.+\.)?(facebook\.[a-zA-Z]+)(:[0-9]+)?'>
    <service>jabber:location.virtual-presence.org</service>
    <name hash="SHA1">\2</name>
    <destination>http://facebook.com/</destination>
    <topology level="domain"/>
  </location>

  <delegate>
    <uri>http://lms.virtual-presence.org/firebat-2.7.7/name/default.xml</uri>
  </delegate>

</vpi>
