Update publisher_example.php

$response = $publisher->publish($feed); replaced by $response = $publisher->publish($feeds);