protected String getLink(Element item) {
        switch (type) {
            case Atom: return item.getElementsByTag("link").attr("href");
            default: return item.getElementsByTag("span").text();
        }
    }