That's easy; you'll just need to do a little slicing and dicing. Use my guide on how to cut pineapple to peel and dice yours. Then, as a final step, use the flat side of your knife to squash the diced pieces. Alternatively, you could crush the diced bits between two large cutting boards. Squeeze out the extra juice and add to the cake batter, just like you do with the canned kind.