This commit is contained in:
Max 2023-05-29 20:18:37 +02:00
parent 825af3a0b3
commit e0352e374c

View File

@ -1,27 +1,16 @@
using System;
using Argotic.Common;
using Argotic.Syndication;
namespace SharpRss
{
public static class SyndicationManager
{
public static bool FeedExists(string feedUrl)
{
Uri feedUri = new Uri(feedUrl);
return SyndicationDiscoveryUtility.UriExists(feedUri);
}
public static bool TryGetFeed(string feedUrl, out GenericSyndicationFeed? feed)
{
feed = null;
Uri feedUri = new Uri(feedUrl);
feed = GenericSyndicationFeed.Create(feedUri);
return false;
}
public static void Test()
{
}
}
}