[Clipart] Re: Shell.php

Alberto Simões hashashin at gmail.com
Tue Jun 29 06:30:01 PDT 2004


Jon, didn't understand quite well your mail.
What I noticed is that the generated HTML by shell.php still includes
the relative URL.

My tool, what it does, is fetch shell.php output from the
openclipart.org site and replace the $CONTENT$.

Cheers,
Alb

On Tue, 29 Jun 2004 06:23:55 -0700, Jon Phillips <jon at rejon.org> wrote:
> 
> Well, the reason the $site_root hack was done was so that ppl can work
> on the site locally using their own apache. If the CSS is made absolute,
> this becomes difficult. Thus, I have changed the session variable for
> the stylesheet to be fully absolute:
> 
> $_SESSION['css'] = 'http://www.openclipart.org/css/base.css';
> 
> Can you change to /css/base.css if the full URL is not needed. I really
> hate putting the full URL in there, but if must, then must.
> 
> It should work now if you update your copy of shell.php.
> 
> Check in shell.php for how I fixed this.
> 
> Jon
> 
> 
> 
> 
> On Tue, 2004-06-29 at 04:26, Alberto Simões wrote:
> > Jon, Bryce and folks,
> >
> > Check
> >  http://alfarrabio.di.uminho.pt/albin/navigate
> >
> > Where I am using the shell.php. It seems that all is correct _but_ the css link.
> > Is it possible to change it on the php to have a full qualified URL,
> > or is better I hack it with my perl code?
> >
> > Cheers,
> > Alberto
> >
> > On Tue, 29 Jun 2004 04:15:30 -0700, Jon Phillips <jon at rejon.org> wrote:
> > >
> > > I haven't worked on the site for a few days and didn't restructure
> > > anything that would break the aforementioned.
> > >
> > > I did just look at the site and someone did commit a change that I
> > > changed back to the working variety. Someone tried to maake the
> > > $site_root be their local web working directory. I detail on the wiki
> > > how to properly do this, but this hack below which is at the top of each
> > > file allows for changing where the file references in the file
> > > hierarchy. Yes, it is a hack and I'm sure there is a better solution.
> > >
> > >     $site_root = '';
> > >     include $site_root . "includes/header.php";
> > >
> > > Thus, shell.php should work just fine...continue with your brilliant
> > > progress...
> > >
> > > Jon
> > >
> > >
> > >
> > > On Mon, 2004-06-28 at 23:55, Bryce Harrington wrote:
> > > > I do not see how my removal of <base> broke things, but it's fixed now.
> > > >
> > > > Bryce
> > > >
> > > > On Mon, 28 Jun 2004, [ISO-8859-1] Alberto Simões wrote:
> > > >
> > > > > Bryce,
> > > > >   are you sure you changed only the <base> tag? I am asking this
> > > > > because shell.php is being shown wrong in its place
> > > > > (http://www.openclipart.org/shell.php) and that can't be a base path
> > > > > issue.
> > > > >
> > > > > Cheers,
> > > > > Alberto
> > > > >
> > > > > On Mon, 28 Jun 2004 09:59:44 -0700 (PDT), Bryce Harrington
> > > > > <bryce at bryceharrington.com> wrote:
> > > > > >
> > > > > > I had to remove the <base> tag last night because it was breaking the
> > > > > > download page and other areas of the site, which we only noticed after
> > > > > > the 0.04 release.  So we need to figure out a better solution to
> > > > > > shell.php.
> > > > > >
> > > > > > Please give more specific details as to how it is not working, so we can
> > > > > > figure out other work-arounds.
> > > > > >
> > > > > > Bryce
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Mon, 28 Jun 2004, [ISO-8859-1] Alberto Simões wrote:
> > > > > >
> > > > > > > Bryce, and folks,
> > > > > > >
> > > > > > > shell.php is not working as expected.
> > > > > > >
> > > > > > > Thanks
> > > > > > > Alberto
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > > _______________________________________________
> > > > clipart mailing list
> > > > clipart at freedesktop.org
> > > > http://freedesktop.org/mailman/listinfo/clipart
> > > --
> > > Jon Phillips
> > > Graduate Researcher
> > > Visual Arts Department
> > >
> > > PO BOX 948667
> > > LA JOLLA, CA
> > > 92037
> > > USA
> > >
> > > cell.858.361.2811
> > > jon at rejon.org
> > > http://www.rejon.org
> > >
> > >
> --
> Jon Phillips
> Graduate Researcher
> Visual Arts Department
> 
> PO BOX 948667
> LA JOLLA, CA
> 92037
> USA
> 
> cell.858.361.2811
> jon at rejon.org
> http://www.rejon.org
> 
> 


-- 
Alberto Simões




More information about the clipart mailing list