durusmail: quixote-users: display static html pages within Quixote
display static html pages within Quixote
2004-03-28
2004-03-28
2004-03-28
2004-03-28
2004-03-28
2004-03-28
display static html pages within Quixote
vincent delft
2004-03-28
Thanks. This is exactly what I was looking for.

PS : I've had read the documentation, but ...




--- "Jason E. Sibre"  wrote:
> Hmm... Maybe I'm not getting it, but StaticDirectory
> should be able to
> accomodate this.
>
>
http://qxApp/designer-controlled-static-files/page1.html
>
http://qxApp/designer-controlled-static-files/page2.html
>
http://qxApp/designer-controlled-static-files/page3.html
>
http://qxApp/designer-controlled-static-files/dir1/page4.html
>
http://qxApp/designer-controlled-static-files/dir1/page5.html
>
> etc...
>
> Programmatically, all you have to know about is the
> directory that defines
> the top of the hierarchy.  I.e. :
>
> _q_exports = ['designer-controlled-static-files'] #
> + ['...','etc','...']
> designer-controlled-static-files =
>
quixote.util.StaticDirectory('/absolute/path/to/designer/controlled/files')
>
>
> or something along those lines.  Then they can put
> as many HTML files (or
> images, or whatever) as they like under that
> directory, linked to each other
> in any way they like.
>
> Does this help, or am I missing something?
>
>
> Jason
>
>
> > -----Original Message-----
> > From:
>
quixote-users-bounces+jsibre=chironsys.com@mems-exchange.org
> >
>
[mailto:quixote-users-bounces+jsibre=chironsys.com@mems-exchange.org]On
> > Behalf Of vincent delft
> > Sent: Sunday, March 28, 2004 10:47 AM
> > To: qx
> > Subject: Re: [Quixote-users] display static html
> pages within Quixote
> >
> >
> > Sorry, my previous mail was not so well
> formulated...
> >
> > Indeed, the StaticFile exist and is dedicated for
> > that.
> > BUT
> > my problem is a bit more complex:
> >
> > I've got Designers that have build static files
> that
> > links to each others via relative path names.
> > If I not wrong, it's not possible (via StaticFile)
> > functionality to define page like
> > 'page1.html','page2.html', ...
> >
> > I'm looking for a possibility to put some static
> files
> > (in the Quixote directory) that can link to each
> > others.
> >
> >
> > To rephrase it in other words; how build a web
> site
> > that mix static files and ptl files ? (and if
> possible
> > avoiding to modify the static pages)
> >
> >
> >
> >
> >
> >
> >
> > --- vincent delft  wrote:
> > > I'm facing an idiom problem : how to display
> html
> > > pages with quixote ?
> > > I've several "static" page within my Quixote web
> > > site,
> > > and I would like to display them easily.
> > >
> > > By reading carefully the documentation I've
> tried
> > > the
> > > _q_lookup functionality :
> > > "
> > > def _q_lookup(req,name):
> > >     if os.path.isfile(name):
> > >         return
> htmltext(open(name,str('r')).read())
> > > "
> > >
> > > My apache config is (no rewrite) :
> > >         
> > >                  SetHandler scgi-handler
> > >                  SCGIServer 127.0.0.1 4002
> > >                  SCGIHandler On
> > >                  Options -Multiviews
> > >         
> > >
> > >
> > > This way the url : "/quixote/test.html" works.
> > >
> > > Does this is the best way to do it ?
> > > Other idea ?
> > >
> > > Thanks
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Finance Tax Center - File online. File on
> > > time.
> > > http://taxes.yahoo.com/filing.html
> > >
> > > _______________________________________________
> > > Quixote-users mailing list
> > > Quixote-users@mems-exchange.org
> > >
> >
>
http://mail.mems-exchange.org/mailman/listinfo/quixote-users
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Finance Tax Center - File online. File on
> time.
> > http://taxes.yahoo.com/filing.html
> >
> > _______________________________________________
> > Quixote-users mailing list
> > Quixote-users@mems-exchange.org
> >
>
http://mail.mems-exchange.org/mailman/listinfo/quixote-users
> >
>
>
> _______________________________________________
> Quixote-users mailing list
> Quixote-users@mems-exchange.org
>
http://mail.mems-exchange.org/mailman/listinfo/quixote-users


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


reply