XFN Integration

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
sugree's picture

Drupal provides wide-range of functionalities to build any kind of websites from personal blog to community sites. Usually each person has his/her own blog and also is a part of lots of communities, social networks and so on. Most communities offers a profile page associate to each user just like Drupal do. Have you ever posted entries with some referring to your friends, your colleagues or your family? Do you ever stop a while to choose their profiles to be referred? In addition, we are moving to semantic generation that we should make use of relationship among you and your friends. Social Graph API has been introduced by Google to accomplish this functionalities with least modification using XFN.

Description:

Actually, I mean something like buddylist with standard-based cross site social networking module. In short, it should be named just like "XFN Module". This module will offer essential features to help any users to build social network using XFN.

  1. Let user define their own friends and associate relationships as a part of profile. It's not only just friends but also family and many more. See XFN 1.1 for more information.
  2. XFN-enabled friend list in profile page.
  3. Views integration to make friends blocks or pages.
  4. XFN filter to help writing article much more easy and fun with your friends. No need to remember their blogs, their facebook, their flickr, and many more.

This module might help building social-powered communities after adding some integration with Social Graph API. These APIs should be implemented in a separate module to provide author relationships of each node. It's all generated automatically and always up-to-date.

The filter module parses user-defined XFN markup and produce HTML markup conforming to XFN specification. In detail, this filter generate anchor link with rel attribute by user-defined value to build social graph automatically. Each user has a new setting page to add friends' profile link and associate relationships. For example, a "met" "friend" referred by "a" has his "twitter" profile at "http://twitter.com/a". You may refer to this friend by

  • [xfn:a:twitter] or
  • [xfn:a] if there is only one profile for "a"

and this filter will produce

<a href="http://twitter.com/a" rel="friend met">a</a>

Difficulty: Medium

Comments

Sound interesting.

KnightBaron's picture

Sound interesting. Let me google for more information on XFN.

i'd hit that :)

bobthecow's picture

i'd hit that :)

I wonder if this can be done in Flexifilter?

webchick's picture

http://drupal.org/project/flexifilter

This module was built for the purpose of abstracting out filter creation. It seems like this might be a simple ruleset that someone could do through the Flexifilter UI. Can you confirm/deny?

too difficult ruleset

sugree's picture

flexifilter is very promising module to make user-defined custom filters. XFN filter module is not a good name so it led you to misunderstanding. Actually, I mean something like buddylist with standard-based cross site social networking module. In short, it should be named just "XFN Module". This module will offer essential features to help any users to build social network using XFN.

  1. Let user define their own friends and associate relationships as a part of profile. It's not only just friends but also family and many more. See XFN 1.1 for more information.
  2. XFN-enabled friend list in profile page.
  3. Views integration to make friends blocks or pages.
  4. XFN filter to help writing article much more easy and fun with your friends. No need to remember their blogs, their facebook, their flickr, and many more.

This module might help building social-powered communities after adding some integration with Social Graph API. These APIs should be implemented in a separate module to provide author relationships of each node. It's all generated automatically and always up-to-date.

revised

sugree's picture

Please review this proposal again. I extended the scope of this project to not just only filter.

Cross-posted to the Social Networking Sites group

webchick's picture

Looking for feedback as to whether this should make it to our official ideas list.

XFN should be on the list, with FOAF

spadkins's picture

Yes. I think that XFN should definitely make the list.
However, it seems to me that it should be integrated with the FOAF module
(or at least coordinated with it).

The FOAF module was written by James Walker.

http://drupal.org/project/foaf
http://drupal.org/node/11735/release

