mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2025-01-18 12:54:20 +01:00
IDK
This commit is contained in:
parent
825af3a0b3
commit
e0352e374c
|
@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user