Its the same idea, but instead of nails, I put some hooks on a clothes stand I found at a yard sale. The hooks can be sourced from any hardware store. They can't be more than a few bucks apiece. Just get a pair thats a bit bigger than the seat stays of your bike.
I can't remember where I got the stand. I think it used to be a stand to hang clothes on at a store. I can't remember how much it cost, but being the cheap kind of guy I am, I'm sure I wouldn't pay more than a few bucks. I bought it because it's legs fold away so I can carry it with me when I go riding in far away places. It had an upper part to hang clothes. This is easily removed with a hacksaw.
Attach the hooks as shown and its set to go. I also slid a couple hunks of tubing onto the hooks to protect the finish on my bike.