![]() And in the course of using v6.1, I discovered no way to select files based on their name. I finally downloaded v6.1 because I’m writing this article, but v4.0.1 (from 1997) has served me well for quite a while. In fact, I’ve been content to be several versions behind simply because BBEL does what I need it to do. This kind of power was available in every version of BBEdit Lite I used I’ve been using BBEL since version 3.5. See Web Design, Part 7: Redirects, Naming Files, and Some Rants for more on the subject.)īBEdit Lite 4.6 Find includes search by file name. (I also use an HTML compression program, which compacts pages an average of 25%. It’s not a big deal, just 31 unnecessary characters, but multiply that by 600,000 pages per month and it comes to almost 18 MB that our server doesn’t have to process. Browsers ignore this tag, and Home Page doesn’t need it, either, so almost every time I’m prepared to upload site changes, I have BBEL run through the entire site and strip that string from any file with “htm” in the name. ![]() In particular, it puts the following string – – in every page it creates. The same for the background color, which can change from green (BGCOLOR=”#006600″) to dark blue (BGCOLOR=”#000066″) in a single pass.Īnd how do I use BBEL daily? Well, Claris Home Page is a nice enough WYSIWYG Web page editor, but it leaves some unnecessary code behind. If I know I haven’t set anything but the navigation column to WIDTH=220, I can globally replaced it with WIDTH=208. Sometimes I make changes to the site, like changing the width of the navigation column or a background color. With BBEL, that’s a quick search and replace to update any link on the site. If a contributor has a new email address, I can search for and substitute a website moves, like when MacCentral moved from to. If I notice I’ve made a typo in a text link that I’ve pasted on several pages (I did that just last week), I can have BBEL find every instance of “exernal” and replace it with “external”. Search every text file in the lowendmac folder for “©1997-98” and replace with “©1997-99” – easy. ![]() I’ve been using BBEL for years to do things like change the copyright notice on each page of the site from 1997-98 to 1997-99 and later to 1997-2000 – before I started using server side includes for the copyright notice. BBEL is so powerful, there are a lot of features I haven’t even used yet. You can have it examine just files that start with, end with, contain, or don’t contain a specific set of characters.Īnd, of course, you have to tell it exactly what to search for – and that’s exactly where to great power of BBEL manifests itself. You can tell it to only search text files. You can tell BBEL where to search, whether that’s a single file, a single folder, or every file and folder within a specified folder. In fact, that’s the feature I use most of the time. It looks like a simple text editor, but I don’t use it for designing pages or writing I use it because BBEL has a blindingly fast search-and-replace function. Now you can use TextWrangler to open remote items, and anytime you save a file through TextWrangler it will automatically upload the new revision to the remove server via your preferred SFTP client.BBEdit Lite (BBEL) from Bare Bones Software is a program I use daily. Random TextWrangler tip: If you’d rather use a third party S/FTP client like CyberDuck or Transmit, set TextWrangler as the default associated text editor for the filetypes in OS X. You’ll need Mac OS X 10.6 or later to run TextWrangler 4, though the Full Screen support obviously requires OS X 10.7 or 10.8.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |