private void ImportFeeds()
{
if (!Directory.Exists(_contentDir)) return;
foreach (string path in Directory.GetFiles(_contentDir, "*.xml"))
{
try
{
FeedManager.ImportFeed(path);
}
#region Error handling
catch (ReplayAttackException)
{
Log.Info("Ignored feed because a newer version is already in cache");
}
#endregion
}
}