[Moin-user] Embed Google Gadgets in MoinMoin

Radomir Dopieralski moinmoin at sheep.art.pl
Fri May 28 04:53:57 EDT 2010


The latter.

On Fri, May 28, 2010 at 1:46 AM, Sean McKay <sean.mckay at gmail.com> wrote:
> Ok, so I see that I could write a macro that would be given the URL
> for the Google Gadget and then output the wrapper <script...>
> </script> bits around the URL that I've put in the wrapper.
>
> Do I need to do something special to tell Moin to allow the <script>
> tag or will it assume it's safe if it's being generated by a macro
> that I've written?
>
> On Thu, May 27, 2010 at 1:12 AM, Radomir Dopieralski
> <moinmoin at sheep.art.pl> wrote:
>> It's very easy to write a macro that would output that html code --
>> there is a quick tutorial on the HelpOnMacros page.
>>
>> On Thu, May 27, 2010 at 8:10 AM, Sean McKay <sean.mckay at gmail.com> wrote:
>>> 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>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Moin-user mailing list
>>> Moin-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/moin-user
>>>
>>
>>
>>
>> --
>> Radomir Dopieralski, http://sheep.art.pl
>>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>



-- 
Radomir Dopieralski, http://sheep.art.pl




More information about the Moin-user mailing list