More config pages have been added. AJAX to save. Order with jquery sortable.

Some RssFeed Parsing has been implemented, it does not currently download items, still need to perform a more verbose episode check.
This commit is contained in:
markus101 2011-01-28 22:10:22 -08:00
commit da979639ba
145 changed files with 8384 additions and 113 deletions

View file

@ -8,6 +8,7 @@ using NLog;
using NzbDrone.Core.Model;
using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository.Quality;
using Rss;
namespace NzbDrone.Core
{
@ -145,5 +146,18 @@ namespace NzbDrone.Core
return info.FullName.ToLower().Trim('/', '\\', ' ');
}
public static NzbInfoModel ParseNzbInfo(FeedInfoModel feed, RssItem item)
{
NzbSiteModel site = NzbSiteModel.Parse(feed.Url.ToLower());
return new NzbInfoModel
{
Id = site.ParseId(item.Link.ToString()),
Title = item.Title,
Site = site,
Link = item.Link,
Description = item.Description
};
}
}
}