Actually, if you just set the html file mime type to be text/html it
will work.

Here is the one I did:  
http://verlet.googlecode.com/svn/VerletDemo/demo/index.html

On Dec 27 2009, 4:40 am, Toby <[email protected]> wrote:
> ah, do you mean that in step 2, I create a widget based on your
> example that will render theHTMLpage, upload this to the net
> (probably in my Subversion repository), then in step 3, markup a wiki
> page to point to 2?
>
> I'll give it a go!
>
> On Dec 26, 5:32 pm, Toby <[email protected]> wrote:
>
> > Thanks for the reply, I'm not having much luck getting this working
> > though. Do you have any other examples? I would use them straight in a
> > google code hosted wiki page?
>
> > Is that going to work forHTMLfiles? You mention XML above?
>
> > Cheers
>
> > On Dec 26, 1:25 pm, zwetan <[email protected]> wrote:
>
> > > Hi,
>
> > > you can host everything on google code
>
> > > 1. define the correct mime type for yourHTMLcontent when you commit
> > > eg.
> > > svn:mime-type
> > > text/xml
>
> > > 2. define an xml widget
> > >     <?xml version="1.0" encoding="UTF-8" ?>
> > > <Module>
> > >   <ModulePrefs title="your doc title" width="400" height="600"
> > > scrolling="true" />
> > >   <Content type="url" href="http://projectname.googlecode.com/svn/doc/
> > > index.html" />
> > > </Module>
>
> > > 3. use the widget in the wiki page directly
> > >     <wiki:gadget url="http://projectname.googlecode.com/svn/path/
> > > doc.xml" width="100%" height="600" border="0" />
>
> > > seehttp://code.google.com/p/support/wiki/WikiSyntax#Gadgets
>
> > > cheers,
> > > zwetan
-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en.


Reply via email to