|
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'). Change a filename to lowercase Likewise, changing a filename itself is very simple. The following two lines perform the task quite nicely: (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.
Website Accessibility - Need and Basic Guidelines
Website Accessibility means the website accessible to all the users in the web including visitors with disability. Many website owners know that their website is available in the internet for visitors to access information but possibly may not know whether their website is easily accessible and even be unaware about Disability Discrimination Act (DDA). According to Disability Discrimination Act (DDA), all the business should make their services accessible to disabled users. There is also a section in DDA which addresses that if a business offers an online service, even the information is on a single page, then the business is responsible for making an effort to make this information accessible to disabled users. All new websites that are designed and developed should now follow the W3C (World Wide Web Consortium) and Web Content Accessibility Guidelines (WCAG) against which the accessibility of the website is measured. But when the website is found isn't complaint, then anybody can sue you legally, if they want to. By following these guidelines, you enhance the professional look of your website, provide access to visitors who previously had not no choice, thus increasing your business prospects and finally not to forget, your business is legal. Some basic Guidelines to increase the accessibility of the visitors Validate HTML and CSS: To check if the HTML and CSS used is valid, W3C validator can be used. It is necessary that websites are checked as the validator automatically tells you about any errors and accessibility issues in the web pages. Image and alternative text: For browsers which don't support images, alternative text can be used to explain what the image is about as the user will only see the text. Resize font text: Most of the internet browsers use Internet explorer to search for information. If the size of the text can be increased by choosing the font size to the largest then it means that your website is accessible to visitors. Use of Java script: Websites are not easily accessible when java script is disabled. Mostly people have the java script support switched off, if that's the case then make sure that you use the Java script sensibly and unnoticeably. Check for the following, 1. Website is accessible without the use of a mouse 2. Website has a Sitemap 3. Website has link text relevant to the content (blind users use tabbing while browsing websites from one link to the other)
Is Your Website Too Generic?
So you managed to get a website up and working. You managed to set up a pay per click campaign. But you have not managed to get lots of buyers, callers, joiners, clickers or whatever it is you were after. You may even be advertising to a niche market, yet your website speaks to a general audience. If you try to be everything to every body these days and you will end up being nothing to anybody. So let's look at how you might make changes to your site to speak to a niche and get some conversions. News Flash. The general store can't compete with the amazons of the world. If you try all by yourself to compete with mega mart, you will get lost in the big black wormhole of the internet-- also known as the limp, lame, solitary server for misplaced website owners. That's why you choose a segment or a niche strategy. It offers you an opportunity to carve a market share out of that big giant pie. The trick is to identify the niche market or brand audience who will value the service or product enough to pay for it. How can you position to a primary target audience ? Don't shoot at the ocean hoping to hit a fish. You need to follow a plan or niche strategy to develop your website so it speaks to this primary target audience. A website is a marketing tool. So here is a brief outline regarding how you might go about the process of creating a well-positioned, marketing savvy website that is not generic. This is an extremely simplified website plan for positioning to a target audience but it outlines a process that you can follow.
Remember to write or use copy that does not focus on yourself or your company, but think strategically in terms of how your product(s), service or company benefits your target market. Then your website should guide them along the path to the action you wish them to take much like a live sales person would do. Plan your website well and it could become one of your least expensive and highest yielding marketing and sales tools.
|
* About Archives
Categories:
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). |