I have been thinking about social networking and without mentioning social networks, I want to make the idea of a bidirectional mutual friendship to apply for webmasters. And anyone can become a webmaster. I think of bloggers.
What if there was a protocol for sending a friendship request to a blog from a different blogger? And how could it look?
I have an idea and I want to call it «webmaster friend protocol». WFP.
The idea is that a website must include its friends in such an unordered list as below in the example:
The example contains one friend.
A friend request is sent to a blog from a different blog on an api in json to a WFP endpoint which is an HTTP API that has three routes: request (POST), response(POST) drop(POST) and list(GET).
Request receives an HTTP post and to send a friend request one can send a json object for instance as such:
Let’s say I sent this to a service you have installed at the address http://www.yourblog.com/wpf/request
When you were ready, through a front end, you could accept or decline. Let’s say you accepted. Your server would then contact my endpoint which was included in the request as http://wpf.perandersen.no and it could be sent as a JSON POST as such:
At this point, there should be a link in the unordered list in both directions between our websites and both servers could poll each other in case of cheating. Else drop should be called by one of the parties to drop the friendship.
In this way, your friendlist will be bidirectional, distributed and you can syndicate news from all your friends in a feed as such as made in social networks from commercial parties today. At the same time you are in control of the content and if you want ads the income from the ads will come directly to you and not a commercial third party.
This is a new though in my mind but if I don't drop the idea I will try to implement the WPF concept on my own blog. I might have to find a different name.