forked from Archives/Athou_commafeed
method not used anymore
This commit is contained in:
@@ -517,19 +517,4 @@ public class FeedUtils {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String parseForImageUrl(byte[] xml) {
|
||||
String xmlString = null;
|
||||
try {
|
||||
String encoding = FeedUtils.guessEncoding(xml);
|
||||
xmlString = FeedUtils.trimInvalidXmlCharacters(new String(xml, encoding));
|
||||
/*if (xmlString == null) {
|
||||
throw new FeedException("Input string is null for url " + feedUrl);
|
||||
}*/
|
||||
xmlString = FeedUtils.replaceHtmlEntitiesWithNumericEntities(xmlString);
|
||||
} catch (Exception e) {
|
||||
}
|
||||
return xmlString;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user