Go back to previous page
Forum URL: http://www.dombom.com/cgi-bin/dcforum/dcboard.cgi
Forum Name: The New MadBomber Marketing and SEO Forum
Topic ID: 484
Message ID: 2
#2, PageBomb - Making Pages Using FatBomb Part II
Posted by Kurt on Sep-26-07 at 06:54 PM
In response to message #1
LAST EDITED ON Oct-15-07 AT 05:45 AM (PST)
First, download PageBomb here:

PageBomb can be used with just about any script on your domain that will return a search result. You can even mix and match multiple scripts on the same pages.

It produces pages that are a hybrid of dynamic pages and elements of static html.

This gives the best of both worlds, as the dynamic content is added automatically by the server, but each and every page can be edited individually. This is particularly potent for adding different navigation links to various pages.

The first thing you need to know is:
Does my dynamic source include an html header and footer?

If yes, you want to remove the html header/footer code from the template you're pasting into PageBomb...

Actually, you'll probably just need to use a single line of code to create each page...Something like:
<!--#include virtual="/cgi-bin/search.cgi?keywords=<<key+words>>" -->

This is for perl/cgi scripts. For php, it will look something like:
<?php include("search.php&query=<<key+words>>"); ?>

If no, then paste in the html for any template. Make sure you allow room for your content.

PageBomb will recongnize two various keyword tags:

1. <<keywords>> - Inserts keywords using blank spaces between the words:

<title>George Washington</title>

Use this tag to do some basic SEO on your pages...Use it in the title tag, h1, h2 tages, etc.

2. <<key+words>> - This inserts a + sign inbetween each word. This is usually used for search queries:

For use with Fatty, you'll want to use a tag similar to this in your pages:
<!--#include virtual="/cgi-bin/fatbomb/fatbomb.cgi/?skin=skin1&keywords=<<key+words>>" -->

Note: You won't be able to see any content while the pages are on your hard drive. You must upload them to your site first.

Also, you will need to include an htaccess file in the folder with your pages. It's easy, just:

Create a simple text file and name it: .htaccess

Paste this single line of text in it:
AddHandler server-parsed .html

And upload it. Don't forget it may "disapear" on your server after it's uploaded.

Or, if you have an existing .htaccess file, just add the one line of code to it.

When using PageBomb, you have two options:
1. Use the skin/temaplate that Fatty uses.

to do this, your SSI will look like:
<!--#include virtual="/cgi-bin/fatbomb/fatbomb.cgi/?skin=skin1&keywords=<<key+words>>" -->

You would choose your skin by modifying the skin "parameter" in the URL.

2. But what if you want to use an entirely different skin, where the search results are inserted into the template dynamically, but the rest of the template was static, so you could change it on a page by page basis?

Maybe you want to try repeating keywords in the title tag on some pages, but not all? You can't do this if the pages are entirely dynamic.

Or, you want to add dynamic elements from a second source, other than Fatty?

1. The first thing you will want to do is create a "blank" skin.

A. Open a text editor such as Textpad and insert this:
<!-- Top -->

B. Save it as:

C. Upload blank.html to your Fatty skins folder.

2. Next, create your html template. This can be as fancy or as simple as you want. Just be sure to leave room for your content in your design.

3. Paste the HTML into PageBomb.

4. Do basic SEO. The PageBomb tag is different than Fatty's:

Use this tag your HTML:
page title
<h1>, <h2> tags
meta tags

<!--#include virtual="/cgi-bin/fatbomb/fatbomb.cgi/?skin=blank&keywords=<<key+words>>" -->

6. Paste in your list of keywords and make some pages!


If you just want to make some quick pages and can't get the modrewrite to work for you, just enter the SSI tag with the skin you want in PageBomb plus your keywords and NOTHING ELSE:
<!--#include virtual="/cgi-bin/fatbomb/fatbomb.cgi/?skin=skin1&keywords=<<key+words>>" -->

If you want more control over each page, use the "blank" skin, then add the html code to PageBomb.