|
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 Content - 5 Smart Ways To Create Content For Your Website
One should agree that content is the main thing that keeps visitors coming back for more to your website. Without content, your website is a dead duck in the water. Here are 5 smart ways you can create content for your website without breaking an arm and a leg: 1. Outsource Your Content You can hire a professional freelancer to create content for you. This is an easy way to get your content created hands free. But the only problem is cost. If you have tons of extra cash lying around, then this is a viable option. 2. Use RSS Feeds By installing RSS feeds on your site, you can have fresh new content generated practically on the fly. RSS Feeds can typically grab content from new blog posts around the web, news sites and other websites. You can also promote your content via RSS feeds using FeedBurner. 3. Use Blogs Create a blog and allow people to comment on your posts. The comments are also a way of creating content for your site, only you are not writing the content, your readers are. 4. Create A Forum A forum is one of the best ways to have tons of content created for you by others. If you have a popular forum, you'll have loads of fresh new information posted by the forum members. 5. Leverage Articles Take reprint rights articles from article directories and publish them on your own website. There's a whole world of articles out there on article directories that you can use as long as you include the resource box with them.
How to Make A Web Site Without Any Technical Knowledge
This article will teach you how to make a web site even if you don't know any HTML, CSS or any other web design languages. The easiest way to get a web site up and running with minimal experience is to use an online site builder. Online site builders are web building software that are hosted on the internet. They can be used by total newbies to build web pages with minimal technical knowledge. Here are several reasons why you should consider using an online site builder to make a web site.
Now, how do you gain access to an online site builder? Most good web host provide a basic site builder with their services. Though very basic, you can still make a decent web sites with it. I would recommend you sign up for specialized site builder. These site builders specializes in building a specific type of website. You have online site builders that build content sites, some that build ecommerce sites and others that build multimedia sites. So, it really depends on what type of site you'd like to build. Either way, online site builders are a great way for newbies to learn how to make a web site without any technical knowledge.
|
* 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). |