Usually made from ripe red tomatoes, one year I had lots of green tomatoes I needed to pick as well - I made one batch with red and one batch with green, and then combined them. The result was yummy!
Wash and chop tomatoes and apples. Chop onions. Place in a large stock pot. Tie allspice and garlic in a muslin bag. Boil all ingredients together slowly for two hours, stirring frequently. Cool, discard muslin bag, and process in batches through a foodmill or food processor. Return to pot, bring back to boil, and if desired simmer a bit longer to thicken further. Bottle into hot, sterilised bottles*
* To sterilise bottles, wash, rinse, then place in cold oven, turn heat to 100C and maintain for at least 30 mins - keep them hot after that until ready to fill. Boil clean metal lids in a pot of water for 5 mins. Can also use Agee jars etc.