protected WireFeed createRealFeed(String type,SyndFeed syndFeed) { Channel channel = (Channel) super.createRealFeed(type,syndFeed); if (syndFeed.getUri() != null) { channel.setUri(syndFeed.getUri()); } else { // if URI is not set use the value for link channel.setUri(syndFeed.getLink()); } return channel; }
@Override protected WireFeed createRealFeed(String type,SyndFeed syndFeed) { Channel channel = (Channel) super.createRealFeed(type,syndFeed); if (syndFeed.getUri() != null) { channel.setUri(syndFeed.getUri()); } else { // if URI is not set use the value for link channel.setUri(syndFeed.getLink()); } return channel; }
protected WireFeed parseChannel(Element rssRoot) { Channel channel = (Channel) super.parseChannel(rssRoot); Element eChannel = rssRoot.getChild("channel", getRSSNamespace()); String uri = eChannel.getAttributeValue("about", getRDFNamespace()); if (uri != null) { channel.setUri(uri); } return channel; }
protected WireFeed createRealFeed(String type,SyndFeed syndFeed) { Channel channel = (Channel) super.createRealFeed(type,syndFeed); if (syndFeed.getUri() != null) { channel.setUri(syndFeed.getUri()); } else { // if URI is not set use the value for link channel.setUri(syndFeed.getLink()); } return channel; }
@Override protected WireFeed createRealFeed(String type,SyndFeed syndFeed) { Channel channel = (Channel) super.createRealFeed(type,syndFeed); if (syndFeed.getUri() != null) { channel.setUri(syndFeed.getUri()); } else { // if URI is not set use the value for link channel.setUri(syndFeed.getLink()); } return channel; }
protected WireFeed parseChannel(Element rssRoot) { Channel channel = (Channel) super.parseChannel(rssRoot); Element eChannel = rssRoot.getChild("channel", getRSSNamespace()); String uri = eChannel.getAttributeValue("about", getRDFNamespace()); if (uri != null) { channel.setUri(uri); } return channel; }
protected WireFeed parseChannel(Element rssRoot) { Channel channel = (Channel) super.parseChannel(rssRoot); Element eChannel = rssRoot.getChild("channel", getRSSNamespace()); String uri = eChannel.getAttributeValue("about", getRDFNamespace()); if (uri != null) { channel.setUri(uri); } return channel; }
protected WireFeed parseChannel(Element rssRoot) { Channel channel = (Channel) super.parseChannel(rssRoot); Element eChannel = rssRoot.getChild("channel", getRSSNamespace()); String uri = eChannel.getAttributeValue("about", getRDFNamespace()); if (uri != null) { channel.setUri(uri); } return channel; }