refactoring url type validation with single line methods and a bit of metaprogramming
always wrap news in array and return the first element if news is initally one element
Merge branch 'gi/post-in-linea' of github.com:mikamai/lamernews into gi/post-in-linea