Course titles with a new line character (%0A) was ausing a 404 error (since the web server could not resolve such URLs?). Now the problem is resolved with a URL view helper, that extends Zend\View\Helper\Url and replaces the niw line characters in the URL with whitespaces.
Needless code removed.
Courses without title get a dummy title 'untitled' in the view.
The handling of displaying of unassgned courses (the courses, no sport was found for) is realized cleaner now.
Some preparations tor the sitemap. #20
Simple quick&dirty sitemap. CLOSE #20