NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page • words in link from lower case To Title Case... HOW?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 02-04-2006, 12:51 PM THREAD STARTER               #1 (permalink)
Senior Member
 
Prosperous's Avatar
Join Date: Jun 2003
Location: United States of Euphoria
Posts: 3,692
Prosperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant future
 



Question • words in link from lower case To Title Case... HOW?


I have a bunch of 500 KB html pages, each containing over 9,000 links. The link-title words are currently all lower case, but I'd like to have each word Capitalized ('Title Case').

Dreamweaver can't do this automated, so does anyone know which HTML editor (freeware, or fully functioning trial) can? I searched and searched in Google etc. hoping to find a capable HTML editor, but no luck so far.

Please have a look at this example http://captaincruiseline.com/example.htm to see what exactly I need done.

Thanks in advance,
Rob
__________________
════► Great American City names? Get Yours CHEAP! [INSTANT download]
Prosperous is offline  
Old 02-04-2006, 01:11 PM   #2 (permalink)
NamePros Regular
 
moondog's Avatar
Join Date: Jun 2004
Posts: 587
moondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to allmoondog is a name known to all
 



Judging by your example, this task shoud be pretty straight forward to write in PHP.


All you have to do is search for the <a href> and </a> tags, take everyting between them and capitalize the words. . . It would only take about an hour to write and test this script.

-Bob
__________________
Can't wait to be out of this forsaken business. Getting close! :)
moondog is offline  
Old 02-04-2006, 01:32 PM THREAD STARTER               #3 (permalink)
Senior Member
 
Prosperous's Avatar
Join Date: Jun 2003
Location: United States of Euphoria
Posts: 3,692
Prosperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant future
 



Thanks,
But unfortunately I don't do PHP, so that's why I asked for software recommendations instead. Also, with such big files, a (browser-based) script may not be able to pull it off.



Originally Posted by moondog
Judging by your example, this task shoud be pretty straight forward to write in PHP.
????: NamePros.com http://www.namepros.com/programming/164454-words-link-lower-case-title-case.html


All you have to do is search for the <a href> and </a> tags, take everyting between them and capitalize the words. . . It would only take about an hour to write and test this script.

-Bob
__________________
════► Great American City names? Get Yours CHEAP! [INSTANT download]
Prosperous is offline  
Old 02-04-2006, 01:52 PM   #4 (permalink)
tm
Senior Member
 
tm's Avatar
Join Date: Nov 2005
Location: on a oil rig just off Ireland
Posts: 1,408
tm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of lighttm is a glorious beacon of light
 



theres a way to do it in CSS if you don't want to make it permanent.
Code:
text-transform: uppercase;
__________________
You design in photoshop, I code into valid XHTML/CSS.
Professional PSD, PNG or HTML to tableless XHTML/CSS designs.
For more info, send me a PM.
tm is offline  
Old 02-04-2006, 01:56 PM THREAD STARTER               #5 (permalink)
Senior Member
 
Prosperous's Avatar
Join Date: Jun 2003
Location: United States of Euphoria
Posts: 3,692
Prosperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant future
 



Thanks, but these are not CSS based html pages, and I am not very familiar with CSS either.
Plus wouldn't what you suggested make the whole line in CAPS, as supposed to just the first letter of each word?
__________________
════► Great American City names? Get Yours CHEAP! [INSTANT download]
Prosperous is offline  
Old 02-04-2006, 05:50 PM   #6 (permalink)
NamePros Regular
 
Rowan W's Avatar
Join Date: Dec 2004
Location: QLD, Australia
Posts: 713
Rowan W will become famous soon enough
 



I think what "tm" meant was to put this code in your <head></head> tag:
????: NamePros.com http://www.namepros.com/showthread.php?t=164454

Code:
<head>
<style type="text/css">
a:link {
  text-transform: capitalize;
}
</style>
</head>
This will change every single link on a page to use capitalization. In Other Words The Links Will Look Like This.

Edit: here's more info - http://www.w3.org/TR/1998/WD-css2-19...html#caps-prop
Last edited by Rowan W; 02-04-2006 at 05:57 PM.
Rowan W is offline  
Old 02-04-2006, 06:45 PM THREAD STARTER               #7 (permalink)
Senior Member
 
Prosperous's Avatar
Join Date: Jun 2003
Location: United States of Euphoria
Posts: 3,692
Prosperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant futureProsperous has a brilliant future
 



Code:
<head>
<style type="text/css">
a:link {
  text-transform: capitalize;
}
</style>
</head>
Cheers,

That works! It was not the way I needed it, but for this purpose it will do just fine.
Thanks everyone that posted for helping find a solution.

Rob
__________________
════► Great American City names? Get Yours CHEAP! [INSTANT download]
Prosperous is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
FREE Web Directory Script * Hot Links Sql ! Ferman Domains For Sale - Make Offer 3 12-05-2005 12:57 AM
Hot Links SQL ( Web Directory Script ) License with $24.95 discount Ferman Scripts For Sale 1 10-23-2005 01:17 AM
google ranking (Tips) lilgee Search Engines 8 10-20-2005 03:04 PM
Good Article: An SEO Checklist Ferman Search Engines 2 05-28-2005 11:51 AM
Do You Believe Kerry? Wesley The Break Room 48 05-11-2004 11:14 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:09 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger