]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - socialfy-your-domain/README.txt
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline
[quix0rs-gnu-social.git] / socialfy-your-domain / README.txt
1 Initial simple way to Webfinger enable your domain -- needs PHP.
2 ================================================================
3
4 Step 1
5 ======
6
7 First, put the folders 'xrd' and 'dot-well-known' on your website, so
8 they load at:
9
10      http://yourname.com/xrd/
11
12      and
13
14      http://yourname.com/.well-known/
15
16      (Remember the . at the beginning of this one)
17
18 Step 2
19 ======
20
21 Next, edit xrd/index.php and enter a secret in this line:
22
23 $s = "";
24
25 This can be anything you like...
26
27 $s = "johnny-five";
28
29 or 
30
31 $s = "12345";
32
33 It really doesn't matter too much.
34
35 Step 3
36 ======
37
38 For each user on your site, and this might only be you...
39
40 Make a copy of the example@example.com.xml file so that it's called...
41
42      yoursecretusername@domain.com.xml
43
44      So, if your secret is 'johnny5' and your name is ben and your
45      domain is titanictoycorp.biz, your file should be called
46      johnny5ben@titanictoycorp.biz.xml
47
48 Finally, edit the file to point at your account on your social
49 site. If you are the only user, then you probably don't need to worry
50 about user/1 as this will be you. For multi user sites, the user ID is
51 on the profile page.
52
53 Finally
54 =======
55
56 Using this method, though fiddly, you can now be @user@domain without
57 the need for any prefixes for subdomains, etc.