Free Game Downloads -- Sodaware.net

Free Game Downloads -- Role Playing Games, Puzzle Games and Action Games.

Browsing Date Archive: 2005 October

31 Oct, 2005

Turn hotlinks into advertising

If you own a website, then it’s likely you’ve had images “hotlinked” or “leeched”. Not only is this annoying and rude, but it also costs bandwidth. The usual response is to replace the linked image with something suitably amusing or offensive, but in today’s post I’m going to look at the alternatives.

A recent post in the private ASP newsgroups by Bret Reece of Five O’clock Software interested me. After some tweaking, the hotlinked image became “free” advertising. I thought about this and realised that with a bit of coding wizadry, a more flexible method could be developed.

There are several methods of preventing hotlinking, ranging in difficulty.

The Easy method

Replace the linked image file with your “special” image. We’ll assume that it’s a pleasant advert for your software or company, rather than something that will blind them. Simple and easy, although you will need to replace references to the image on your own site, which can be time consuming.

The Advanced Method

If you’re using an Apache web server and have access to mod_rewrite, you can automatically redirect offsite referrers to your special image. The code below, placed in a “.htaccess” file will do the trick. If you’re not sure how to do this, I recommend this tutorial at freewebmasterhelp.com.

The following code will redirect all external referrers that link to png, gif of jpg files to “www.your-domain.com/image.gif”. You can add more “safe” urls to the list if required.

<ifmodule mod_rewrite.c>
  RewriteEngine on

  # Make sure referrer is not blank or from your site.
  RewriteCond %{HTTP_REFERER} !^$
  RewriteCond %{HTTP_REFERER} !^http://(www.)?your-domain.com/.*$ [NC]

  # Redirect the offsite image links to your anti-hotlink image
  RewriteRule .(gif|jpg|png)$ http://www.your-domain.com/image.gif [R,L]
</ifmodule>

Simple mod_rewrite code to redirect hot-linked images to “image.gif” on your site.

The Extra Special Method

If you want to get really technical, you can combine PHP with your .htaccess file to dynamically generate images for each site. Instead of redirecting to “image.gif”, you would redirect to “your-image-script.php”. This script would then dynamically generate an image using PHP’s imaging functions.

In Thursday’s entry, I’ll cover the PHP side of this method in depth. This will include using a MySQL database to track referrers, as well as using discount coupon codes to track where the orders come from.


13 Oct, 2005

Joe Indie on starting small

A good post over at Joe Indie about why indies should start with a small project before moving on to bigger things. He states the main benefits of this approach as:

  1. Experience with the entire software development process.
  2. Experience shipping software to end users.
  3. Experience setting up shop on the Web.
  4. Experience as a business entity with a product to sell.

All of these are excellent points, and after some thought I’ve expanded on them:

Experience with the entire software development process.

As a developer at heart, I’d put this at the top of my list. A small project gives you a chance to try out tools that you may later rely on, such as code versioning systems and build tools. It also gives you a chance to experiment with development methodologies, design processes and all the other wonderful things that come with developing software. As an indie, you have the particular joy of being able to do things your own way, so it’s a good idea to find what works best for you.

It’s important to push yourself to learn at this point. The object of the exercise is to produce to small, fully functional product, which brings me nicely onto the next part.

Experience shipping software to end users.

How are your support skills? Do you have a system for tracking user problems? How will you keep track of what bugs you’ve fixed (and when)? How will you deliver these fixes to end users? More importantly, how easy is it for an end user to apply a patch?

You can guarantee that as soon as your software is released, it will start misbehaving. If you’ve ever demonstrated one of your products to someone else, you’ll know the phrase “Hmm, it’s not supposed to do that”.

Experience setting up shop on the Web.

Which payment processor will you use? Plimus? BMT Micro? ShareIT? Do you want to offer affiliate opportunities?

Next comes writing the product page that will sell your product, which is perhaps one of the toughest things to do. My advice: Get as many of your friends to read it as possible. Experiment with layouts, phrases and colours. Remember that you have the flexibility of a website, and that you can change it whenever you wish. Take advantage of it!

Marketing is another important factor, and this is a good chance to experiment with different kinds of marketing. Will you handle it all yourself, or use a third party such as Shareware Promotions?

Experience as a business entity with a product to sell.

Tax, insurance and other legal issues abound here. If you don’t know much about the legal side of business, now would be a good time to learn!

And more…

There’s far too much to cover in a single article, but the important thing is to make sure you learn something from your experiences. Experiment, and make sure you find what works for you.

Read: Why New Indies Should Start with a Small Project; or “How do you get to Carnegie Hall?”


10 Oct, 2005

Five utilities that make my life easier

I’ve installed a lot of applications on my PC over the years, but several have earned the distinct honour of being allowed to stay:

  1. Freemind – An excellent mind-mapping tool that makes it easy to grab lots of ideas. I use this to note down all my rough ideas, and although it’s not quite as flexible as a pen and paper, it’s extremely useful.
  2. Keynote – I’ve tried several tools like this, and although it doesn’t have the power of Microsoft’s OneNote, it’s much smaller and sits quite happily in the tray.
  3. CommandBar – If you use the command line for any amount of time, this is an invaluable asset. It allows you to open an explorer bar, similar to “History” and “Favourites”, that contains a working command prompt. I use this quite regularly, usually when building resource files for software, and it has made my life so much easier.
  4. Foldersize - Another explorer extension, this time allowing you to view the size of a folder in a column in explorer. Quite handy when trying to find junk hiding on your hard drive.
  5. Vim – There’s not a lot for me to say about Vim that hasn’t already been said. I use it mostly for editing batch files and .htaccess files, but also if I just need to edit a file quickly.

I hope you find them as useful as I do.


05 Oct, 2005

First. Post. Ever.

I promise I won’t always use such lame titles.

I aim for the majority of content on this blog to be centered around a few core topics: updates on what’s being developed at Sodaware, what has been learnt from development and anything else I think will be useful to the readers. There may also be the odd piece on marketing, personal development, productivity and other topics that may be of interest.

However, I do expect things will change a lot in the early stages until I have a good idea of what works and what doesn’t.


Complete Archives

 


Browse By Date

Adventures in Shareware

Welcome to "Adventures in Shareware", the blog of an indie software business known only as "Sodaware". Learn all about indie games, the people that make them and how you can improve your own indie business.

Download Free Computer Games | Site Map | Links | Contact Us

© 2005-2007 Sodaware. All rights reserved. About Us | Privacy Policy