summaryrefslogtreecommitdiff
path: root/socialfy-your-domain/README.txt
blob: ead4380f21af26a2b238e49071c165fc63ef71c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Initial simple way to Webfinger enable your domain -- needs PHP.
================================================================

Step 1
======

First, put the folders 'xrd' and 'dot-well-known' on your website, so
they load at:

     http://yourname.com/xrd/

     and

     http://yourname.com/.well-known/

     (Remember the . at the beginning of this one)

Step 2
======

Next, edit xrd/index.php and enter a secret in this line:

$s = "";

This can be anything you like...

$s = "johnny-five";

or 

$s = "12345";

It really doesn't matter too much.

Step 3
======

For each user on your site, and this might only be you...

Make a copy of the example@example.com.xml file so that it's called...

     yoursecretusername@domain.com.xml

     So, if your secret is 'johnny5' and your name is ben and your
     domain is titanictoycorp.biz, your file should be called
     johnny5ben@titanictoycorp.biz.xml

Finally, edit the file to point at your account on your social
site. If you are the only user, then you probably don't need to worry
about user/1 as this will be you. For multi user sites, the user ID is
on the profile page.

Finally
=======

Using this method, though fiddly, you can now be @user@domain without
the need for any prefixes for subdomains, etc.