May 30, 2005: Extracting email addresses
Recently I had to send an email newsletter to many recipients. The email addresses supplied were in a single column of a spreadsheet. My mass email sending application uses a comma separated list of addresses. Not usually a problem, a simple CSV export of this list does the job. Only in this case some email addresses were not in a valid format.
For examaple:
foo@domain.com [foo@domain.com]
I needed a quick way to identify each of these non-valid addresses and manipulate them into a usable format.
Continue reading "Extracting email addresses"
March 15, 2005: Add content with CSS
I had a use for some flashy CSS 2.0 code the other day. I couldn't find it in my library, which was really annoying. I've decided to store various bits of handy code on here. Here's the first:
a:after {
content: " (" attr(href) ") ";
font-size: 80%;
}
Add the content rule to anchors in your print stylesheet as aboue & you'll have lovely little URL's of each link placed in brackets after the link content.
This doesn't work on Internet Explorer though. Does work on Firefox. So think of is as an enhancement rather than rely on it.
