Archive

Archive for the ‘the webmaster series’ Category

Multiple File Search & Replace using Dreamweaver MX and regular expressions

June 21st, 2007 2 comments

About a month ago I needed to do some work on a site where I needed to change a lot of code on every page. I set up IIS on my machine and copied the site to it. I then set up Dreamweaver so that I would work on the site locally. When I opened Dreamweaver I had all the files for my site listed on the left side. I found that when I did a search and replace in Dreamweaver I had the option to do it to the entire current site. That was real cool and I was using for some simple things. I got to a point where I needed to switch out some tags with tags. I like to use normal HTML whenever I can especially header elements.

The problem was that I need to find a string but leave the stuff inside the tags alone. Dreamweaver allows the use of regular expressions. I know very little about regular expressions so I was looking everywhere on how to do this. I finally found one document online that told me how. I can’t remember what that was but here is what I learned. I use (.+) in the search and $1 in the replace. If I want to find <span class=”HeaderL1″>My Heading</span> with <h1>My Header</h1> I search for <span class=”HeaderL1″>(.+)</span> and put <h1>$1</h1> in the replace field. I then tell it to search and replace the entire site. Make sure to have “use regular expressions” checked.

Categories: the webmaster series, Tutorials Tags:

Webmaster Series Part 3 – Simple HTML Page

February 3rd, 2007 Comments off

Now that you have your domain name registered and your web host set up we need to put up a website. A lot of people like to use WYSIWYG or What You See Is What You Get editors like MS Front Page or Dreamweaver. Those are not necessary. It is not difficult to design your webpages in a nice text editor. I’m going to start out with the basic structure of a website. The most basic web page looks like this.
Read more…

Categories: the webmaster series, Tutorials Tags:

Webmaster Series Part 2 – Web Hosting

January 25th, 2007 1 comment

Now that you have your domain picked out you need a place to host your website. If you thought there were a lot of domain registrars wait till you start looking for a web host. There are a lot of them. There are several ways to host your site. Read more…

Categories: the webmaster series, Tutorials Tags:

Webmaster Series Part 1 – Domain Names

January 24th, 2007 1 comment

I’m starting a series of posts that teach you how to get started as a webmaster. It is going to be very specific and written so that somebody with no knowledge in this area can get started. The only thing I won’t cover is how a site looks graphically. If you put your site together the way I specify you will be able to get a good designer to come in and make it look nice and you will be able to change designs easily in the future. Read more…

Categories: the webmaster series, Tutorials Tags: