Skip Navigation

Everything tagged with "web"

The fourth part of the Writing Secure PHP series, covering cross-site scripting, cross-site request forgery and character encoding security issues.

Read the rest of this post »

HTML is the language of the web. It is the semantic support on which websites depend. This A4 reference lists the various tags available to the web designer, as well as a selection of useful character entities, attributes and events.

Read the rest of this post »

RSS to iCal


19 October 2006   |   Comments   |   rss, weather, php, bbc, ical, convert, tools, web, webdev, code, rss2ical

I have been looking for a way to convert the BBC weather feed for my area to iCal, so I can subscribe to it. It's date-based, after all, and RSS never seemed to me to be an appropriate format for subscribing to weather information. iCal always struck me as being "better" for that purpose. Of course, the BBC only have an RSS feed for local weather. What I needed was a converter.

After some hunting, I discovered that Dean Sanvitale had written a PHP script to convert RSS feeds to iCal format. However, his site (codent.com) appears to be long since abandoned and the script is no longer available from there. Fortunately, the Wayback Machine did have a copy. Dean originally released the script under a Creative Commons License which, fortunately, allows me to make the script available to download from this site (note: the script is available from this site under the same license).

So, if you're looking for a way to convert an RSS feed to iCal, this PHP script will do the job. Thanks Dean!

Source: rss2ical.txt

Microformats allow us to add more information to our documents on the web, embedding semantic data in web pages that can then be parsed and used in other applications. This reference sheet contains an overview of the most often used microformats.

Read the rest of this post »

Why worry about getting twice as many people to visit your site, when it can be far easier to double the number of sales from the people already visiting? Here are 10 ways to improve your website conversion rate.

Read the rest of this post »

Wondering why you should hire someone to market your website and how they should go about doing it? Hopefully this article can help.

Read the rest of this post »

Many of my clients have worked previously consultants and SEOs that inundated them with jargon, especially where proposals and sales calls are concerned. I find myself sometimes using too much jargon - easily done when you spend so much time working in any field. This jargon guide explains the industry terms in simple language.

Read the rest of this post »

A quick reference guide for Ruby on Rails, containing the default directory structure, predefined variables, methods, reserved words and regular expression syntax.

Read the rest of this post »

A quick reference guide for ASP / VBScript, containing functions, collections, regular expression syntax and other useful bits of information.

Read the rest of this post »

I'm forever looking up character codes, so this cheat sheet was a no-brainer. This contains a list of the assigned character codes in HTML, with an example of how they are displayed, and description.

Read the rest of this post »

A quick reference guide for JavaScript, listing methods and functions, and including a guide to regular expressions and the XMLHttpRequest object.

Read the rest of this post »

The third part of the Writing Secure PHP series, covering weak passwords, clients and more advanced topics.

Read the rest of this post »

A quick reference guide for MySQL, including functions (both in MySQL and PHP), data types, and sample queries. Available in PDF and PNG formats.

Read the rest of this post »

A quick reference guide for mod_rewrite, including server variables, flags and regular expression syntax. Also includes examples of commonly-used rules.

Read the rest of this post »

A quick reference guide for CSS, listing selector syntax, properties, units and other useful bits of information.

Read the rest of this post »

I'm fed up with having to visit php.net to look things up. This A4 cheat sheet is designed to sit by your desk and make your life easier.

Read the rest of this post »

Learn how to improve your security a little further with the second part of this PHP tutorial.

Read the rest of this post »

How to preload images using CSS and so avoid delays with rollover effects.

Read the rest of this post »

Are Cookies Dangerous?


18 August 2004   |   Comments   |   security, web, cookies

Many inexperienced web users are terrified of cookies, convinced that they are being used to send all their private information (and money) to some sinister group of internet scum. Here is a simple guide to what cookies are and how to make sure you maintain your privacy.

Read the rest of this post »

Learn how to avoid some of the most common mistakes in PHP, and so make your sites more secure.

Read the rest of this post »

Regardless of your connection speed, this will show you how your site loads on PCs with older connections.

Read the rest of this post »

Using CSS for layouts can be a problem when using backgrounds for two columns that are not of equal length. This article expands on the solution to this problem from AListApart.

Read the rest of this post »

High-traffic sites can often benefit from caching of pages, to save processing of the same data over and over again. This caching tutorial runs through the basics of file caching in PHP.

Read the rest of this post »

All valid HTTP 1.1 Status Codes simply explained.

Read the rest of this post »

Most designers create printer friendly pages by creating two seperate pages for each single page of information. This article will teach you how to do the same with CSS and no duplication.

Read the rest of this post »