Dave Tips

Tips for computers and the internet. How to, tips, tricks and resources for computers and the web.

Tuesday, November 13, 2007

Feed Validator

If you are doing something that requires you to raw code a feed, either RSS or atom, feedvalidator.org can check your work. It validates quickly, and provides useful tips on how to fix your feed if it's broken.

Labels:

Monday, November 12, 2007

Robots.txt Validator

To affect what automated visitors see when they visit your website, you can use a robots.txt file. You'll need to be able to create a file at the root level of your web site. You can use a standard text editor to make you robots.txt file (e.g., TextEdit, Notepad, etc.).

You may want to check the syntax of your live robots.txt file, the one on your site now, using a robots.txt validator. Robots.txt validtors can be very useful to verify you've set your robots.txt file up to do what you really want it to do. It helps reduce human error, especially as the file gets larger.

Remember that while web robots (search engine spiders and such) often do obey the instructions they find in robots.txt files, a robots.txt file is not a security measure. Robots.txt files are your suggestions about what machines should and should not access, they won't control who or what can access anything on your web site. To actually restrict access to your site (or just certain directories) you can often set up authentication, authorization and access control using a .htaccess file.

Labels:

Tuesday, November 6, 2007

Cheating Color

In a web page design, cheating colors is a way to make colors appear to be the same, when in fact they are different. Depending on context (e.g., background, surroundings, etc.) a color may _appear_ different when in fact it is the same as another area on a web page.

For instance, a light color on a light background may look slightly lighter when it is a small area (e.g., small text) than it does in a large area (e.g., header text). Making the smaller area actually darker, can make the two different areas appear to be the same color.

Similarly, but in reverse, a dark color on a dark background may look better if lightened in small areas relative to bigger areas.

Labels: