[Moin-user] Embed Google Gadgets in MoinMoin

Sean McKay sean.mckay at gmail.com
Thu May 27 02:10:52 EDT 2010


On Wed, May 26, 2010 at 10:16 PM, Mike Fechner
<mike.fechner at consultingwerk.de> wrote:
> Is it even possible to embed a Google Gadget in a web page? AFAIK it's just something to run on the Windows Desktop, not in a browser.

Good question. Yes, it is possible to embed a Google Gadget in any web
page. The development documentation site for Google Gadgets is:

http://code.google.com/apis/gadgets/docs/dev_guide.html

> If it could run on a browser, there will be ways to generate the required HTML code to embed that. Maybe you have sample HTML code?

A sample Google Gadget looks like the following:

<?xml version="1.0" encoding="UTF-8" ?>
<Module>
  <ModulePrefs title="hello world example" />
  <Content type="html">
     <![CDATA[
       Hello, world!
     ]]>
  </Content>
</Module>

The Gadget then must be hosted in a variety of possible locations and
then embedded in your site with code similar to:

<script src="http://www.gmodules.com/ig/ifr?url=http://shazingo.com/lig/lg/142002.xml&up_extrafeed=http%3A%2F%2Fnewsrss.bbc.co.uk%2Frss%2Fnewsonline_uk_edition%2Ftechnology%2Frss.xml&up_extratitle=Technology&up_subject=BBC%20News&up_entries=6&up_summaries=300&up_selectedTab=&synd=open&w=320&h=360&title=BBC+News&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>




More information about the Moin-user mailing list