|
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.
Personal Websites and Business
Personal websites and business may not go hand-in-hand as far as you are concerned, but I urge you to think again. If you want to sell something, you may need to "sell yourself" first. People enjoy doing business with someone they know and like. More importantly, they want to know that they can trust you. We are actually able to transact business all over the world due to today's technology. The problem with that can be a lack of personal service. However, with the internet, and especially with personal websites, we can feel as if we know someone that we have never actually met. We can know what a person looks like, we can know the sound of their voice, we can know all about their family, hobbies, dreams, future goals, etc. When someone is surfing the web looking for a way to work from home, they are also looking for someone to partner with. Someone to mentor them and show them the way. They want to feel comfortable with a prospective future business partner. If you want them to consider joining your opportunity, you have to be visible on the internet. You have to be willing to get personal and reveal yourself to them. Your site should be warm and inviting. It should provide information about you and your business opportunity. Give them a way to contact you. This really is the way to gain business partners from all over the world, or from just the good old U.S. if your company is not international. Think about what you were looking for when you were searching for a home business. I don't know about you, but I felt a connection with my sponsor. I felt as if I knew her just by looking at her website. That is what you want to create. You want to seem warm, friendly, and approachable. You want your reader to feel as if they already know you. A lady contacted me via email recently who was interested in my candle business. She practically told me her life story in that email, and it is probably because she felt like she knew me. She had seen my site and already knew all about me. That is a good thing. It means that she felt as if I was someone she could talk to candidly. She must have thought that I would be approachable and would be receptive to her. Not everybody who contacts you will be so open. They may be wary of you and your business, but they contacted you because they found something of interest. This is when you provide them with honest answers to all their questions. It is also where you give them that personal attention that they are seeking. Their state of mind when they contact you is not important. The fact that they made a connection is what matters. The reason for the connection was that they found your personal website and liked something they saw there. They were able to contact you because you provided them with either a phone number, email address, or both. Do you see how this works? Prospects come to you. You do not have to "beat the streets" or chase your friends and family in order to build your business. This is not yesterday's network marketing, it is the new way. Believe me, it is also the best way. Many of yesterday's methods gave us a bad rap because they were so annoying. Personal websites and business work well together. Get your own site up soon. It doesn't have to be fancy; just informative. Keep it simple and see what happens. I am sure that you will be pleased with the results. Remember to advertise your website and tell your friends about it. You cannot just build it and hope they will come.
What To Look For In A Coldfusion Dedicated Server Provider?
Using Coldfusion dedicated server, web developers can build multi-functional websites, content publishing systems, e-commerce websites, and a host of other things. Coldfusion is an easy to learn, user friendly, tag based scripting language which has connectivity to enterprise level data and strong in built searching capabilities, all of which helps in creating brilliant web pages. Developed by JJ and Jeremy Allaire and released as an Allaire product in July 1995, Coldfusion along with Allaire was acquired by Macromedia in 2001, while Macromedia in turn was sold to Adobe Systems in 2005. A Coldfusion dedicated server is an application server used to develop both computer software and dynamic websites. Products in the same category as that of Coldfusion are Microsoft ASP.NET, JavaServer Pages or PHP. ColdFusion Markup Language (CFML) is the scripting language, similar in nature to JSP, ASP.NET, PHP and HTML is a brilliant and distinguishing feature of Coldfusion. Nonetheless it must be remembered that other CFML application servers apart from ColdFusion exist as does other compatible scripting languages like Actionscript and embedded scripts written in CFScript. A Coldfusion dedicated server is generally used for data filled websites or intranets but remote services like SOAP web services and Flash remoting can also be generated using Coldfusion. Asynchronous forms like SMS and IMs can also be handled by Coldfusion thanks to the gateway interface, available in ColdFusion MX 7 Enterprise Edition. Some of the value added services that come with Coldfusion are: • generation of client-side code for form widgets and validation Certain implementations of CFML allow enhanced functions like running in a .NET environment and image manipulation.
|
* 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). |