some rss parsing and transformation in php