Separate the eggs. Mix flour with baking powder. Beat egg whites with a pinch of salt until stiff.
Mix the egg yolks, sugar, coconut milk, oil and rum well. Stir in the almonds, then fold in the pineapple pieces. Carefully fold in the flour alternately with the egg whites. Pour into a well-greased wreath form (24 cm) or ring cake tin.
Bake in the preheated oven at 180 ° C for about 45 minutes.