Add a few new ways to drag/drop a URL - from a few Chrome extensions or the page URL itself - page URL only supports single links right now

This commit is contained in:
2016-03-29 20:10:43 -04:00
parent 9a73709c7f
commit 864be9bb11
6 changed files with 81 additions and 15 deletions

View File

@@ -119,7 +119,7 @@ namespace FeedCenter.FeedParsers
throw new ArgumentException($"Feed type {feedType} is not supported");
}
private static FeedType DetectFeedType(string feedText)
public static FeedType DetectFeedType(string feedText)
{
try
{
@@ -150,7 +150,9 @@ namespace FeedCenter.FeedParsers
}
catch (Exception exception)
{
throw new InvalidFeedFormatException(exception);
Tracer.WriteException(exception);
return FeedType.Unknown;
}
}