Showing posts with label rss. Show all posts
Showing posts with label rss. Show all posts

Friday, January 13, 2012

Reusing PHP function to reduce code duplication


I am pulling in weather data from a Yahoo weather RSS feed for both London and New York. I'm trying to reduce code duplication by reusing a PHP file which contains functions for pulling in the weather data.