• Using JavaScript To Auto Scroll Text

    Date: 2011.02.24 | Category: Scripts | Response: 0

    Using JavaScript To Auto Scroll Text.

    There may come a time when you would like to have some text on a page that is simply just to big to fit on a single page. Of course, you could always create a new document for this text but, what if you could make the text actually scroll through the surfers browser?

    The following JavaScript will do just that.

    Place the following section of JavaScript coding between your <head> and </head> tags:

    <SCRIPT LANGUAGE=”JavaScript”>
    <!–

    function scrollit() {
    for (I=1; I<=1200; I++) window.scroll(1,I);
    }

    // –>
    </SCRIPT>

    Along with the following JavaScript coding someone in the Body of your page:

    <FORM>
    <INPUT type=button value=”scroll” onClick=”scrollit()”>
    </FORM>

    Have a play around with the numbers in the first section of the JavaScript to speed up and slow down the rate of scrolling until you find a speed that is easy on the eye.

    Article written by Lee

  • Using SSI For Auto Updates

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    We all realize the benefits of being able to save time when building sites so, I got into thinking, how can I make my sites look as if they are continually updated without the need to go in and update them manually? Enter the world of SSI.

    SSI is actually a nifty little tool, not only can you include files from a central location but, you can include them at specific times of the day, days of the week or even months of the year, very handy indeed if you are building any type of site that needs updating periodically.

    Once the main burst of work has been completed you can pretty much use the same files over and over again to help you out.

    So onto the auto updating SSI, the following SSI coding will enable you to update a page or pages based on which day of the month it is. It will check the day the page has been accessed and display the relevant information again, this is a handy thing to have should your sponsor be running a promotion over several days, all you need to do is update a selection of SSI files and all of your sites are updated instantly.

    <!–#config timefmt=”%d”–>
    <!–#include virtual=”/yourdirectory/$DATE_LOCAL.txt”–>

    What you need to do is create 31 text files named 01.txt right the way through to 31.txt take the SSI call above and edit the location of the SSI files on your server, you may like to have a central folder named /SSI/ for this purpose so the location would be changed to /domain.com/SSI/$DATE_LOCAL.txt

    I the 31 files you created you could have a table ad with eight of your sponsors links, an article in each one or even just a simple text link, anything that you may want to update can be included in these files.

    As I mentioned above you can base the time, date and even month of rotation to whatever you like to alter how the files are rotated and ultimately viewed on the web you should change the %d in the timefmt field to one of the following:

    %d : Day of the month requires 31 files named 01.txt to 31.txt
    %w : Day of the week requires 7 files named 0.txt to 6.txt
    %j : Day of the year requires 365 files named 001.txt to 365.txt
    %u : The week of the year requires 52 files named 00.txt to 53.txt
    %m : The month of the year requires 12 files named 01.txt to 12.txt
    %H : Hour of the day requires 24 files named 00.txt to 23.txt
    %M : Minute of the hour requires 60 files named 00.txt to 59.txt

    As you can see from the above there really are no limitations to the uses of updating using SSI and, apart fro the relative ease of use and the time saved using them should one sponsor not be converting for you all you need to do to swap sponsors is alter your central set of SSI files and you have instantly changed sponsors over all of your sites.

    Article written by Lee

  • Getting Webmaster Traffic To Your Design Site

    Date: 2011.02.22 | Category: General, Promotion | Response: 0

    Just starting in the design biz? Well you’re going to need some traffic to your design work. You need to get your name out to as many people as humanly possible. If you don’t have the contacts, then you don’t have the work. Network, communicate, and setup your portfolio. These are the 3 most important steps when starting your design company, preceding these three steps are advertising and demonstrating.

    When I first started designing, I had no clue what I was doing except for designing websites. I knew I needed clients, but had no idea where to start. I met up with a ouple of other webmasters one night. I told them I had just started and was looking for some work. They took me in and taught me the trade. They showed me a few tricks in how to design things much quicker, and also subconsciously taught me to make sure as many people as possible see my work, and that they know who its from.

    I worked with my friends for a few months when things started to get slow, so I took it upon myself to start my own company. I still got outsourced work from them, but now was taking on my own clients, but I had forgotten one important step. Advertising, the biggest step to forget. So I started posting on message boards to get my name in the dirt. I received a few clients, but nothing large. Then one day out of the blue a man came to me and wanted 4 pay sites designed. Wow, a real client at last. He said he saw my posts on a resource forum and decided to use me for his work.

    I worked for this client for about 2 months, and more and more people were coming to me. I had been doing something good, but work started to slow and finally I realized I had been working for the same few clients and had not been getting anyone else in the door. Maybe board posting wasn’t enough? Exactly, its not, I asked around to see what I could do I had gotten a few suggestions like banner trades, recip’s, work for advertising. So I did them all. And soon enough I had more clients than I could shake a stick at.

    Network.

    Talk to people, people that are in the biz. Webmasters and designers. Talk to anyone you possibly can that could further spread your name of even bring work to you. If you do not network, then don’t plan on anything coming your way.

    Communicate.

    Get on boards, ICQ, AIM, MSN, whatever. Just make sure that people see you and know you are there. Send them emails with different offers, not spam, but personal emails. Take it upon yourself to try and get your name into the field.

    Portfolio.

    If you do not have one of these, then you might as well try to sell a spider to an arachnophobe. Design some fakes sites if you don’t have anything to show. Do some banners, tours, anything that shows the potential of your work. Make sure you present it as efficiently as possible. People do not want to root around not knowing what they are looking at.

    Advertise.

    Make banners, buttons, links, ads, and anything that you can stick your name on. Get listed on any and all Webmaster resource sites, and design sites. This will help you establish a name base and let people know you are around.

    Demonstrate.

    Write articles for resource sites, create different tutorials also, this will let people know you know what your doing. The more people that like your ideas, the more they will like you. Therefore the more likely you will get work.

    Follow these steps as I did and you will be on your way to having clients beating down your door. Also, make sure you really have something to offer before trying to sell your work. Be unique in what you design and how you present it. Clients love it when their sites are different from others, obviously.

    Article written by John

  • Pay Per Click Or Search Engine Optimization

    Date: 2011.02.24 | Category: Paid Traffic, Search Engine Optimization | Response: 0

    What would you choose to run your business? Well each has their own benefits and drawbacks over one another.

    PPC or SEO The Breakdown.

    Pay Per Click or, PPC as it is most often referred to looks to the novice to be the better option for ‘immediate’ traffic results, you enter your desired keywords, place your minimum / maximum bid amount and you are set for top PPC engine listings for as long as you can maintain the balance in your engine account.

    Search Engine Optimization or, SEO on the other hand, is the more traditional way of attaining high ranking search engine pages. Either you or an SEO expert optimizes your websites pages and random other elements of your website and hopefully within a month or two, you achieve high rankings in the major search engines.

    So Which One? PPC or SEO?

    Generally speaking, SEO work is most commonly more cost effective to your business than utilizing PPC results to gain your traffic, you could pay an SEO expert anywhere from $500 plus to optimize your site and get high rankings indefinitely or, you could put that $500 into a PPC engine account and get high rankings until such time as your account balance runs dry.

    But lets look at this in terms of actual traffic…

    Say you get 1000 visitors to your SEO based website which you paid $500 for, each visitor has cost you $0.50c now lets say your site remains at the top of the engines for a few months perhaps even years each month you receive another 1000 visitors to your site, you have basically cut the cost of each surfer hitting your site down to less than a penny per hit (not taking into account bandwidth costs obviously).

    Now, on the other hand, you want to attract 1000 visitors from your chosen keywords via the PPC engines, most Pay Per Click search engines have a minimum bid amount of $0.05c per hit so right away in your first month, you could receive a potential 10k hits however, as most of you who have already tried your hand at the PPC engines will know, getting 10k hits for one or more keyword at a cost of $0.05 is hard to do, in fact, some would say almost impossible. Non the less let us keep going with this minimum bid amount for the time being.

    Immediately, you can see that you are already restricted to the actual amount of traffic you can receive from the PPC results to 10k hits however, this isn’t the case with the SEO traffic, you could potentially hit your top chosen keyword and stay there until another site out-optimizes you or, your site needs to be optimized again.

    Ultimately, the reasons you will choose over one or the other will be for either ease of traffic generation, PPC will allow you to gain almost instantaneous targeted traffic form the second you open your PPC account up until the point when your account funds empty whilst, SEO work will give you long term targeted traffic over time and, in most instances, this SEO traffic can last for years making the cost of the initial SEO work minimal.

    In Closing..

    Search Engine Optimization can last you years and years whilst Pay Per Click results can diminish in a relatively short amount of time depending on the amount of bid needed to achieve top listings.

    However lets look at a third option, using both PPC results and SEO results in conjunction with each other to minimize the traffic you lose from your SEO work and, to minimize the traffic you lose from your PPC results this will afford you the time to see what works with your Search Engine Optimized sites whilst being able to play with the targeting of keywords on your PPC traffic, once you have both types of search engine figured out, you can put them both together and use them to increase the traffic to your site for years to come.

    Article written by Lee

  • Community Forum Scripts

    Date: 2011.02.21 | Category: Scripts | Response: 0

    Whether you have little or much traffic one thing that will enable you to benefit greater form this traffic is giving your surfers the sense that they are part of a ‘community’ much like the message boards built around adult webmasters have the feel of a community to them your surfers will end up staying around a lot longer if you can give them a reason to come back to your site over anyone else’s.

    That said, one of the main factors in starting your own little porn community is the need to have a place where all the ‘action’ take place. What better way than you own message forum.

    However, we hit our first problem, having never thought about starting a forum up before you wouldn’t know where to go to look for scripts or, what the best one is. That’s the reason behind this little guide.

    Below you will find a short breakdown of the more commonly used message forum scripts along with a short list of features each one has to offer you when choosing to build your own online community.

    VBulletin http://www.vbulletin.com

    This is actually quite a good forum script, most of the main forums on the web use either VBulletin or PhpBB when it comes to threaded forums. VBulletin uses MySQL and .php to run the actual forum and, set-up of it can become a little tricky if you want to customize it to your exact needs and color scheme. That said, once you overcome the initial complications in setting the forum script up it is easy to handle and, with a price tag of only $160.00 its an affordable option for many.

    Ultimate Bulletin Board http://www.infopop.com

    Unlike VBulletin UBB uses Perl programming for the forum script which, means you can install it on any cgi enabled host. However, the one main drawback with this script is that it uses flat text files to store all the data which, can sometimes bog down your server with unnecessary file calls. The cost of $199.00 however can be a bit to expensive for most webmasters.

    Ikon Board http://www.ikonboard.com

    Ikon board is a nice little threaded forum script and, the fact that it is free to download makes it even more so however, even though it uses MySQL for the backend or, choose to store your data in flat text files this script just seems a little to ‘basic’ looking for my personal taste. That said, there are many types of site using IkonBoard so the script must be good enough for them to be using it. Then again, maybe its the price tag of $0.00 that has made this a popular choice.

    PhpBB http://www.phpbb.com

    PhpBB is probably the most well known free forum script on the web today, its easy to customize (within reason) supports php and MySQL functions yet seems to offer nothing in return. The basics of a forum are there however, every webmaster and their closest friend seems to be using this script. The whole idea of building up a community is so that your site can stand out from the crowd, in my humble opinion, the script does what it is supposed to but, it doesn’t offer any redeeming qualities to your site.

    Site Net BBS http://www.focalmedia.net

    Sitenet BBS, formally known as Netboard, is probably one of the better Perl based forum scripts on the market, it price tag of $69.00 makes it an affordable choice for almost everyone and, the installation process itself is VERY simple to understand. The one drawback that i have found with this forum script however is that it stores the data in flat text file which actually slow the server down quite a lot making connections to the forum time-out on numerous occasions. However customization of the script is very easy using only HTML based templates you do not need any additional programming skills and, it has a nice interface with a few good features. For the price it is well worth a look. They also offer a freeware version however the links on the bottom of the forum become annoying after a while.

    In summary there are a lot of popular forum scripts available for webmasters to start using some are free other require payment ALL have a range of different functions available in them.

    Before looking at installing any of the scripts you should always try a demo first to see which one has the features and benefits you would like to offer your community members.

    If you can get your base community built up on a forum they enjoy using then all the rest of your marketing should pay off in dividends long term.

    Article written by Lee.

  • Cross Selling – Offer Your Surfers An Alternative

    Date: 2011.02.23 | Category: Promotion | Response: 0

    As webmasters our primary goal is to make money from our surfers in order to be successful at business, however, in order to make money from our surfers we need to constantly change the way in which we sell products and services to them.

    One such method of selling products to surfers is by using cross selling or, up selling as it is sometimes referred to in the industry. So what exactly is cross selling and, more importantly, what benefit does it give your business model? This is what we shall take a look at in this article.

    Cross Selling – The Basics.

    Cross selling is a method used by marketers to make the maximum amount of money out of a single sales lead at any given time regardless of whether you are working online or, in a bricks and mortar store cross selling is something that almost every sales person does from offering an extended warranty on a new television purchase to offering an affiliate product from inside your sites secure area.

    Cross Selling – How To.

    One of the easiest ways to initiate the cross selling process is simple to provide your site visitors with a selection of links going to a multitude of individual products, this may be a dating site, a software package or, something else, either way, by placing a selection of links on your main selling pages you have already initiated the cross selling process and, by doing so, have already increased your chance at making a sale.

    Cross Selling – New Customers.

    One method of cross selling that is becoming more and more prevalent on the internet is that of cross selling or, up-selling new customers immediately after they have made a purchase, this in itself is not a bad thing after all, you know they have money to spend so, why not use this fact to garner additional sales.

    One good way of offering cross sales to new customers is to give the an option on the actual shopping cart page immediately when they hit it, this may be for a site that complements the product they are making a purchase to already or, something completely different either way, by having this already on the order page waiting for your customer you might just make additional money from them.

    Cross Selling – Old Customers.

    So what happens when a customer leaves your site after making a purchase? Well there are two routes you can take with thee customers, one, is to leave them alone and hope that they return to buy from your site again whilst, the other, my personal preference, is to send these customers a regular follow up letter offering them a product they may be interested in based on their initial purchase after all, if they purchased a copy of Adobe Photoshop, the chances are they may also be interested in something such as Paint Shop Pro, why not give the surfer this as an option by placing a link in the follow up letter taking them to that specific area on your site.

    Cross Selling – Overview.

    When all is said and done, cross selling whether you agree with it or not is a very powerful sales tool, not only can it increase the revenue potentials from new clients but, can also enable any business a method of gaining further incomes from older customers, the one thing that you should all be doing on a regular basis is ensuring that you have a good cross selling strategy in place, regardless of whether you actually are selling memberships to sites, warranties on televisions or, mouse pads for new pc owners.

    Article written by Lee

  • Online Adult Laws – Privacy Policies

    Date: 2011.02.23 | Category: General | Response: 0

    To many webmasters and companies working online the fundamental basics of their business is to turn a profit through effective online marketing campaigns and promotions however, within all of this profit making there is a side of business that is so often overlooked or, forgotten entirely, what is this business practice? The law.

    In this brief article we will take a look at one such law that comes into effect in California on the 1st July 2004 namely, that all ‘web sites that collect any personal information from consumers to post a privacy policy’. Whilst this in itself is the first law of its kind in the United States it is worth mentioning that this is only a State law that affects California however, that said, where one state starts, others are sure to follow especially considering the huge potential left for the growth of the internet.

    Privacy Policies – How Does This Effect You?

    The main factor that you must take into consideration with this new law from California is that, because the Internet is truly global, you have no way of telling where one of your surfers are coming from thus, a surfer entering your site from California, may be making you break the law by not displaying a privacy policy should you collect their information. Incidentally, this new privacy policy law does not state what ‘collected’ information requires you to post a policy however, it would seem that personal information such as addresses, phone numbers and email addresses would be the primary target of this new Californian online law.

    Privacy Policies – The Basics.

    So what is a privacy policy, in essence, it is a document informing your site visitors / customers that any information you collect from them, including user submitted information will be used in a specific way, this might be a case of solely being used by yourself or, specifically if you rent out this information you need to tell your surfers / customers exactly who you are renting this information to.

    Privacy Policies – Overview.

    Whether you collect personal information from you site visitors or not the one thing that makes sense is to have a page created ready for the 1st July 2004 so that you can have it online for when you need it, perhaps storing this page on a central domain and linking to that page from all of your other web sites would be the best method to go as far as ensuring you are covered from prosecution or, perhaps creating a keyword rich privacy policy which you can get listed in the search engines is the way to go after all, just because this will become a legal requirement for you it does not mean that you cant profit from the potential traffic going to that page.

    Article written by Lee

  • Domain Name Transfer Agreement

    Date: 2011.02.22 | Category: Domain Names, Forms & Contracts | Response: 0

    Domain Name Transfer Agreement

    For most people, buying and selling domain names is a fundamental income provider for their business model, as such, you should ensure that when buying or selling domain names you should have a legal contract to assist in the transfer of sale.Domain Name Transfer Agreement.

    This Agreement is made on the Day of 2001 between:

    (1) [Your name and address goes here]. (hereafter referred to as the assignor) and;

    (2) [The buyers name and address goes here]. (hereafter referred to as the assignee).

    RECITALS:

    (a) The parties have been in discussion concerning the transfer to the assignee of the registration of the designations ‘[full domain name goes here]’ and ‘[further domain name goes here]’ (whether in lower or upper case) hereafter referred to as (the “domain names”) as website addresses on the internet.

    (b) The parties wish to reach a mutually acceptable arrangement in relation to such discussions.

    Now therefore, in consideration of the parties’ mutual covenants and undertaking, the adequacy and sufficiency of which are acknowledged, the parties agree as follows:

    1. The assignor hereby agrees to assign, and/or cause to be assigned, to the assignee the domain names. The assignor shall do such things and execute such documents as reasonably requested by the assignee at the assignees expense to perfect such assignment and shall comply with the standard requirements of [insert domain name registrar here] as in force at the time of this agreement.

    2. In consideration of the parties mutual obligations under this agreement the assignee agrees to pay the assignor the sum of $$ [Amount in words goes here] [currency goes here, Dollars, Sterling Etc] immediately following notification that all of the domain names within this agreement have been recorded at the relevant registries as in the ownership of the assignee thereby evidencing the transfer of the domain names to the assignee.

    3. The assignor, whether through himself, any alias and/or his servants or agents shall immediately cease and desist from and shall not resume using the domain names or any other designation whether a trade or service mark, trading name or domain name that contains words colourably similar to that of the assignee.

    4. The assignor further agrees that he shall not, directly or indirectly, individually, through any alias, or in conjunction with any person, firm or corporation, apply to register any trade mark, service mark and/or any other word or words colourably similar to any such trade names or marks.

    5. The assignor further agrees that he shall not, directly or indirectly, individually, through any alias, or in conjunction with any person, firm or corporation, apply to register any trade mark, service mark and/or any other word or words colourably similar to any such trade names or marks, cause enable or assist any third party to do the same.

    6. The assignor represents and warrants that it has not, directly or indirectly, through any alias or in association with any other person or entity, filed, reserved, received or granted a transfer of license of any domain name that contains the trade marks or any word or words confusingly similar thereto in any country or federal, local government, region or state authority, or with [insert domain name registrar here], or any other internet registration agency. The assignor covenants that it will not, whether through himself, any alias, through his servants and/or agents undertake any such registration, filing, or reservation or cause or assist any such registration, filing, or reservation to be made, by itself, or in connection with any other person or entity.

    7. The assignor represents and warrants to the best of its actual knowledge, as of the date of its execution of this agreement, that:

    (a) The assignee has the right to dispose of the domain names;

    (b) The assignor has not received notice of any existing or threatened claims or proceedings by any third party other than the assignee relating to the assignors use of the domain names;

    (c) The assignor has not received notice that the domain names are subject to any outstanding order, decree, judgment, stipulation, written restriction, undertaking or agreement that would prevent the assignor complying with this agreement;

    (d) The domain names are not subject to any lien, charge, security interest, mortgage, third party interest or other encumbrances;

    (e) The assignor has not granted any licenses to or authorized any third parties (including any affiliate of the assignee) to use the domain names or any other confusingly similar domain names; and

    (f) The assignor, does not own directly or indirectly through any alias, third party or likewise any other domain name containing words similar to that of the assignees.

    8. Each of the parties hereto warrants and represents that the person (s) executing this agreement on its behalf has full authority to execute this agreement and bind it as a party to this agreement.

    9. The terms and conditions of this agreement shall be maintained in confidence. No party may disclose such terms and conditions to any third parties other than to the attorneys, accountants, officers or members of the boar of directors of the assignee or assignor or otherwise without the express written permission of the other party.

    10. This agreement shall be binding upon and inure to the benefit of the parties hereto and their respective heirs, clients, licensees, representative, successors, predecessors, and assigns. In this agreement words denoting persons shall include bodies corporate and unincorporated associations of persons and vice versa.

    11.This agreement incorporated herein constitutes the entire agreement of the parties. It may be modified only in writing signed by both parties. This agreement may be executed in one or more counterparts, all of which shall constitute a binding agreement when one or more counterparts have been signed by each of the parties.

    12. This agreement shall be construed in accordance with the laws of the [Your country goes here, United Kingdom, United States, Etc], and the parties hereto submit to the non-exclusive jurisdiction of the courts of the [Your country goes here, United Kingdom, United States, Etc].

    13. Both parties acknowledge that if either party violates all or part of this agreement the other party may seek legal remedies to restrain any further violation of this agreement and in such a case, the violating party will be wholly liable for the cost of any such order.

    Signed by: ……………………………….. Date: ………………………..

    For and on Behalf of [Your company / legal name].

    Signed by: ……………………………….. Date: ………………………..

    For and on Behalf of [Buyers company / Legal name].

    Article written by Lee

  • Writing Your Sales Text – Some Facts

    Date: 2011.02.21 | Category: Writing | Response: 0

    Do you know the difference between writing sales text for print advertising i.e. magazines and, writing sales talk for websites?

    Well some of these differences will go against your intuition however, these differences are based on how people read specific items.

    Where Do Eyes Go First When Your Page Loads?

    Contrary to what most webmasters think it may not always be towards the thumbnails and banners on your page instead, surfers eyes will more than likely go to the first few lines of text on the page therefore, your first chance at making a sale before the surfer starts to burn your bandwidth is to have some enticing text on any site or page you build. Another reason why learning to write good text links can benefit you long term.

    Also, as most surfers will only look at a page for between three and fifteen seconds before they decide whether they want to stay on the site they are at or close it this now starts to question webmasters use of heavy graphics on their sites, if a graphic takes three to four seconds to load you have just lost valuable sales time on your site.

    How Much Of Your Copy Do Users Actually Read?

    On average surfers will read about 75% of the length of any given page. Again, this is good news because it now means we can draw our surfers attention tot he ‘important’ sections of our sites by using headlines and bullet points to make them stand out. Also, this means that, given surfers will read only the first 75% of any page that the bottom half of your pages may not be as important as what was first believed.

    Why Do Most Banner Ads Produce Poor Click-Through Rates?

    Again as with any advertising media there is only a specific time frame that anyone will look at something, in this case it has been found that the vast majority of surfer will spend a mere 1.25 seconds looking at a banner which, is about enough time to read say 5 words based on the average college students reading time of 350 words a minute.

    Therefore, banners which are animated and can take up to 5 seconds to get all the information across may in effect be completely worthless on our sites. More bad news for webmasters who have fancy animations and the likes on our pages.

    Why Is Reading Online More Frustrating Than Reading Print?

    Did you know that reading text on a computer screen can cause your reading ability to slow by up to 25% in some cases? This means that over inflating pages with text heavy content may actually aggravate the surfer instead of draw there attention! But, how can we stop this from potentially losing us a sale? Simple here are a few suggestions.

    Rather than having one long continuous stream of text have several smaller one or two line paragraphs of text.

    Use headlines to summarize what you are telling the surfer for example, if you sponsor has free trials tell them in bold lettering ‘Free Trials’ you get the point across and, you may draw their attention to click on the text.

    Are Your Web Page Users Not Getting The Whole Picture?

    Can surfers ‘scan’ your website? Lets look back at the above figures, 75% of the page gets read, banners have an attention span of only 1.25 seconds on average, that’s not much time for a surfer to look at your pages.

    I think that would probably explain the reason why surfers tend to ‘scan’ our sites and only concentrate on the free images, how many of us actually take the time to read word for word EVERYTHING on a page?

    I know I hardly do I just sit there and scan the page for things that draw me into the text or site. This is true again for surfers in fact, estimated figures show that roughly 21% of surfers actually spend the time to read every single word on any site meaning the other 79% only scan through our sites this again, cuts down our marketing capabilities dramatically making it more important to have headlines and well laid out pages highlighting the part we want our surfer to look at, namely, our sponsor links.

    If we do not do this we are in effect only making 21% of our marketing efforts count again, taking away from our profits. That’s a huge chunk of our surfers we are losing out on gleaming a sale from.

    What do all of the above figures tell us? Simple, we need to keep our pages quick loading, concise and more importantly unique, we need to draw our surfers to the specific areas that we want them to go to first and, in the process we should start to make more money from each of our sites.

    Article written by Lee

  • Using Basic Server Side Includes (SSI)

    Date: 2011.02.24 | Category: WebDesign | Response: 0

    Server side includes are what their name sounds like.  A way to include the contents of another file into your current web page BEFORE the web page gets sent off to the surfer.  Not only does this include contents of a static file but you can also include the results of a CGI program and on some web servers, you can even have it display the current date and time.

    Now, many web hosts do not normally have server side includes turned on. You will have to ask your host if they have SSI turned on and if they do, what is the file name extension for SSI.  By default, SSI files have an .shtml extension.

    Sometimes, you can turn SSI on yourself.  If you host doesn’t have SSI turned on for you already, you can try adding the following two lines to your .htaccess file.  Then create a file with the .shtml extension, include a SSI command and see if it works.

    AddType text/html .shtml
    AddHandler server-parsed .shtml

    When you use SSI commands, you place them exactly in the location within your web page where you want the output of the SSI command to appear when you finally browse the page.  If you have SSI, then you can use the following command to include a file.  When you include a file, you can either give it a path name to the file or you can give a URL to the file. I’ll list both here.

    <!–#include file=”/some/path/above/my/web/to/my/header.html” –>

    This is an example of how to include a file based on its path name.  Now,
    here’s the same file put included with its URL.

    <!–#include virtual=”/to/my/header.html” –>

    And this is an example of how to use a URL.  With a URL however, it cannot be a complete URL such as http://www.somesite.com/somefile.html.  It has to be within your current website.  You can also use the URL method to run a CGI script!  Here’s an example of that:

    <!–#include virtual=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″
    –>

    As you can see, we can even pass arguments to the CGI script just as if you typed it into your browser!  There is also another way of running a CGI script but this is not as widely used any more and you should use the #include virtual method instead.  Here is the same example so that you will know what it means when you see it.

    <!-exec cgi=”/cgi-bin/somescript.cgi?myfirstarg=1amp;mysecondarg=2″ –>

    As I mentioned earlier, you can use SSI to display the current time and date. Here’s how:

    <!-echo “$DATE_LOCAL” –>

    This will display the current date and time. SSI is usually used when you  want to have a standard header or footer on each page.  It’s also used for displaying rotating banners or page counters. As you see above, you can also  use it to display the current date and time or the date when the page was  last modified.

    SSI has also been used for cloaking and some tracking  software uses SSI to track each incoming hit to the web page.  If you would  like more information about SSI, go to
    http://www.apache.org/docs/mod/mod_include.html.  This is the definitive guide on SSI on the Apache web server.

    Most other web servers that use SSI also follow these conventions.

    Article written by Lee

Premium Sponsors















Categories

Site Links