largest human herbal penis size

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.

 


Servers For Email Messaging

If you own a business that have different or multiples sites and locations, then having a good means of communication is imperative. One of which would be email messaging. It is actually no longer surprising that email is one of the, if not the most, common and popular ways of reaching out to other people and other companies over the Internet.

Email or electronic mail would actually refer to the creation, transmission and receipt for communicating through the application of electronic communication systems. Email has been first used back in 1965 to serve as a way to communicate with the other users of a single time-sharing mainframe computer. During the late 1960's, there has been a computer network, which was the ARPANET, that has been able to significantly contribute to email development.

With regular mail sending, our letter would first be picked up by a postal van which would then be sent to the office where all the letters are sorted according to cities on the addresses. The letters that are received in each city would then be sorted based on the areas of the city, which would then be distributed. On the other hand, with email messaging, the email message that you have composed would be sent to your Internet Service Provider's mail server. All the emails that have been received b the mail server would then be sorted and would then travel online to the mail server of the destination's service provider. They would then be stored in the electronic mailbox. And so, once the recipient of your email logs on to his email application or program like Outlook Express or Eudora, the program would be downloading the email messages that you have sent from the electronic mailbox to his computer.

Want to buy your own dedicated servers for cheap?
Read more about web hosting servers or use a coupon code to signup with a discounted server from hostgator

 


Does Your Web Site Need a Workout?

Here's an analogy for you. Yesterday, I was working my butt off in the gym on the cardio machines, panting wildly with sweat dripping off me and my face as red as a beet. Not the most attractive sight, but I figure, you're at the gym to work out right? I might as well "go hard" or "go home", as they say.

As I looked around me, I could see all these people simply going through the motions. There they were, minus perspiration in their shiny new lycra and expensive gym shoes, casually walking on the treadmill or lazily turning the wheels on a bike while reading a book or glued to the TV screens in front of them. Only a few seemed to be there for the actual purpose of working out. The rest seemed to be there to check out the talent or to simply keep up the appearance of fitness, while doing the bare minimum.

Huh? I don't get it. Why have these gym bimbos paid so much money for a gym membership and all the related gear if they aren't going to take full advantage of their investment?

Then it struck me - these gymbos were just like those companies who spend thousands of dollars on a shiny new website with all the bells and whistles like graphic design, blogs, shopping carts, web analytics, the lot and then fail to take advantage of it. I see it so often, regardless of company size. Web sites that could easily be bringing in loads of traffic and revenue simply wasting away because nobody can be bothered tracking visitor activity, analyzing trends or checking for search engine compatibility and usability.

These companies are simply keeping up appearances, investing heavily in Internet technology because their competitors are doing the same. But no thought has gone into the search engine compatibility of the site, how usable it is for visitors or whether it meets accessibility guidelines. They don't look at their site statistics, they don't check for broken links and they sure as heck don't investigate why their sites aren't converting traffic into customers. What a waste!

Is your web site working hard enough for you? Run it through the following 20 point fitness assessment to find out:

- Is your site fully search engine compatible? Are all your pages being indexed by the major search engines?

- Do you track your visitor statistics on a regular basis? Do you use the information provided by your visitor statistics to improve your site?

- Is your web site accessible to visually-impaired visitors? Does it meet the international standards set down by the Web Accessibility Initiative (WAI)?

- Do you know which sites and search engines provide you with the most traffic? Do you use this information to increase your traffic further?

- Do you track the source of all reported errors in your site statistics and fix them promptly?

- Do you know which keywords your site was found for in the search engines? Have you conducted keyword research to determine what search terms your target markets are looking for so you can optimize for them?

- Does your web site HTML code validate to W3 standards? Do you check for validation regularly?

- Does your site contain zero broken links? Do you check for and fix broken links regularly?

- Has your site been fully search engine optimized to integrate your target search terms into your Page Titles, META Tags and visible page text?

- Have you created and submitted an XML sitemap to Google Sitemaps?

- Have you created and submitted a sitemap to Yahoo Site Explorer?

- Have you checked to see if your site meets Google's Webmaster Guidelines?

- Do you measure your visitor sign-ups and conversions on a regular basis? Do you tweak your landing page copy to increase the conversion rates?

- Is your site navigation intuitive and are your visitors following the navigation paths you intended?

- Do you encourage feedback from your site visitors and provide an obvious way for them to provide such feedback?

- Are there at least 250 words of text on your home page to satisfy search engines?

- Does your site contain a visible, text-based site map to aid user navigation?

- Do you have an ongoing link building campaign running to secure more incoming links to your site and improve your site's link popularity score?

- Does your site have a high percentage of repeat visitors? Are the majority of your visitors staying on your site for more than a minute?

- Do your search engine referrals and site traffic figures grow each month?

Unless you can answer yes to all the questions in the above checklist, your web site is not working hard enough for you and needs a workout. Get to it!

About the Author:

Article by Kalena Jordan, one of the first search engine optimization experts in Australia, who is well known and respected in the industry, particularly in the U.S. As well as running her own SEO consultancy, Kalena manages Search Engine College - http://www.searchenginecollege.com - an online training institution offering instructor-led short courses and downloadable self-study courses in Search Engine Optimization and other Search Engine Marketing subjects.

 


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).