Frontpage is for mullets

w1z4rd

Karmic Sangoma
Joined
Jan 17, 2005
Messages
52,146
Reaction score
8,340
Location
127.0.0.1
I mean seriously... whaaaaaaaaaaaaaaaat the cluck!

Frontpage produces the following code:

Code:
img src="myWebsite\Image2009.JPG"

but the actual folder and image is
Code:
mywebsite\image2009.jpg

Move the site across and due to the case sensitivity the site doesnt work.

Now I have to go through all his code to fix up MS Frontpage stupidity :(

Frontpage makes pandas cry :(
 
If only that was the WORST part about frontfail :-/
 
then why the hell are you using it.

_I_ am not using FP. Normally I wouldnt even touch FP with Pete`s computer, but in this case I have to. Its one of my clients :( So now I am going through this cruddy website a line of code at a time.
 
In Linux do:
Code:
for FILE in *.html
do
  NEWFILE=`echo $FILE |sed 's/./\L&/g'`
  echo "Moving $FILE to $NEWFILE"
  mv $FILE $NEWFILE
done
Can first comment the "mv ..." part to test.
This will replace all "*.html" filenames with lower case versions.
Thus FooBar.html -> foobar.html

By making some changes, you will change the content of the file to lowercase:
Code:
for FILE in *.html
do
  NEWFILE=$FILE.new
  sed -i 's/./\L&/g' $FILE > $NEWFILE
  echo "Moving $FILE to $NEWFILE"
  mv $NEWFILE $FILE
done
 
If I remember correctly, there is an option within FrontPage that tells it to stop F*%$ing around with your code. Have you got that set?
 
http://technet.microsoft.com/en-us/library/cc750051.aspx
UpperCaseTags

A non-zero value for this parameter causes all HTML tags to be converted to uppercase when the FrontPage 98 Server Extensions reformat HTML pages. Default = 0

PreserveTagCase

When set to "Y" or a non-zero value, attempts to preserve the case of HTML tag attributes when the FrontPage 98 Server Extensions reformats HTML pages. Note that the tag itself will always be upper- or lower-case according to the UpperCaseTags attribute. Defaults to 0.
 
If I remember correctly, there is an option within FrontPage that tells it to stop F*%$ing around with your code. Have you got that set?

There is a shortcut to this command: Click 'File'. Click 'Exit'. Open Notepad. :D

Notepad coder for over a decade. ;) Old school.
 
We all have to start somewhere, I started with websites back in the days of Adobe PageMill and GoLive4/5... the source code was for total geeks to look at... after 1 year of WYSIWYG HTML editors I'd had enough... started learning to hand code myself... then got stuck into javascript and MS ASP... got irritated by MS ASP... got my hands dirty with PHP and never looked back...

Presently use NetBeans IDE for PHP scripting... it's great... and so much more stable than Eclipse...
 
You could speed it up:
Open all files with Notepad++
Ctrl + A
TextFX > TextFX Characters > lower case
 
You could also try Expression Web 3. I'm using that currently and it produces clean code. I haven't tried out Dreamweaver since version 4, so I can't comment on the latest one.
 
I mean seriously... whaaaaaaaaaaaaaaaat the cluck!

Frontpage produces the following code:

Code:
img src="myWebsite\Image2009.JPG"

but the actual folder and image is
Code:
mywebsite\image2009.jpg

Move the site across and due to the case sensitivity the site doesnt work.

Now I have to go through all his code to fix up MS Frontpage stupidity :(

Frontpage makes pandas cry :(

hehe, it's your own fault for using it! It's production was stopped in 2003 and support in 2005. We, and I'm sure many other hosting companies, don't support it on our servers at all anymore for this very reason.

Get the new Microsoft Web Developer Express, if you want to go that route, or learn how to use a proper IDE, like Nuspere / Eclipse / Zend Studio / phpdesigner, or even something like Komposer for that matter - they all have different features and pro's & con's but I'm sure you'll find something you like :)
 
_I_ am not using FP. Normally I wouldnt even touch FP with Pete`s computer, but in this case I have to. Its one of my clients :( So now I am going through this cruddy website a line of code at a time.


If I remember correctly, there is an option within FrontPage that tells it to stop F*%$ing around with your code. Have you got that set?

The post before yours... yup.. that one... I quoted it again for you.

hehe, it's your own fault for using it! It's production was stopped in 2003 and support in 2005. We, and I'm sure many other hosting companies, don't support it on our servers at all anymore for this very reason.

http://mybroadband.co.za/vb/showthr...-for-mullets&p=4095367&viewfull=1#post4095367 or read the top quote. Thanks anyways.
There is a shortcut to this command: Click 'File'. Click 'Exit'. Open Notepad. :D

Notepad coder for over a decade. ;) Old school.

Notepad is for noobs. I either vi or nano ;)

In Linux do:
Code:
for FILE in *.html
do
  NEWFILE=`echo $FILE |sed 's/./\L&/g'`
  echo "Moving $FILE to $NEWFILE"
  mv $FILE $NEWFILE
done
Can first comment the "mv ..." part to test.
This will replace all "*.html" filenames with lower case versions.
Thus FooBar.html -> foobar.html

By making some changes, you will change the content of the file to lowercase:
Code:
for FILE in *.html
do
  NEWFILE=$FILE.new
  sed -i 's/./\L&/g' $FILE > $NEWFILE
  echo "Moving $FILE to $NEWFILE"
  mv $NEWFILE $FILE
done

Now thats useful.

Thanks for the .nfo peeps.
 
Last edited:
Unfortunately it will make everything lower case, which is probably not what is wanted :p

It will a little, I have mostly gone though it line by line in the code, fixing what MS screwed up with its EEE policies.
 
Top
Sign up to the MyBroadband newsletter
X