DSPRelated.com
Forums

OT: HTML strangeness on FE pages

Started by Eric Jacobsen December 4, 2005
Hey all, this is a bit off topic but I thought I'd post here as
somebody may know what the problem is.

I've ported my web stuff to a new host and now the links to the matlab
code no longer work.   Specifically, if you go to the bottom of:

http://www.ericjacobsen.org/fe2/fe2.htm

and try to get any of the matlab source files it claims the page
doesn't exist (at least, that's what it does when I try it).   I've
double, triple, quadruple checked that the files are there, even
deleted and reloaded them once, but it can't find them.   The file
names match the hrefs in the fe2.htm source.

If you go to Peter K's site with the previous code on it at

http://home.comcast.net/~kootsoop/freqalgs.htm

he uses slightly different html code but the idea is the same, and it
works fine even on my browser.

This stuff used to work, it just seems that it's broken lately and I'm
pretty confused as to why.  Any help is appreciated.

Eric Jacobsen
Minister of Algorithms, Intel Corp.
My opinions may not be Intel's opinions.
http://www.ericjacobsen.org
"Eric Jacobsen" <eric.jacobsen@ieee.org> wrote in message 
news:lva6p11on7j67m5s2mv5n9jsib8pp7bp19@4ax.com...
> Hey all, this is a bit off topic but I thought I'd post here as > somebody may know what the problem is. > > I've ported my web stuff to a new host and now the links to the matlab > code no longer work. Specifically, if you go to the bottom of: > > http://www.ericjacobsen.org/fe2/fe2.htm > > and try to get any of the matlab source files it claims the page > doesn't exist (at least, that's what it does when I try it). I've > double, triple, quadruple checked that the files are there, even > deleted and reloaded them once, but it can't find them. The file > names match the hrefs in the fe2.htm source. > > If you go to Peter K's site with the previous code on it at > > http://home.comcast.net/~kootsoop/freqalgs.htm > > he uses slightly different html code but the idea is the same, and it > works fine even on my browser. > > This stuff used to work, it just seems that it's broken lately and I'm > pretty confused as to why. Any help is appreciated.
Eric, If you use something like Dreamweaver then the root reference may have been perturbed. It's happened to me! Now, that doesn't explain why the link appears to point to where you want it but I can't tell where you want it for sure! I see: www.ericjacobsen.org/fe2/inttst3.m etc. so either the files are really there or not one would have to imagine. What happens if you ftp to the site and look at the directory? Oh, yeah, you already deleted and added them back.... hmmmmm.. Not much help here I guess. Maybe these files aren't marked for reading..... now *that* would cause this to happen. Fred
Eric Jacobsen <eric.jacobsen@ieee.org> writes:

> Hey all, this is a bit off topic but I thought I'd post here as > somebody may know what the problem is. > > I've ported my web stuff to a new host and now the links to the matlab > code no longer work. Specifically, if you go to the bottom of: > > http://www.ericjacobsen.org/fe2/fe2.htm > > and try to get any of the matlab source files it claims the page > doesn't exist (at least, that's what it does when I try it). I've > double, triple, quadruple checked that the files are there, even > deleted and reloaded them once, but it can't find them. The file > names match the hrefs in the fe2.htm source.
The links seem broken, but I suspect it's a file permission issue. If I try: http://www.ericjacobsen.org/fe2/inttst3.m I get the standard 404 error from Microsoft. If I try something random: http://www.ericjacobsen.org/fe2/sdfds then I get an error generated by your ISP. So I suspect that the files are there, they've just not got the right permissions. See if the files (or the fe2 directory) has given read permissions to the appropriate process / user. HTH, Peter K.
On 04 Dec 2005 16:11:45 -0500, p.kootsookos@remove.ieee.org (Peter K.)
wrote:

>The links seem broken, but I suspect it's a file permission issue. > >If I try: > >http://www.ericjacobsen.org/fe2/inttst3.m > >I get the standard 404 error from Microsoft. If I try something random: > >http://www.ericjacobsen.org/fe2/sdfds > >then I get an error generated by your ISP. > >So I suspect that the files are there, they've just not got the right >permissions. > >See if the files (or the fe2 directory) has given read permissions to >the appropriate process / user. > >HTH, > >Peter K.
You may be right, and I'm not certain how to change it. I copied the .m files with the same utility (ws_ftp) that I used to copy the graphics and .htm files, and at the same time, so I don't know why it would treat them differently. Perhaps the hosting company reserves the .m file extension for something else and it does have different permissions. Ah, well, I'll have to see how good their support staff is, I suppose. Eric Jacobsen Minister of Algorithms, Intel Corp. My opinions may not be Intel's opinions. http://www.ericjacobsen.org
Eric Jacobsen <eric.jacobsen@ieee.org> writes:

> You may be right, and I'm not certain how to change it. I copied the > .m files with the same utility (ws_ftp) that I used to copy the > graphics and .htm files, and at the same time, so I don't know why it > would treat them differently. Perhaps the hosting company reserves > the .m file extension for something else and it does have different > permissions.
That's a thought: try changing the extension to ".txt" and see what happens.
> Ah, well, I'll have to see how good their support staff is, I suppose.
:-) Ciao, Peter K.
Eric Jacobsen wrote:
> On 04 Dec 2005 16:11:45 -0500, p.kootsookos@remove.ieee.org (Peter K.) > wrote: > > >>The links seem broken, but I suspect it's a file permission issue. >> >>If I try: >> >>http://www.ericjacobsen.org/fe2/inttst3.m >> >>I get the standard 404 error from Microsoft. If I try something random: >> >>http://www.ericjacobsen.org/fe2/sdfds >> >>then I get an error generated by your ISP. >> >>So I suspect that the files are there, they've just not got the right >>permissions. >> >>See if the files (or the fe2 directory) has given read permissions to >>the appropriate process / user. >> >>HTH, >> >>Peter K. > > > You may be right, and I'm not certain how to change it. I copied the > .m files with the same utility (ws_ftp) that I used to copy the > graphics and .htm files, and at the same time, so I don't know why it > would treat them differently. Perhaps the hosting company reserves > the .m file extension for something else and it does have different > permissions. >
You could also embed the files into HTML. IIRC the keyword is <CODE> and it just prints anything inside verbatim and in a fixed-width font. I cannot remember the details, but I know it's there. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
Eric Jacobsen wrote:
> Hey all, this is a bit off topic but I thought I'd post here as > somebody may know what the problem is. > > I've ported my web stuff to a new host and now the links to the matlab > code no longer work. Specifically, if you go to the bottom of: > > http://www.ericjacobsen.org/fe2/fe2.htm > > and try to get any of the matlab source files it claims the page > doesn't exist (at least, that's what it does when I try it). I've > double, triple, quadruple checked that the files are there, even > deleted and reloaded them once, but it can't find them. The file > names match the hrefs in the fe2.htm source. > > If you go to Peter K's site with the previous code on it at > > http://home.comcast.net/~kootsoop/freqalgs.htm > > he uses slightly different html code but the idea is the same, and it > works fine even on my browser. > > This stuff used to work, it just seems that it's broken lately and I'm > pretty confused as to why. Any help is appreciated. > > Eric Jacobsen > Minister of Algorithms, Intel Corp. > My opinions may not be Intel's opinions. > http://www.ericjacobsen.org
Permissions maybe.
Tim Wescott wrote:
> You could also embed the files into HTML. IIRC the keyword is <CODE> > and it just prints anything inside verbatim and in a fixed-width font. I > cannot remember the details, but I know it's there. >
I think you're talking about the <pre> tag (IIRC, that stands for pre-formatted). -- Jim Thomas Principal Applications Engineer Bittware, Inc jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536 The real fun of living wisely is that you get to be smug about it. - Hobbes
Jim Thomas wrote:

> I think you're talking about the <pre> tag (IIRC, that stands for > pre-formatted).
Yup, that's what I use on my .m files: % <PRE> function omegahat = discperiod(signal) %DISCPERIOD Find the discrete-frequency periodogram maximizer : : : %</PRE> Ciao, Peter K.
"Eric Jacobsen" schrieb 
> Hey all, this is a bit off topic but I thought I'd post > here as somebody may know what the problem is. > > [... HTML strangeness ...] >
Also, on your other FE page, http://www.ericjacobsen.org/intpfigs.mcd is not there. Perhaps the server is configured only to deliver file types it knows about? HTH Martin