for (int i = 0; i < articleItems.getLength(); i++) {
Node node = articleItems.item(i);
if ((node.getNodeType() == Node.ELEMENT_NODE)
&& (node.getNodeName() == "item")) {
Element itemElement = (Element) node;
this.items.add(new LoLNewsItem(itemElement));
}
}
} catch (Exception e) {
System.out.println("Error on reading the news.");
e.printStackTrace();