herbal penis size puppetry

just another regularban.info web blog

MEMBERS:

Using Perl To Convert Hyperlinks And Filenames To Lowercase

Like a lot of web developers, I'm not always that disciplined when it comes to the file naming convention I use and I sometimes end up with a situation whereby I have some files that are in lowercase, some that begin with a capital, and some that are a bit of a mixture.

One web site I maintain contains about 2000 web pages and has about 20,000 hyperlinks. As you can imagine, I had one of those sinking feelings when I was told that in order to migrate the web site to a new content management system, all the file names and hyperlinks would need to be changed to lowercase.

Whenever I am presented with a problem like this, my instinct is always to write a Perl script using one or more regular expressions to solve the problem. This particular situation was no exception.

Change a string to lowercase

The following regular expression changes all the characters in a string to lowercase. The first part of the regular expression finds a hyperlink, and the second part converts the string. (Just in case this article is not displayed correctly, there should be a single backslash in front of the 'L$1').

1. $line =~ s/<a href="(.*?)"/<a href="L$1"/gs;

Change a filename to lowercase

Likewise, changing a filename itself is very simple. The following two lines perform the task quite nicely:

1. use File::Copy; 2. move ("$name", "L$name");

(Again, there should be a single backslash in front of the 'L$name'.)

If you need more information on how to incorporate the above code snippets into a complete script, feel free to contact me directly.

About the Author: John Dixon is a freelance web developer working for My Health Questions Matter, a company that helps users of the health service to ask the right questions in their dealings with health professionals.

John is also interested in computer history and maintains a Computer History web site.

Through his own company John Dixon Technology Ltd, John does web development work for various companies.

 


Pointers to Designing a Successful Website

Creation of a website is not as simple as it used to be, thanks to Google and its innumerable algorithm changes. Surely, you want to create a website to carve an online presence. You could make the swankiest website, but if it does not receive eyeballs (aka traffic), it is worth little to you.

There are a lot of things to keep in mind before you set out to plan your website design, layout, content and other details. With the power of Google looming large over the Internet world, you could well be doomed if your site does not feature high in Google rankings. While Google rankings may not be your current concern, with the nuances of the website to take care of, it is advantageous to keep it in mind while deciding your site layout, content and coding language. More on that in the next article. Lets deals with simple non-technical stuff first.

While many people build websites to please the search engines, do not ignore your human visitors completely. Remember, they are your primary audience. You need to find the right balance, make your website meet the requirements of both.

Your website should have a specific goal. It could be to create an online presence, provide information, make money, generate leads, or just about anything. Next, you need to chalk out a plan for the development of the website. Be aware of the target audience. The audience could be local, international, young, old, men or women, students, professionals. Once you know the segment of people you want to attract, you will find it easier to decide upon the layout, color scheme, tone of language etc. This is because you will then orient your website design to suit your target audience's tastes.

Design a layout that enables the eye to naturally move from one information segment to another effortlessly taking them to the desired part of the website. This could be a signup form, a set of testimonials, a particular product or simply an advertisement.

Choose a good brandable name. This helps in the long run. Create good original content that provides all the necessary information to the audience. Add appropriate images to add to the appeal and beauty of the page. It is advisable to use a good CMS (Content Management System) so that things are easier in the long run. Adding, modifying and deleting pages are a breeze with a good CMS.

Keep your page light to improve loading time. Choose lighter images over heavier ones. After all, YOU will be paying for the bandwidth.

A great idea is to check out how your competitors have designed their websites. If the research has already been done by someone else, make use of it. Do not reinvent the wheel. Focus on improving upon the wheel design.

This has covered the basics. In the next article, we can talk about important onpage optimization aspects to keep in mind while designing your website. You will need to do this if you are hoping to receive traffic from the Search Engines.

You can either take your time to learn the nuances of website design, onpage optimization and Internet Marketing yourself, or you can hire a website design company, depending on what your time is worth. Either ways, it is highly recommended that you begin preparing for the online competition from day one.

Metaspring is a premier website design and development company in Ann Arbor, Michigan. They provide custom affordable web site design services to suit individual requirements.

 


Importance of Website Development for a Company

You can definitely generate more business with a quality website. This may be the first line of communication between you and potential guests. A user friendly, well designed website is one of the greatest assets imaginable today for any business, organization or community group.

The great advantage of website development for a company is that the website will be available 24 hours a day, 7 days a week and can be viewed from anywhere in the world. So anyone can collect suitable information from the website at any time.

In today's business environment and to beat the competition large companies definitely need to develop a website. Many business owners use the excuse that their business is "word-of-mouth" and they do not need a website. But a great way to reinforce the personal recommendations of other clients is through professional website development.

Website development helps your company to increase product knowledge, maintain communication between you and potential clients, sell your products or services, generate leads for the business, increase the popularity of your company and much more.

Website development could provide all the information about their business, their products and also have provisions to sell their products online. Customers could be kept informed of up and coming promotions and product developments.

In the world today, not having a website is like not being listed in the telephone book. A website provides added visibility and credibility among consumers. When searching for a web designing company you will want to make sure they are able to provide everything you need. If your website is e-commerce based, you will want to make sure your web design company offers more advanced features such as search engine optimization (SEO). If your business is still lacking a website it is not too late to get started. Building and marketing a website can be done at a very affordable rate. Invest in your business today.

Dream Wizardz are experts in Website Development, Software Development, Website Hosting, Search Engine Optimization, Web Casting, Programmed E-mail Brochures, Embedded Systems and e-commerce Websites with Secured payment Transactions.

 


Pages 
* About

Archives
    * February 2008
    * January 2008

Categories:
* Uncategorized

Last Updated:

regularban.info is proudly powered by WordPress MU running on  regularban.info.
Create a new blog and join in the fun!
Entries (RSS) and Comments (RSS).