| Author |
Message |
Eric Jacobsen
Guest
|
Posted:
Sun Dec 04, 2005 11:55 pm Post subject:
OT: HTML strangeness on FE pages |
|
|
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 |
|
| Back to top |
|
 |
Fred Marshall
Guest
|
Posted:
Mon Dec 05, 2005 12:22 am Post subject:
Re: HTML strangeness on FE pages |
|
|
"Eric Jacobsen" <eric.jacobsen@ieee.org> wrote in message
news:lva6p11on7j67m5s2mv5n9jsib8pp7bp19@4ax.com...
| Quote: | 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 |
|
| Back to top |
|
 |
Peter K.
Guest
|
Posted:
Mon Dec 05, 2005 1:15 am Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
Eric Jacobsen <eric.jacobsen@ieee.org> writes:
| Quote: | 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. |
|
| Back to top |
|
 |
Peter K.
Guest
|
Posted:
Mon Dec 05, 2005 1:16 am Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
Eric Jacobsen <eric.jacobsen@ieee.org> writes:
| Quote: | 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.
| Quote: | Ah, well, I'll have to see how good their support staff is, I suppose.
|
:-)
Ciao,
Peter K. |
|
| Back to top |
|
 |
Eric Jacobsen
Guest
|
Posted:
Mon Dec 05, 2005 1:16 am Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
On 04 Dec 2005 16:11:45 -0500, p.kootsookos@remove.ieee.org (Peter K.)
wrote:
| Quote: | 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 |
|
| Back to top |
|
 |
Tim Wescott
Guest
|
Posted:
Mon Dec 05, 2005 9:16 am Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
Eric Jacobsen wrote:
| Quote: | 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 |
|
| Back to top |
|
 |
Jim Thomas
Guest
|
Posted:
Mon Dec 05, 2005 5:16 pm Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
Tim Wescott wrote:
| Quote: | 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 |
|
| Back to top |
|
 |
Stan Pawlukiewicz
Guest
|
Posted:
Mon Dec 05, 2005 5:16 pm Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
Eric Jacobsen wrote:
| Quote: | 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. |
|
| Back to top |
|
 |
Peter K.
Guest
|
Posted:
Mon Dec 05, 2005 5:16 pm Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
Jim Thomas wrote:
| Quote: | 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. |
|
| Back to top |
|
 |
Martin Blume
Guest
|
Posted:
Tue Dec 06, 2005 1:16 am Post subject:
Re: HTML strangeness on FE pages |
|
|
"Eric Jacobsen" schrieb
| Quote: | 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 |
|
| Back to top |
|
 |
Eric Jacobsen
Guest
|
Posted:
Thu Dec 08, 2005 12:42 am Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
On 5 Dec 2005 08:22:19 -0800, "Peter K." <p.kootsookos@iolfree.ie>
wrote:
| Quote: |
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.
|
Yes, the .m files in question use the pre-formatted escape indicators
just like Peter has shown, so that's not the problem (it used to
work).
I haven't had a chance to get back to this but can try some of these
things. I'd like to leave the files with the .m extension since
people can right-click if they so desire from the sourcing page.
My news server went off its meds for a few days, too, and I'm just now
getting back to being able to read this stuff.
Cheers,
Eric Jacobsen
Minister of Algorithms, Intel Corp.
My opinions may not be Intel's opinions.
http://www.ericjacobsen.org |
|
| Back to top |
|
 |
Eric Jacobsen
Guest
|
Posted:
Sat Dec 10, 2005 1:16 am Post subject:
Re: OT: HTML strangeness on FE pages |
|
|
OKay, it's fixed now, but in a cheesy manner. I changed the file
extensions to .txt as suggested and now it works. So the webhost has
some special consideration for .m extensions....grrr...
On Wed, 07 Dec 2005 11:42:12 -0700, Eric Jacobsen
<eric.jacobsen@ieee.org> wrote:
| Quote: | On 5 Dec 2005 08:22:19 -0800, "Peter K." <p.kootsookos@iolfree.ie
wrote:
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.
Yes, the .m files in question use the pre-formatted escape indicators
just like Peter has shown, so that's not the problem (it used to
work).
I haven't had a chance to get back to this but can try some of these
things. I'd like to leave the files with the .m extension since
people can right-click if they so desire from the sourcing page.
My news server went off its meds for a few days, too, and I'm just now
getting back to being able to read this stuff.
Cheers,
Eric Jacobsen
Minister of Algorithms, Intel Corp.
My opinions may not be Intel's opinions.
http://www.ericjacobsen.org
Eric Jacobsen |
Minister of Algorithms, Intel Corp.
My opinions may not be Intel's opinions.
http://www.ericjacobsen.org |
|
| Back to top |
|
 |
|
|
|
|