Opensocial google integration bookmarklet

Events happening in the community are now at Drupal community events on www.drupal.org.
chatcharin's picture

My idea , be the expansion Features , of , Drupal , with , opensosial
Give can use application , of website friend , drupal , and , location website in , opensosial
, with using , opensocial google api ,

"OpenSocial Container module to allow admin/user to host OpenSocial gadgets just like many social networking sites, e.g., Hi5, Ning, Orkut and Facebook do. As a result"

Project name : OpenSocial Container (opensocial_container)

Project description : ความต้องการของเว็บในปัจจุบัน ในการที่จะเพิ่มและเชื่อมต่อ ข้อมูล Profile ของเพื่อนๆ เว็บ
อย่าง Orkut, Salesforce, LinkedIn, Ning, Hi5, Plaxo, Friendster,Myspace
จึงทำให้เกิดแนวคิดในการรวมการเชื่อมต่อ ให้ทุกค่ายสามารถเชื่อมต่อถึงกันได้ เพื่อให้เราไม่ต้องคอยสร้าง
user สำหรับ แต่ละเว็บเพื่อที่จะติดต่อกับเพื่อนๆ เพียงแค่ให้เว็บต่างๆ ร่วมมือในการใช้ Opensocial ก็จะสามารถเชื่อมต่อข้อมูลถึงกันได้ ในเมื่อเราสร้างเว็บด้วย CMS อย่าง Drupal ก็มีความต้องการในการเชื่อมต่อ เช่นเดียวกัน ดังนั้นเราจึงต้องนำเอา ระบบนี้เข้ามาใช้ Drupal ด้วยเพื่อให้สามารถร่วมวงกับเพื่อนๆได้
ประกอบด้วย
OpenSocial integration:
เป็นส่วนติดต่อกับ เครือข่ายอื่นๆ ที่สร้างจาก OpenSocial API
ส่วนที่กระจายข้อมูลและรับข้อมูลด้วย OpenSocial API
การติดต่อระหว่าง Application
Bookmarklet:
ส่วนที่ใช้เพิ่มเพื่อน ๆ เป็นส่วนที่แสดงภายในเว็บ
สร้างเป็น ajax tap button

This Project:
benefit to drupal community

Implementation details:
JavaScript /XML/PHP
OpenSocial integration Container module
JavaScript API
The JavaScript API lives under the opensocial.* namespace and provides access to three primary areas of functionality:
• People -- information about individual people and their relationships to each other
• Activities -- ability to post and view updates on what people are doing
• Persistence -- a simple key-value data store to allow server-free stateful applications
Here are some of the things you can do with the JavaScript API:
• Build applications without maintaining your own server
• Build applications that include a server-side component (for offline processing and/or access from other websites)
• Create brand-new applications

• Expose existing web applications in the context of existing social websites
• Add social features to existing Google Gadgets
• Write one application that can run in the context of many different social websites
The JavaScript API is designed to use standard web technologies:
• It's packaged as a set of methods in the opensocial.* namespace.
• It allows you to use any standard JavaScript programming techniques and third-party libraries.
• It includes a full asynchronous callback system to support rich AJAX interactivity.
To build an application using the OpenSocial JavaScript API, check out the Getting Started Guide or work through the OpenSocial Tu
Bookmarklet module
JavaScript add any user from Opensocial network

Resource:

http://code.google.com/apis/opensocial/
http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.7.html
http://code.google.com/apis/opensocial/docs/index.html

About Me
My Profile:
Name :Chatcharin
Lastname: Pingkiew
Age :23
Computer Engineering
Rajamangala University of Technology Lanna (RMUTL)
http://www.rmutl.ac.th/2550/eng/

Experience:
php and ajax programing
Sample: http://novices.awardspace.com/project2/ajax.html
http://novices.awardspace.com/box/
http://novices.awardspace.com/rss/
JavaProject: http://code.google.com/p/jmp3player/

Schedule/timeline:
Study API 2 -3 week
Part 1:
Create OpenSocial integration Container module 2-3 week
Test and debug Module 1-2 week
Part 2:
Create Bookmarklet module 2-3 week
Test and debug Module 1-2 week

Comments

clarification

sugree's picture

I think your idea is not only one idea, right? Let me help to make it more clear.

OpenSocial integration

For Drupal, we need OpenSocial Container module to allow admin/user to host OpenSocial gadgets just like many social networking sites, e.g., Hi5, Ning, Orkut and Facebook do. As a result, Drupal could be used to construct full-feature and extensible social networking sites that are ready to run thousands application based on OpenSocial API.

Difficulty: Medium

Bookmarklet

Sometimes users would like to post new content quickly based on current url in browser through bookmarklet. This usage is widely used in many social bookmark and microblog. Drupal could be tweaked with some javascripts to make a bookmarklet; however, it is not as good as expect. This project should provide a nice hooks to help any modules to create their own themable bookmarklet easily. In addition, it should provide pre-defined bookmarklets for each node types, probably as a tab.

