seder/mensaplan-parser — pull request #2 by Taxilof (2014-01-04 16:18:30+00:00)
Title: Update getfood.php - please discard previous pull request

!!! Previous Fix had some side-effect in JSON-structure, this one works :)
Sometimes, not all found links to the PDFs are valid => wget creates a pdf with 0 byte => no *.xml will be created => xml parser chokes => PHP exits.
This fix checks if there was a xml-file generated.