It is currently at compatibility for Drupal 4.6 (or that's what the tag says).
I was going to work on bringing it up to Drupal 5 and Drupal 6
and then add XFN support.

However, I have plenty of things I am working on, and if some Summer of Coder
wants to do it, that is great with me.

Stephen Adkins

relationship, foaf, xfn

sugree's picture

Great idea! I have another suggestion. It would be better to separate this big module into 3 modules

  1. relationship
  2. xfn
  3. foaf

FOAF needs more than just relationship but relationship is reusable.

blogroll

sugree's picture

Just another note to reuse blogroll as a relationship source. Blogroll still supports only 4.x so the porting blogroll to 6.x is a task for this project.

I like this

rickvug's picture

I like the idea of support for XFN friends lists in Drupal. However, I'm wondering why this should be done as a filter vs. a less technical interface. My thinking is that people who are comfortable with the HTML like markup will use regular HTML if they want to support XFN. The people to target (IMO) are the less technical people who want to keep a list of their friends.

Here is the interface from Wordpress. It may give a bit to think about. In the opinion of some, even this is overkill as XFN can be simplified further.
Only local images are allowed.

Enabling Social Awareness to Drupal sites

sandipdev's picture

Here is my GSoC proposal for Enabling Social Awareness to Drupal Sites using Google Contacts API, Google Social Graph API.
Please http://docs.google.com/Doc?id=dd2t7t32_16hp2rkkdf to view the document. Any comments, suggestions and queries are more than welcome.

Anyone interested??

sandipdev's picture

Although I did not get selected for GSoC, I am still interested in working for XFN/FOAF integration into drupal. If no one is already working on this project, I would like to work on it. And I wont need any mentor either. Just let me know if anyone else is already working or not

Regards,
Sandip

Not aware of duplicated work

jpetso's picture

In the mentors discussion (inside the Google web app), nobody has mentioned any conflict of work. Actually your application got a lot of plus points and it was widely agreed that it would make a good project, it's just the sheer mass of great applications that kept us from selecting your project too :-S

I am not aware that anyone is currently active in this area, and if anyone is actually interested in collaboration then they would probably stumbled over this discussion and told us. So I think it's pretty safe to assume that you're not duplicating work, and it would be awesome to see you working on this even without Google's funding (way to go, Sandip!). I'm sure that sugree and spadkins would still love to help you out, just drop them a note and go for it :)

Also, I'm not knowledgeable in the area of XFN and FOAF, but if I can lend you a hand with some general task, just let me know. I think I can speak for all mentors if I say that we want you to feel welcome in the community, no matter if Google-powered or not!

Thanks

sandipdev's picture

Thanks for those encouraging words. I believe my lack of experience was another reason. But anyways, I shall start working on it as soon as my exams end, ie from 3rd may onwards. As a first project, its not very tough.I will need some assistance from time to time.

Regards,
Sandip

existing FOAF module

bob.hinrichs's picture

This is a very interesting project. Would the existing FOAF module provide the functionality described in the second point of your proposal? If so, it could shorten your timeline.

will check it out

sandipdev's picture

I will check it out. I am currently on vacation at a place where the nearest internet connection is more than 1 kilometres away. So kind of cut off from the rest of the world. Still will check it soon. Also I am unable to do much work on it right now. :-( Will put in more time as soon as I am out of all this

I will work on upgrading the exsisting FOAF module

sandipdev's picture

Hi Stephens,

I will port the existing m FOAF module to 6.x. That way it becomes a good starting point for me because I get to learn from code written by others. Then I shall complete the other objectives stated in my original application. I was supposed to start working on it by May. But that has not happened and now I am doing an internship at Cognizant Technology Solutions. It should be over by 2nd week of july and after that I can devote my time to it (although I plan to participate in Google Code Jam too).

Regards,
Sandip

Porting FOAF to Drupal 5 as well as Drupal 6

spadkins's picture

Hi,

Thanks for doing this. It would be a great service.

While you are porting the FOAF module to Drupal 6 and adding XFN goodness,
can you also back port it to Drupal 5?

You will probably find that many people would still appreciate a port to Drupal 5.

Stephen

sandipdev's picture

Okay, I will do that. Yes I know many people are still using Drupal 5. Thats because many modules and themes have not been updated to version 6. Anyways, I will do that.

Sandip

Curious

flickerfly's picture

I'm just curious what ever happened to this project. Any news? I note that FOAF still only has a 4.6 version.

No progress whatsoever...Sorry :(

sandipdev's picture

Well, actually I started on it but got tied up in other tasks...(our ACM Chapter, of which I am the chairman, organized a national level computing fest, and that took away two months plus my internship..another 45 days)..Now after ICPC online round,I will be relatively free...So I will be working on it. The module is simple..so should not take much time....Am sorry for the delay but I just could not help it....

Social Networking Sites

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week