Beginning with the middle section, twist the tail near to the end.
Wrap the tail around the hairband like a snail.
Tuck the ends underneath so they don't show.
Open up a bobby pin a little bit so it will catch hair from two loops, including the end of the tail, and push it into the bun. Add another pin perpendicular (to form an X) the same way. Two pins was all I needed for these little buns, but you could add more if they don't seem like they'll hold it well. The pins were longer than the bun so they showed on the edges, but I didn't really care about that. They do make shorter bobby pins. This would be a great hairstyle for the short ones, but I don't have any.
Repeat with the other piggies.
Find the middle of a long ribbon by folding it in half and matching the ends. Put the middle of the ribbon above the middle bun. Wrap the ends around under the other buns, crossing over itself between the buns, and under the middle bun. Tie a bow. There is a very subtle OXOXO made by the buns and the ribbons crossing. Most people won't notice, but it's cute anyhow. Somehow I missed taking a picture of the finished product from the back. Oh well.
Here's a picture of her hair after the whole day was spent. It held its shape pretty well.