Forum Home
Press F1
 
Thread ID: 65829 2006-02-01 09:14:00 Converting mixed-case filenames (HTML)? Billy (6701) Press F1
Post ID Timestamp Content User
426095 2006-02-01 09:14:00 Anyone know how I can convert mixed case filenames in HTML code?

For example automatically converting:
<A HREF="Overview_For_Busy_People.htm">Overview For Busy People</A>
to all lowercase as in
<A HREF="overview_for_busy_people.htm">Overview For Busy People</A>?

There must be a FREE utility out there somewhere that will do it automatically! (If not perhaps there's some smart trick I can use involving Search and Replace in MS Word.)

Thanks.

PS Changing the filenames in the directory isn't a problem but changing the filenames in the HTML code itself is.
Billy (6701)
426096 2006-02-01 09:43:00 I downloaded Notetab Light after Greg (I think it was Greg) mentioned it the other day and it should be able to change the tags for you .

Go to Modify > Change HTML tags > To lower case .
FoxyMX (5)
426097 2006-02-01 09:44:00 edit ....find and replace
watch those long file names some browsers dont like them
beama (111)
426098 2006-02-01 09:48:00 You could just highlight ALL the HTML in word and Format>Change Case if your not worried about the tags being in CAPS. HadO (796)
426099 2006-02-01 11:13:00 I downloaded Notetab LightYeah, one of the very few pieces of software that I'd actually pay for, for the pro version, if the Light version wasn't so complete anyway. Greg (193)
426100 2006-02-01 19:02:00 Copy and paste the HTML into MS Word. Select it, hit SHIFT + F3 to switch between UPPERCASE, lowercase and Title Case. pixeldust (6619)
426101 2006-02-01 19:17:00 Thanks, but I was wanting to find a way to make all the changes automatically in one go otherwise it will take me for ever.

1) I will try Notetab & see how I get on.

2) I thought of using MS Word Search & Replace and just changing any text between " " to lowercase. That would presumably leave the tags uppercase and the content in Sentence Case. But how do I tell Word just to change text between quotes to lowercase?

3) I'd much prefer a specialised program!

I want the tags UPPERCASE.
I want the filenames in the HTML code LOWERCASE.

Any other suggestions?
Billy (6701)
426102 2006-02-01 21:55:00 I assume you're NOT using Microsoft IIS, since it doesn't care about case.

Perhaps you're taking it from the wrong side. It may be easier to write a quick command file to change the case of the files.
kingdragonfly (309)
426103 2006-02-02 01:10:00 OK Billy, NoteTab Light will do it .

I should have thought to try it last night but was a little preoccupied, but anyway, pasting your text into NoteTab Light and doing as I suggested in my previous post will convert all HTML tags to lower case . The result is this:


For example automatically converting:
<a href="Overview_For_Busy_People . htm">Overview For Busy People</a>
to all lowercase as in
<a href="overview_for_busy_people . htm">Overview For Busy People</a>

Next go to Modify > Change HTML tags > To upper case to change all the tags back to caps again . The result is this:


For example automatically converting:
<A HREF="Overview_For_Busy_People . htm">Overview For Busy People</A>
to all lowercase as in
<A HREF="overview_for_busy_people . htm">Overview For Busy People</A>

Magic . :cool:
FoxyMX (5)
426104 2006-02-02 01:13:00 Yeah, one of the very few pieces of software that I'd actually pay for, for the pro version, if the Light version wasn't so complete anyway.
Ah, it was you. In that case, thanks for letting us know about it. :)

Yes, it is brilliant and although I had tried it before a long time ago, that was before I was into mucking about with webpages so its usefulness was a bit lost on me then. Now I wouldn't be without it. :cool:
FoxyMX (5)
1 2