Syntheses of vinyl polymers with pendant porphyrin dimers and their catalytic effects on photoreductions