The latter.

On Fri, May 28, 2010 at 1:46 AM, Sean McKay <sean.mc...@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
> <moinm...@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.mc...@gmail.com> wrote:
>>> On Wed, May 26, 2010 at 10:16 PM, Mike Fechner
>>> <mike.fech...@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&amp;up_extrafeed=http%3A%2F%2Fnewsrss.bbc.co.uk%2Frss%2Fnewsonline_uk_edition%2Ftechnology%2Frss.xml&amp;up_extratitle=Technology&amp;up_subject=BBC%20News&amp;up_entries=6&amp;up_summaries=300&amp;up_selectedTab=&amp;synd=open&amp;w=320&amp;h=360&amp;title=BBC+News&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js";></script>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Moin-user mailing list
>>> Moin-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/moin-user
>>>
>>
>>
>>
>> --
>> Radomir Dopieralski, http://sheep.art.pl
>>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Moin-user mailing list
> Moin-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>



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

------------------------------------------------------------------------------

_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to