HOW TO PROFIT WITH FREE DISCUSSION FORUMS

Written by Lisa Lake


If there's one thing I've learned in my years of doing business online, it's that credibility should be your number one objective. If people know you and respect you, they'll feel like they can trust you with their money. Onrepparttar other hand, if you're just starting out and no one knows who you are, you're going to have a hard time drumming up sales. The best way to gainrepparttar 134574 kind of credibility I'm talking about is to establish yourself as an expert in your field. This can be very hard to do if you're new torepparttar 134575 business, so I'm going to give you a tip: spend a lot of time on those free discussion boards! Discussion boards are a great way to get your name out there. Just conduct a search for discussion boards in your area of business (there are a lot on MSN and Yahoo) and jump on in. Begin by asking a question, or making helpful suggestions when people ask for them. Make sure to leave your name and URL on every post so people get familiar with you. Whatever you do, don't post ads on discussion boards. Most board moderators will only delete them, and placing ads there will only serve to underminerepparttar 134576 very credibility you're trying to create.

Untangling Spaghetti HTML

Written by Sunil Tanna


Untangling Spaghetti HTML ========================= by Sunil Tanna, EBookCompiler.com

When I was first learning to write computer programs, one ofrepparttar most important points that was drummed into me was that it's never a good idea to write great chunks of computer code that are repetitions of earlier code. The reason is simple: when it comes time to updaterepparttar 134573 code, you'll have a tough time makingrepparttar 134574 same change in each copy, and you'll have an even tougher time making sure that each changed copy has been modified inrepparttar 134575 same way.

Why this digression into programming lore? If you create web sites , there is a good chance that, at least most ofrepparttar 134576 time, you don't think of your HTML files as "computer code". You probably think of them as content, documents, my writing... etc. Butrepparttar 134577 truth is they are. You need only open an HTML file in a plain text editor, and you can seerepparttar 134578 HTML language.

Sorepparttar 134579 question is, canrepparttar 134580 same spaghetti problem arise with HTML code? If you've been a webmaster for a while, you probably already knowrepparttar 134581 answer... absolutely. The typical web site contains lot of repeated elements.

For example, you may haverepparttar 134582 same heading or footer on each page. You might have a search box or banner code on each page. You might haverepparttar 134583 same menu downrepparttar 134584 side.

Updating all these multiple copies ofrepparttar 134585 same HTML code in different files quickly gets tiresome. Even if you haven't encounteredrepparttar 134586 update-problem yet, as your projects grow larger and larger, you soon will.

HOW TO AVOID SPAGHETTI?

One answer isrepparttar 134587 various "include" mechanism that HTML technologies provide:

1. Server Side Includes (SSI)

This technology is implemented on many web sites, and basically allows you to include a common fragment of HTML code (stored in a separate file) into as many HTML pages as you want. The advantage is that instead of updating each file individually, you only need updaterepparttar 134588 common fragment once.

Here's how:

* On most web servers, you simply rename your HTML files (the ones that are doingrepparttar 134589 including) with a .shtml extension.

* Where you want to includerepparttar 134590 common fragment of code use a line like:

[!--#include file="fragment.html" --]

IMPORTANT: Because some email programs don't display greater-than and less-than signs properly, I've used square brackets, but when you copy this line make sure to changerepparttar 134591 brackets to greater-than and less-than signs. If you prefer to seerepparttar 134592 code online, (and displayed correctly), go to: http://www.suniltanna.com/spaghetti.html

2. ASP Includes

For NT web servers, in .asp pages, you canrepparttar 134593 exact same include syntax as for SSI.

3. PHP Includes

If your web site supports PHP (a script language that runs onrepparttar 134594 server), another way to achieverepparttar 134595 same thing is to userepparttar 134596 PHP include command.

Here's how:

* Rename your HTML files (the ones that are doingrepparttar 134597 including) with a .php extension.

* Where you want to includerepparttar 134598 common fragment of code use a line like:

[?php include 'fragment.php' ; ?]

IMPORTANT: Againrepparttar 134599 same point aboutrepparttar 134600 brackets applies. If you prefer to seerepparttar 134601 code online, (and displayed correctly), go to: http://www.suniltanna.com/spaghetti.html

NO THROUGH ROAD HITHER?

Right, so this all sounds fantastic, problem solved?

Not so fast... While these are powerful techniques they also have drawbacks and limitations:

1. Most web design programs don't know anything about these types of includes. This means you have to work in a text editor on repparttar 134602 raw HTML code, manually chopping up your files into fragments, and insertingrepparttar 134603 include commands intorepparttar 134604 HTML code. Worse yet, once you've done it, it's quite possible your web design program won't allow you to make any further changes.

Cont'd on page 2 ==>
 
ImproveHomeLife.com © 2005
Terms of Use