mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-13 17:22:48 -05:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user