LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Replace links with Lowercase

[ILUG] Replace links with Lowercase

Ian Spillane iantheteacher at gmail.com
Mon Jan 15 18:35:32 GMT 2007


Folks,

I've been watching this thread for solutions. It's a problem that has
annoyed me for sometime and comes up now in education with "learning
objects" - they're SCORM-compliant zipped websites for online
training. People make em in Windows and then they get all funny, like
any website, in Linux.

So I gave up and wrote the script. It worked for me and seems to fix
everything - though there no doubt some tags with URLs ignored.

The script replaces all file names in a folder to lowercase and swap
underscores for spaces and replaces all <a> <img> and some other tags
to lowercase (some collateral damage to titles may occur of course).

Its at:

http://iantheteacher.blogspot.com/2007/01/fix-website-urls.html

And since I'm on the subject, can anyone help me see why my blog
postings are the only ones screwed up on planet.ilug?

Ian

On 1/15/07, Jeroen Massar <jeroen at unfix.org> wrote:
> Sonic wrote:
> [..]
> > Darn my word skipping brain. That totally threw me.
>
> <grin>
>
> > Thanks for bringing my attention to this. Sorry to Jeroen!
>
> Oh no worries, just blame it on the simple fact that I am not a native
> English speaker and thus jumble with words too much ;)
>
> Greet,
>  Jeroen
>
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>


-- 
Ian Spillane
Cork College of Commerce
Morrison's Island, Cork, Ireland

http://www.corkcollegeofcommerce.ie
p +353-21-4222100 f 4275075



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell