TweetFollow Us on Twitter

ProVUEs SiteWarrior

Volume Number: 16 (2000)
Issue Number: 1
Column Tag: Tools of the Trade

ProVUE’s SiteWarrior

by Bill von Hagen

Automating Web site management and standardizing content

Huge web sites can be a nightmare to maintain, both because of the sheer number of pages and because of the frequency with which page data and inter-page relationships can change. Developments in browsers and Web technology such as SSI (Server-Side Includes), CSS (Cascading Style Sheets), and XSL (eXtensible Stylesheet Language) go a long way towards helping the web-site designer standardize the visual identify of a site by imposing a single set of styles across a site. Unfortunately, imposing an analogous set of standards across the content of your pages can still be a difficult task.

ProVUE's SiteWarrior is a web site management and creation tool that takes a unique approach to page storage and content standardization. SiteWarrior stores web sites in an internal database where each record contains a single web page. For storage and management tasks SiteWarrior uses ProVUE's own market-tested Panorama RAM database, and therefore doesn't require that you already have a database application on your system. Using a database often brings visions of shotguns loaded with cryptic SQL commands to mind, which isn't the case at all with SiteWarrior. SiteWarrior uses its integrated database behind the scenes to produce final versions of your web pages - you don't have to know a single thing about databases in order to use SiteWarrior.

Once you've created and stored web pages in SiteWarrior, you can either preview them with a browser or export them as separate HTML files, a process which SiteWarrior calls "rendering." SiteWarrior helps enforce consistency guarantees in the pages you render by inserting standard headers and footers, standard server-side includes, and even automatically generating portions of the content for your pages.

Getting Started with SiteWarrior

SiteWarrior's installation process is as easy as you'd expect from any Mac application. One significant problem with the version I reviewed is that it did not create a SiteWarrior folder (as advertised in the documentation), but instead installed all of the SiteWarrior files and folder at the top level of the selected disk. If you are as meticulous as I am about using neatly nested folders for all of your software, you should create a SiteWarrior folder in your target install location before installation.

After installing any Web software package, my initial inclination is to set a cup of coffee on top of the documentation, fire up the software, and starting hacking pages. Unless you're psychic, that isn't possible with SiteWarrior. There is no SiteWarrior icon, which is an initial hint that you are indeed working with Web sites and pages in a whole new way. SiteWarrior provides a template web site in a folder called Empty Web Site. To create a new web site in SiteWarrior, you have to duplicate this folder, renaming the copy to suit your site. You start SiteWarrior by opening this folder, renaming the file www.emptysite.com to match your site, and then you double-click on the renamed file. Frankly, a helpful little AppleScript to do all of the above would be a win in my book, but it's always nice to leave a few bells and whistles for the next release.

Creating Pages with SiteWarrior

SiteWarrior's main screen is organized into three basic areas, with an attendant button bar and set of menus. (See Figure 1.) Once you have created pages, you can organize them into subsets in the Groups window, which simplifies maintaining different looks for different parts of your site. When you first start SiteWarrior, it provides two default entries, ALL and Main. Similarly, the Pages area lists all of the pages that are available in the active web site, and only lists the default Home page when you first open a new site project. The contents of the currently selected page are displayed in the largest window, which is empty when you start a new SiteWarrior project. SiteWarrior's page editor is simple but functional. If you are a BBEdit fan, you're in luck - SiteWarrior's Edit commands allow you to automatically open the current page in BBEdit.


Figure 1.Sample Home

To create a new page in SiteWarrior, select the Edit menu's New Page command. A dialog is displayed (See Figure 2.) in which you supply general information about the page, such as its name, title, meta tag keywords, and a general description of the intent of the page. You can also do this via the keyboard shortcut Command-N, which is exactly what you'd expect in a savvy Macintosh application.


Figure 2.New Page.

SiteWarrior is a text-oriented application, a fact that is heavily stressed in the documentation. For this reason, to add content or markup to a page means you must either manually enter pairs of HTML tags or click icons on the button bar to insert the appropriate HTML tags. I can already hear WYSIWYG page design fans beginning to chant "Burn It! Burn It!," but I'd like to meet a web page designer who hasn't closed his or her office door and manually hacked a web page or two.

SiteWarrior provides complete, integrated balloon help like any good Mac application. The balloon help is extremely useful when trying to figure out the meaning of the various icons on the button bar. Their meaning was intuitive in retrospect, after reading the associated balloons, but the balloon help was quite handy in solving this classic bootstrapping problem without resorting to clicking buttons to see what they actually do.

Once you've added tags and content to a page, you can preview it at any time by selecting the Render menu's Preview Page command. This displays the current page in your default browser.


Figure 3.Page Preview

Working with Existing Sites and Pages

Few people today have just one Web page design tool in their software toolchest. An important issue is how well SiteWarrior lets you work with existing sites and pages. SiteWarrior's File menu provides an Import Pages dialog that lets you browse for existing pages to import. SiteWarrior's import command worked well, but still provides some opportunities for incremental improvement. For example, it would be handy to have the option to strip or correct extraneous characters during the import process. Similarly, it would be nice to be able to automatically verify links on imported pages during the import process, letting you know if you've overlooked any files that you meant to import. Though you can subsequently verify links using the Site URL Maintenance command from SiteWarrior's Edit menu, a little automation here would be a nice thing.

Standardizing Site Content

Standardizing SITE SiteWarrior's greatest strength is its ability to insert entries that will be replaced by blocks of HTML code when you render a page. SiteWarrior does this in two different ways. First, you can define "tag nicknames" for commonly-used terms or complex HTML expressions, and second, you can use SiteWarrior's "Supertags", which automatically insert things like extra document header information, server-side includes, special types of generated content, and so on. When you render a page containing either tag nicknames or Supertags, they are automatically expanded into the more complex information that they represent. Not only are these useful to provide simple shortcuts for complex expressions, but they help eliminate the standard "query-replace" problem when you need to change something that appears on multiple pages throughout your site. By coding items such as a product name as a SiteWarrior's tag nickname, you can change that object through every referenced page by simply modifying the value of the nickname. You can view or edit the list of available tag nicknames at any time by selecting the Tags menu's Tag Nicknames command.

Using SuperTags

SiteWarrior's tag nicknames are a timesaver, but its SuperTags are a thing of beauty. Unlike tag nicknames, which simply substitute terms or HTML expressions during rendering, Supertags can either insert special content, such as standard page headings and the current date, or can generate complex content for the appropriate Supertag. ProVUE calls these Supertags "HTML factories" because of their ability to automatically generate content, insert styles, and otherwise help standardize your web site by freeing you from a significant amount of tedious, error-prone work. You can even create custom templates for the HTML generated from SuperTags, providing you even more opportunities for customization. As an example of the power of SuperTags, let's examine the SuperTags provided to help generate tables of contents and tables themselves.

Anyone who has maintained a large, dynamic web site and an associated table of contents page knows what a hassle it is to keep the table of contents up to date. As pages are added or removed from the site, updating the table of contents to reflect the current set of pages and their correct position in the site's browse sequence can be time-consuming and is easily overlooked when frantically adding content. In SiteWarrior, you can automate this entire process by inserting the tableofcontents SuperTag. When the web site is rendered, the tableofcontents SuperTag is automatically replaced by a generated table of contents for all of the pages in that site. The HTML elements that are compiled into the table of contents are the contents of the TITLE tags for each of the site's pages. The contents of the HTML TITLE tag are entered in the Page menu's Page Options dialog, which you filled out when you created the page but can edit at any time.

When creating longer pages, you often want to create a table of contents for a single page. SiteWarrior automates this process by providing a PageContents SuperTag. The HTML elements to be compiled into a page's table of contents are identified by the use of anchor tags. For example, the following tag would automatically appear in a page's table of contents after rendering a page containing the PageContents SuperTag:

<A NAME=TITLE>This is a Page Table of Contents Entry</A>

Separate SuperTags for site-wide and per-page tables of contents cover the most common cases where you would otherwise have to manually create tables of contents. You can also use the tableofcontents SuperTag to automatically generate tables of contents for subsets of the pages, by using the tableofcontents SuperTag's GROUP attribute. As mentioned earlier in this review, SiteWarrior lets you associate different pages with each other by assigning them to SiteWarrior page groups. When you insert a tableofcontents SuperTag whose GROUP attribute is set to the name of that page group, you can automatically generate a table of contents for a specific page group during rendering.

Automatically Merging External Information

SiteWarrior provides several SuperTags to help you automatically include, import, and format external information. The Include, Merge, MergeImport, and TableImport SuperTags automate different ways of integrating external data, templates, and other information. Let's look at SiteWarrior's TableImport SuperTag to see exactly how these types of tags can save you time and prevent the errors that are often accidentally introduced when you update complex pages.

A similarly tedious task to maintaining tables of contents is maintaining HTML tables, especially when done manually. This is painfully true when the source of the table data is in an external database that can be changed independently. SiteWarrior's TableImport SuperTag lets you store table data outside your web pages, thereby automating this process. It automatically imports and generates tables from that data during the rendering process.


Figure 4.Tables Import.

The TableImport SuperTag's FILE attribute identifies the name of the file with delimited entries that make up each row of your table. Whenever you need to update the tables in your site, you simply use your database application to generate the delimited file and then re-render the site in SiteWarrior. The next figure shows the HTML table produced by this rendered TableImport SuperTag.


Figure 5.Tables.

In addition to the FILE attribute, the TableImport tag provides a number of other attributes that make it easy to generate sophisticated tables. The COLUMN attribute lets you specify column titles, specific column widths, column alignment, and the background color for any column. A COLOR attribute lets you automatically specify separate table background colors, and an associated COLORPATTERN attribute lets you define a repeating pattern of different row colors. The TableImport SuperTag also provides other attributes that let you further customize the layout of rows, columns, an entire table, or the cells in a table by providing HTML templates.

Conclusion

SiteWarrior is a powerful web site creation and management tool. Web site designers with a more graphical focus will need to augment SiteWarrior with a graphical page design tool, but once you've settled on a look for your site, it's easy to make it into a SiteWarrior template for future pages. If your focus is more on content and site design as a programming task, you will quickly fall in love with SiteWarrior's tag nicknames, Supertags, and similar shortcuts for automatic generation of content and standardization of the pages in your web sites. All in all, SiteWarrior is a powerful, capable tool for Web page design and management. If you can overcome its non-WYSIWYG orientation, SiteWarrior is a powerful addition to your web site war chest.


Bill von Hagen is a writer, computer system administrator, and the author of "SGML for Dummies." You can contact him at wvh@gethip.com.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Make the passage of time your plaything...
While some of us are still waiting for a chance to get our hands on Ash Prime - yes, don’t remind me I could currently buy him this month I’m barely hanging on - Digital Extremes has announced its next anticipated Prime Form for Warframe. Starting... | Read more »
If you can find it and fit through the d...
The holy trinity of amazing company names have come together, to release their equally amazing and adorable mobile game, Hamster Inn. Published by HyperBeard Games, and co-developed by Mum Not Proud and Little Sasquatch Studios, it's time to... | Read more »
Amikin Survival opens for pre-orders on...
Join me on the wonderful trip down the inspiration rabbit hole; much as Palworld seemingly “borrowed” many aspects from the hit Pokemon franchise, it is time for the heavily armed animal survival to also spawn some illegitimate children as Helio... | Read more »
PUBG Mobile teams up with global phenome...
Since launching in 2019, SpyxFamily has exploded to damn near catastrophic popularity, so it was only a matter of time before a mobile game snapped up a collaboration. Enter PUBG Mobile. Until May 12th, players will be able to collect a host of... | Read more »
Embark into the frozen tundra of certain...
Chucklefish, developers of hit action-adventure sandbox game Starbound and owner of one of the cutest logos in gaming, has released their roguelike deck-builder Wildfrost. Created alongside developers Gaziter and Deadpan Games, Wildfrost will... | Read more »
MoreFun Studios has announced Season 4,...
Tension has escalated in the ever-volatile world of Arena Breakout, as your old pal Randall Fisher and bosses Fred and Perrero continue to lob insults and explosives at each other, bringing us to a new phase of warfare. Season 4, Into The Fog of... | Read more »
Top Mobile Game Discounts
Every day, we pick out a curated list of the best mobile discounts on the App Store and post them here. This list won't be comprehensive, but it every game on it is recommended. Feel free to check out the coverage we did on them in the links below... | Read more »
Marvel Future Fight celebrates nine year...
Announced alongside an advertising image I can only assume was aimed squarely at myself with the prominent Deadpool and Odin featured on it, Netmarble has revealed their celebrations for the 9th anniversary of Marvel Future Fight. The Countdown... | Read more »
HoYoFair 2024 prepares to showcase over...
To say Genshin Impact took the world by storm when it was released would be an understatement. However, I think the most surprising part of the launch was just how much further it went than gaming. There have been concerts, art shows, massive... | Read more »
Explore some of BBCs' most iconic s...
Despite your personal opinion on the BBC at a managerial level, it is undeniable that it has overseen some fantastic British shows in the past, and now thanks to a partnership with Roblox, players will be able to interact with some of these... | Read more »

Price Scanner via MacPrices.net

You can save $300-$480 on a 14-inch M3 Pro/Ma...
Apple has 14″ M3 Pro and M3 Max MacBook Pros in stock today and available, Certified Refurbished, starting at $1699 and ranging up to $480 off MSRP. Each model features a new outer case, shipping is... Read more
24-inch M1 iMacs available at Apple starting...
Apple has clearance M1 iMacs available in their Certified Refurbished store starting at $1049 and ranging up to $300 off original MSRP. Each iMac is in like-new condition and comes with Apple’s... Read more
Walmart continues to offer $699 13-inch M1 Ma...
Walmart continues to offer new Apple 13″ M1 MacBook Airs (8GB RAM, 256GB SSD) online for $699, $300 off original MSRP, in Space Gray, Silver, and Gold colors. These are new MacBook for sale by... Read more
B&H has 13-inch M2 MacBook Airs with 16GB...
B&H Photo has 13″ MacBook Airs with M2 CPUs, 16GB of memory, and 256GB of storage in stock and on sale for $1099, $100 off Apple’s MSRP for this configuration. Free 1-2 day delivery is available... Read more
14-inch M3 MacBook Pro with 16GB of RAM avail...
Apple has the 14″ M3 MacBook Pro with 16GB of RAM and 1TB of storage, Certified Refurbished, available for $300 off MSRP. Each MacBook Pro features a new outer case, shipping is free, and an Apple 1-... Read more
Apple M2 Mac minis on sale for up to $150 off...
Amazon has Apple’s M2-powered Mac minis in stock and on sale for $100-$150 off MSRP, each including free delivery: – Mac mini M2/256GB SSD: $499, save $100 – Mac mini M2/512GB SSD: $699, save $100 –... Read more
Amazon is offering a $200 discount on 14-inch...
Amazon has 14-inch M3 MacBook Pros in stock and on sale for $200 off MSRP. Shipping is free. Note that Amazon’s stock tends to come and go: – 14″ M3 MacBook Pro (8GB RAM/512GB SSD): $1399.99, $200... Read more
Sunday Sale: 13-inch M3 MacBook Air for $999,...
Several Apple retailers have the new 13″ MacBook Air with an M3 CPU in stock and on sale today for only $999 in Midnight. These are the lowest prices currently available for new 13″ M3 MacBook Airs... Read more
Multiple Apple retailers are offering 13-inch...
Several Apple retailers have 13″ MacBook Airs with M2 CPUs in stock and on sale this weekend starting at only $849 in Space Gray, Silver, Starlight, and Midnight colors. These are the lowest prices... Read more
Roundup of Verizon’s April Apple iPhone Promo...
Verizon is offering a number of iPhone deals for the month of April. Switch, and open a new of service, and you can qualify for a free iPhone 15 or heavy monthly discounts on other models: – 128GB... Read more

Jobs Board

IN6728 Optometrist- *Apple* Valley, CA- Tar...
Date: Apr 9, 2024 Brand: Target Optical Location: Apple Valley, CA, US, 92308 **Requisition ID:** 824398 At Target Optical, we help people see and look great - and Read more
Medical Assistant - Orthopedics *Apple* Hil...
Medical Assistant - Orthopedics Apple Hill York Location: WellSpan Medical Group, York, PA Schedule: Full Time Sign-On Bonus Eligible Remote/Hybrid Regular Apply Now Read more
*Apple* Systems Administrator - JAMF - Activ...
…**Public Trust/Other Required:** None **Job Family:** Systems Administration **Skills:** Apple Platforms,Computer Servers,Jamf Pro **Experience:** 3 + years of Read more
Liquor Stock Clerk - S. *Apple* St. - Idaho...
Liquor Stock Clerk - S. Apple St. Boise Posting Begin Date: 2023/10/10 Posting End Date: 2024/10/14 Category: Retail Sub Category: Customer Service Work Type: Part Read more
Top Secret *Apple* System Admin - Insight G...
Job Description Day to Day: * Configure and maintain the client's Apple Device Management (ADM) solution. The current solution is JAMF supporting 250-500 end points, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.