You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.markdown
+8-87
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
django-elsewhere - Portable Social Networks for Django
1
+
django-elsewhere - Social Network Links for Django
2
2
===================================
3
3
4
-
Formerly Django-PSN.
4
+
Formerly Django-PSN (Portable Social Networks) and originally created for Pownce.
5
5
6
6
Authors:
7
7
------------
@@ -23,20 +23,13 @@ A quick shortcut is to checkout the project directly into your Python path:
23
23
About:
24
24
------------
25
25
26
-
Django-elsewhere allows users of a social website to provide and display information about their
26
+
Django-elsewhere allows users of a website to provide and display information about their
27
27
other online social networks. The project was created to let Pownce users
28
28
show their friends what other online social networks they participate in.
29
29
The hyperlinks to other profiles make use of the XFN rel="me" standard [http://www.gmpg.org/xfn/] (http://www.gmpg.org/xfn/),
30
30
which enables auto-discovery of social network profiles which the user has chosen to consolidate
31
-
into a single identity. Hopefully it's also parsable by Plaxo's Online Identity Consolidator [http://www.plaxo.com/info/opensocialgraph] (http://www.plaxo.com/info/opensocialgraph).
31
+
into a single identity.
32
32
33
-
In addition, Django-elsewhere provides a JSON response with the user's claimed URLs and friend/follower relationships
34
-
(represented as user ids for graph edges in and edges out). An example can be found at /interface/elsewhere_info
35
-
with params id=user_id or indent=username.
36
-
37
-
I copied this format from LiveJournal, guessing that it will be copied by other websites as well.
38
-
I'm open to changing this format and updating Django-elsewhere accordingly. This data can
39
-
be used to connect friends across online social networks, building a free social graph.
40
33
41
34
Dependencies:
42
35
------------
@@ -45,13 +38,6 @@ Dependencies:
45
38
* Django Contrib Auth, place 'django.contrib.auth' in INSTALLED_APPS setting
46
39
47
40
48
-
To use elsewhere:
49
-
-----------
50
-
51
-
1. Place the /elsewhere directory on your Python path.
52
-
2. Add 'elsewhere' to your INSTALLED_APPS setting.
53
-
4. To create the necessary database tables, from your project run the command: python manage.py syncdb
54
-
55
41
To use the sample views:
56
42
------------------------
57
43
Add the following to your urlconf:
@@ -60,83 +46,18 @@ Add the following to your urlconf:
60
46
61
47
For sample templates add the path to elsewhere/templates to your TEMPLATE_DIRS setting.
62
48
49
+
63
50
About the models:
64
51
-----------------
65
52
66
-
There are two chunks of information considered interesting to social network portability:
67
-
68
-
Edges In and Edges Out - These define 'friend' relationships between users.
69
-
Claimed and Verified URLs - Assertions of a user's identity in other social networks.
70
-
71
-
Edges In and Out is application specific but fairly easy data to obtain for a site owner.
72
-
73
-
Identity URL assertions can be obtained through a GUI which can be mutually interesting to
74
-
users and interesting to data collectors. Daniel Burka (Pownce designer) and I spent a lot of time thinking of how to gather these
75
-
assertions from users. We decided that while online identities take one form to a data collector
76
-
(a profile URL), users perceive online identity in three forms:
53
+
For Django-elsewhere, the online profiles have been divided into three categories:
77
54
78
55
* Social Networks (online social site profiles)
79
-
* Instant Messengers (screenname)
56
+
* Instant Messengers (screennames)
80
57
* Websites (can be used for other types of online profiles such as weblogs or OpenID providers)
81
58
82
-
We really wanted Pownce users to get immediate positive feedback for providing Pownce with their online identities.
83
-
Pownce users are not only contributing to social graph data, but are also displaying links
84
-
and profile data on their application profiles for their friends.
85
-
86
-
Generate elsewhere_info JSON:
87
-
Add the following to your urlconf:
59
+
You can create and edit these either in the Django admin or using Django forms.
0 commit comments