I haven't heard of using the pineapple before, but I have heard of using spinach to increase the iron content and give it a sort of metallic-y taste most dogs find unpleasant.
Pineapple is very acidic though, so it might give it a 'tang' they dogs dont' like? I have no idea, really.