I was updating my resume and wasn’t sure how I wanted to format it in HTML. Being on the lazy side, I didn’t want to have to copy/paste the HTML for each job I listed - anyway, I made a simple PHP page to do the grunt work for me. I also included a JavaScript that might keep your email address from being harvested by junk mailers. Feel free to use it if you like.
History
Version 2.2 adds the ability to include links and hand-coded HTML in the HTML output.
Version 2.1 adds a ’self-contained’ HTML version (suitable for e-mailing).
Version 2.0 is released under the GPL license and includes a number of nice enhancements including:
- Valid XHTML 1.1 and CSS output
- Separate CSS for screen and for print.
- Plain text output option.
- Cleaned up code to make it simpler to add data.
Popularity: 4% [?]
Last modified: 2006-11-02 01:32:41 GMT

Michael Cummings adds this Comment:
I like the resume.php script. Dream features for next rev: “email to friend” (JS to show/hide form). PDF generation, provided required LAMP plugin is installed.
I’m going to give a whirl… what I was really looking for (how I found you on google) was a tableless css resume template… so, like, that would be cool too. All this in one! Not only will I pay 10. dollars I’ll help you sell lots of them!
January 4th, 2007 at 1:05 pm
skizye adds this Comment:
Another vote for pdf generation here!
January 7th, 2007 at 6:17 pm
Alex adds this Comment:
Since there is already a self-contained HTML output, I don’t see a need for PDF output. However, if someone wants to create a patch to add PDF output, I will include it.
January 7th, 2007 at 6:35 pm
Mena B adds this Comment:
I was looking for the download area but all I see is a button saying Donate. It’s not a donation if it’s forced — that’s called a “fee.” Donations are always freely given and the amount can not be demanded, only suggested. Because there doesn’t seem to be a way to download without paying $1.00, I think you should be honest and say there is a dollar download fee involved. Using the word “donation” is deceptive.
February 27th, 2007 at 10:40 am
Alex adds this Comment:
There is absolutely no fee required - you’ve got your facts wrong.
February 27th, 2007 at 10:49 am
mike adds this Comment:
Alex,
I love it. Would you consider adding a references section? I would love the ability to have my references in the php file, but the option to set the flag true or false depending on if I want the references displayed or not. Keep up the good work!
March 5th, 2007 at 9:35 am
Peter adds this Comment:
Great idea that serves a need for a lot of people. Just wanted to say thanks you do a lot of great stuff.
March 31st, 2007 at 11:37 am
Taylor Banks adds this Comment:
Great template, Alex. I’ve been using and loving it for a while now (and finally donated just moments ago). Just spent several minutes with the lovely FileMerge.app migrating my data from an old 2.0 version to 2.2, and having a hard time figuring out the syntax for escaped URL’s within item descriptions. Employer_links are obviously straightforward, but I’d like to link to items in, for instance, my Skills section. Any guidance here?
April 20th, 2007 at 1:20 pm
M Alhadi adds this Comment:
Thank you for this great script. I vote for PDF generation as well.
June 22nd, 2007 at 8:04 pm
James Fleeting adds this Comment:
The script looks great and I look forward to using it more in the future.
For those wanting pdf generation I don’t really think there is a need. It gives you an html to save and there are tons of free online pdf converting tools like www.pdfonline.com which I have personally used in the past for converting html and .doc.
July 7th, 2007 at 9:10 pm
gaetano adds this Comment:
this is good, but I think the best options are:
- building the cv in a single, self-contained html file containing js and css, so you can easily mail it / store it / print it / whatever. Need to retype annoying html is reduced by css usage
- use a css with different layout for printing mode, so that the web view can be nicely styled while the printed version feels like a pdf
- add a zest of javascript to have multiple languages versions all within the same file
January 27th, 2008 at 8:55 am
Alex adds this Comment:
I guess this satisfies all of your requirements then except “zest”.
January 27th, 2008 at 9:26 am
Nippy adds this Comment:
I seem to be having problems print previewing a multi-page version, but only when using the latest version of Firefox. IE 6 is fine, and I haven’t tested it in IE 7.
Specifically, a list that is broken in half by a page break is being shoved over to the right at the top of the second page.
After researching a while, I think this is probably due to the float problem within Firefox’s CSS rendering; however, I’ve no idea on how to fix this.
Does anyone else have an idea?
March 13th, 2008 at 9:49 am
Alex adds this Comment:
I would recommend reporting the bug to Mozilla.
March 13th, 2008 at 11:23 am
Nippy adds this Comment:
Hi Alex! Thanks for such a quick reply and for a really cool template. You truly have some kickass projects on your site.
I’ve done some more research on this. The problem involves Mozilla/Firefox’s misalignment of page elements (or cutting off of page elements) when (1) the CSS includes certain kinds of floats and (2) the printed page goes to 2 or more pages. It is indeed a problem with FF that has been known for many years, with versions going back to early 1.x if not before.
Apparently the only fix (since Mozilla won’t fix it, despite years of requests) is to recode the CSS float elements to work in Firefox. Eric Meyer over at A List Apart has an article on this in case anyone is interested.
So, I’ve been trying to modify the template’s CSS to let Firefox print a multiple-page document without shoving over the lists and chopping off dates and other info. If anyone has already figured out how to do this, I’d appreciate your help. If I can figure out how to do it, I’ll let you know!
March 13th, 2008 at 11:44 am
HTML Resume Template II | No Thanks, I'm Just Looking adds this Pingback:
[…] couple years ago, Alex King came out with the HTML Resume Template, a small PHP script that generated different formats of a […]
April 6th, 2008 at 10:06 pm
Hardik adds this Comment:
Excellent idea… and script.. thanks for sharing….
May 31st, 2008 at 3:08 am
Tim adds this Comment:
I must be the only idiot who can’t quite figure out how to manually comment out HTML for encoding in all of these strings.
Anyone throw me a bone here? I’m dying…
July 27th, 2008 at 8:00 pm
Ben Burton adds this Pingback:
[…] http://alexking.org/[...]ume-template Read more… […]
August 11th, 2008 at 3:32 pm
Heather adds this Comment:
An elegant and stylish format, and very easy to use! Thanks for sharing this; I love it!
October 27th, 2008 at 3:50 pm