Removed feedburner specific URL handling

The ?format=xml parameter should not be necessary. It could even cause
problems in case the url already contains a parameter string.
This commit is contained in:
Michael Kaiser 2012-10-22 12:00:17 +02:00
parent 85d1ed0520
commit 83f13e4fe2
1 changed files with 0 additions and 9 deletions

View File

@ -12,10 +12,6 @@ public final class URLChecker {
/**Logging tag.*/ /**Logging tag.*/
private static final String TAG = "URLChecker"; private static final String TAG = "URLChecker";
/**Indicator for URLs made by Feedburner.*/
private static final String FEEDBURNER_URL = "feeds.feedburner.com";
/**Prefix that is appended to URLs by Feedburner.*/
private static final String FEEDBURNER_PREFIX = "?format=xml";
/** Checks if URL is valid and modifies it if necessary. /** Checks if URL is valid and modifies it if necessary.
* @param url The url which is going to be prepared * @param url The url which is going to be prepared
@ -33,11 +29,6 @@ public final class URLChecker {
} }
builder.append(url); builder.append(url);
if (url.contains(FEEDBURNER_URL)) {
if (AppConfig.DEBUG) Log.d(TAG,
"URL seems to be Feedburner URL; appending prefix");
builder.append(FEEDBURNER_PREFIX);
}
return builder.toString(); return builder.toString();
} }
} }