/// <summary> /// parses OAI XML and returns each item individually /// </summary> /// <param name="url"></param> /// <returns></returns> public IEnumerable<Entry> GetSubmittableEntries(DatabaseService db) { List<string> uniqueIds = db.GetUniqueIds(Feed); foreach (var entry in GetEntries()) { if (uniqueIds.Contains(entry.object_id)) { log.Debug("Skip " + entry.object_id); continue; } uniqueIds.Add(entry.object_id); yield return entry; } }