Difficulty: Medium

nodeformpopup

matt v.'s picture

If you haven't already, you may want to check out the nodeformpopup module for creating bookmarklets. I'm using it on one site and it works well for streamlining the process of adding nodes.

reformatted

sugree's picture

Project name

OpenSocial Container (opensocial_container)

Project description

As of now, web technology is shifting to new paradigm which interoperability is required. OpenSocial proposed by Google is such a good API set to bring interoperability and portability to web application platform. OpenSocial is being supported by most major social networks, e.g., Orkut, Salesforce, LinkedIn, Ning, Hi5, Plaxo, Friendster, Myspace and more to come. OpenSocial consists of 2 parts; application and container. Application is developed in JavaScript to run inside container which provides OpenSocial API to interact with local container or remote OpenSocial containers. This project aims to develop all functionalities to make Drupal-based sites to host OpenSocial applications as blocks.

Benefit to Drupal community

  • Drupal sites are able to run any OpenSocial applications
  • Drupal sites may interact with other Drupal sites through OpenSocial applications
  • New approach to develop add-on modules for Drupal

Implementation details

Why me?

Chatcharin Pingkiew is a student in Department of Computer Engineering at Rajamangala University of Technology Lanna (RMUTL), Thailand. He works extensively with PHP and AJAX. See some example below.

FIXME: need more information.

Timeline

  1. 1 week - Setup repository for this project and study how to develop module for Drupal.
  2. 1 week - Develop skeleton module with all NOT_IMPLEMENTED exception.
  3. 2 week - Implement data request/response API.
  4. 1 week - Implement all necessary API to run hello word gadget.
  5. 3 week - Implement People, Profile and Persistent data API.
  6. 1 week - Implement authentication and permission API.
  7. 2 week - Implement all other API.

Note that the summer may be ended up around the 6th steps which is good enough to run most applications without problem. I will continue development until all API are implemented.

Regarding timeline...

webchick's picture

The period from April 14 (when selected students are announced) and May 26 (when SoC starts) should be spent on initial things like setting up a repository and studying how to develop a module for Drupal. Starting May 26, you should be in a position where you can start coding. A "hello world" gadget should be implemented by more like the first week, not a month after SoC starts.

I'm also missing what this looks like in the big picture... what does it mean to "Implement People, Profile and Persistent data API." for example? Will there be a module created which uses the APIs? If so, what will it do? Etc. What sort of deliverables will the Drupal community have to evaluate your work as it goes through?

opensocial as a platform

sugree's picture

OpenSocial is a kind of platform to run applications based on OpenSocial API. The OpenSocial applications are based on JavaScript API just like Google Gadgets. The hello world gadget is actually 10 lines of XML which only contains application metadata and the text, hello world. However, to run this application inside Drupal, Drupal must provide a set of RESTful API for interaction during invocation.

The deliverables for Drupal community are

  1. iGoogle-like portal. Drupal sites are able to embed any OpenSocial applications without wrapping by google gadgets.
  2. Information exchange between sites is so easy.
  3. It's up to imagination.

So this project actually aims to develop a Drupal module to provide RESTful API conforming to OpenSocial API reference.

:)

chatcharin's picture

:)

Hello Chatcharin, Sugree,

mav14's picture

Hello Chatcharin, Sugree, Webchick

I guess we all share the same interest for an OpenSocial module for Drupal. The benefits are clear.

I'm doing a graduation project about the "integration of (content from) social networking sites in Drupal" at the moment.

See my recent post: http://groups.drupal.org/node/10561 about this.

I'm also planning to build an OpenSocial module.

The focus of this module should ly on the user, the user's network, the activities and persistance (core functions of social networking sites).

The JavaScript API schould cover this functions, as described above.

Greetings,

Has there been any progress on this?

phpgirl's picture

I'm very interested in OpenSocial/Drupal integration, but all the groups I find seem to be dead-ended.

New project page, project dev soon

mav14's picture

http://drupal.org/project/opensocial-container

  • The focus lies on the user's profile imformation
  • There are yet several other modules for the integration of the user's activities on social networking sites
  • No duplication

3 popular social networking sites are scheduled for the first release: Myspace, LinkedIn, Hyves

Integrating with Shindig

kevee@drupal.org's picture

We've been rolling our own container at CSU Monterey Bay for a social networking/advising/everything else website, but I was finally able to get the admin to consider using Drupal instead. The Shindig project, which is the reference implementation for OpenSocial, is much farther along than anyone else, and I would say that it would be a better use of energy to develop a module that could integrate with Shindig than create an entirely new container.

Shindig is still pretty darn new, but my email box is always crammed with commit messages, and it has a lot of good people working on it. We're all expecting it to be fully implemented by the time the OpenSocial 1.0 standard comes out.

Shindig Site:
http://incubator.apache.org/shindig

Partuza (a sample PHP container using Shindig):
http://code.google.com/p/partuza/

SoC 2008

Group categories

Group notifications

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