@Override
  public void startElement(String uri, String localName, String qName, Attributes attributes)
      throws SAXException {
    super.startElement(uri, localName, qName, attributes);
    if (localName.equals("item")) {
      story = new NewsStory();
      Log.d("Exam01", "Entering item element");
    } else if (localName.equals("title")) {
      xmlInnerText.setLength(0);
    } else if (localName.equals("thumbnail")) {
      int width = Integer.parseInt(attributes.getValue("width"));

      storyUrl = attributes.getValue("url");

      if (width > this.largestImgWidth) {
        largestImgWidth = width;
        story.setUrl(storyUrl);
      }
    }
  }