Posted by bcn on July 25, 2009 at 4:50am
I've created a sub module for the emfield project that allows for embedding of google waves. see http://drupal.org/node/530526 for details. Until the Embed API is more developed, I see that project as a better home for wave embeds... Plus it was the quickest means to do some testing :-)
Please check it out and see what you think...
Comments
Excellent!
Excellent! So far, I only the picture looked, but noticed that the module have a good administrative interface. It is set up almost everything that gives Wave Embed API.
The documentation (http://code.google.com/intl/ru/apis/wave/embed/reference.html) says that we can also make optional callbacks on the functions init(container:Object, opt_loadCallback:Function) or loadWave(waveId:String, opt_callback:Function). Maybe change the title of the window (or iframe) with embed wave? Or display a warning message that the wave can see only participants of Wave Sandbox. Yet.
I think we can also add buttons like "Follow this wave" and "Add comment" by using the addParticipant() and addReply() functions.
Reported about your module here http://blog-wave.appspot.com/kipp (Wave), here http://drupal.ru/node/31293 (russian Drupal community) and here http://groups.google.com/group/google-wave-russia (russian GW group), too. :)
Okay. Thanks for taking a
Okay. Thanks for taking a look.
As you say, there are a number of potential features that have yet to implemented, so hopefully we can get something committed to either the emfield module, or possibly as a cck field itself, so that we can build out some more advanced features. In the code I created a few potential settings for commenting and participation, but left the UI disabled in order to further investigate the best way forward.
Depends on: Emfield (missing)
When I tried your module (by extracting it to my Vista directory at C:\wamp\www\drupal-6.13\sites\all\modules) the Embedded Wave Field is displayed in my administrative interface under the CCK block, but I get the error message indicating that the module for Emfield is missing. Is this an issue addressed by your patches? If you haven't done so already, can you post a zip file that incorporates your current set of revisions? Thanks for your contributions to this forum. In an email to Dries Buytaert this morning I mentioned your significant contributions and those of Vadim Barsukov on this exciting new frontier.
Message in administrative interface:
Embedded Wave Field Defines a field type for displaying waves from third party providers, such as Google or ...
Depends on: Emfield (missing)
Would you like to view the values of all site variables one line at a time while your Drupal code is running on a multisite installation on Vista, using open source Eclipse and Xdebug? Visit http://sites.google.com/site/drupaldebugmultisite/ for details.
Would you like to view the values of all site variables one line at a time while your Drupal code is running on a multisite installation on Vista, using open source Eclipse and Xdebug? Visit http://sites.google.com/site/drupaldebugmultisite/ for details.
Thanks for trying out the
Thanks for trying out the module, or at least trying to get it to work...
As you've noticed, currently it is dependent upon emfield in order to work. In the last comment I left in the issue queue (http://drupal.org/node/530526#comment-1856956), I pondered whether or not it might be best for development purposes to turn what I have now into a stand alone cck field, as opposed to depending on emfield... Personally I think that it seems to belong to the emfield type of modules, but I can see where they might not want to commit something into that codebase that has such limited use at the moment.
Any thoughts?
Drupal Wave module structure and purpose
Noah,
I see no reason why two modules emwave and emfield would be needed, when one would do the job, but I could be wrong about this. As previously shown, no module at all is needed to access the sandbox and ability to create new waves.
I think the value of a module is that it can provide a configuration interface and perhaps some modeling of the API functions.
Keep up the good work.
Kipp
Would you like to view the values of all site variables one line at a time while your Drupal code is running on a multisite installation on Vista, using open source Eclipse and Xdebug? Visit http://sites.google.com/site/drupaldebugmultisite/ for details.
Would you like to view the values of all site variables one line at a time while your Drupal code is running on a multisite installation on Vista, using open source Eclipse and Xdebug? Visit http://sites.google.com/site/drupaldebugmultisite/ for details.
How to make the first stab work
I am pleased to confirm that noahb's contribution does work with a little bit of manipulation. Unzip his zip file, add it to your custom modules subdirectory (for local development this is likely c:\wamp\www\drupal-6.13\sites\all\modules). This will yield the previously discussed missing Emfield error when you go to your administer modules interface.
After this is done, you need to obtain the Emfield module which is available at http://drupal.org/node/476700. Install this, enable this and you should be good to go.
When you are asked to insert an URL or an embed code, include something that looks like this: "wavesandbox.com!w+W2tKVIzl%A" (without quotes).
Features immediately needed are the ability to display the wave in a larger div, or new window. The configuration settings for background color, size, participants, etc. should be in the edit wave node, not just when the content type is originally created.
Good work noahb. Hope this encourages people to work on your project a bit.
Would you like to view the values of all site variables one line at a time while your Drupal code is running on a multisite installation on Vista, using open source Eclipse and Xdebug? Visit http://sites.google.com/site/drupaldebugmultisite/ for details.
Would you like to view the values of all site variables one line at a time while your Drupal code is running on a multisite installation on Vista, using open source Eclipse and Xdebug? Visit http://sites.google.com/site/drupaldebugmultisite/ for details.
thanks for the great job! I
thanks for the great job!
I am trying to write something between Wave and Drupal too. Here seems to be a good start!
btw, Kipp's signature always confuses me.... a separator above it could help ;p