remove www from normalized url

This commit is contained in:
Athou
2013-07-03 10:19:22 +02:00
parent bbe9720e63
commit e2f1774e1d
2 changed files with 6 additions and 3 deletions

View File

@@ -104,6 +104,7 @@ public class FeedUtils {
if (normalized.startsWith("https")) {
normalized = "http" + normalized.substring(5);
}
normalized = normalized.replace("//www.", "//");
normalized = normalized.replace("feeds2.feedburner.com", "feeds.feedburner.com");
return normalized;
}