SPF the easy way

Sender Policy Framework (SPF) is an open standard that aims to help prevent spam, and stop legitimate email from being tagged as such. While the specifications can take some time to understand, there are some web-based tools to help you make creating your SPF records a little easier than by hand, but I still find them to be a bit misleading. According to the SPF FAQ the simplest way to create your SPF record is to simply list the IP addresses of all servers that mail goes out through, e.g.:

Tags: 

Tip: Passing a shopping cart to Paypal Website Payments Standard

Here's a little tip for anyone using Paypal's Website Payments Standard system for electronic payments on their shopping cart. Their API allows you to pass in a complete shopping cart using a series of form fields listing the items, quantities, etc, as you'd expect. There's one tiny little detail that isn't explicitly stated - the button that you use to submit to the API must not have a name attribute otherwise it will fail. Here's a fully working example to better explain:

Tags: 

Details for iPhone web app development (UPDATED)

Some details have been made available by The University of Washington on how to develop web applications for iPhone - lots of basics in there, like keeping a good separation of HTML and CSS, but also some specifics on e.g. the screen width, some limitations in place, etc. Mandatory reading for anyone doing iPhone apps.

UPDATE: Apparently someone didn't like the info being posted publically, so someone posted a copy of the iPhone details elsewhere.

Tags: 

button_to HTML options not completely intuitive

While working on a site in Rails tonight I was adding a button_to that I wanted a JS confirmation requester. Well, based on my albeit beginner knowledge of Rails I thought the following would work:
[source:ruby]
< %= button_to "Empty Cart", :action => :empty, :confirm => "Really empty your cart?" %>
[/source]

Tags: 

Pages

Subscribe to Front page feed