Outdoor trash bins with flaps are better at keeping the waste contained, even controlling smells to a certain degree. However, these receptacles are also more prone to getting broken or needing to be cleaned, since the flap comes into constant contact with the waste.
Baking soda: This is also a good absorbent. Put a generous amount of baking soda in an uncovered container (the size of the container depends on the size of the confined area) and leave it for several days. Remove the baking soda and replace it with new one and leave it for a couple of days. Continue replacing the baking soda until it has cleared the trash can smell.