Closed chr15m closed 11 years ago
Hmm, importing should already handle duplicate entries in the OPML file.
This is how it works currently. The source's title and other attributes are hashed when importing an OPML file. So, if the entries have the same title etc, it adds the tag to the existing entry instead of creating duplicate entries.
Could you provide an example OPML file or tell us from which program/service you exported the OPML file you're trying to import into selfoss?
Ok, I worked out how this is happening - if you import two different OPML files with the same feed the feed is duplicated. This can be frustrating if your upload times out on a large OPML file and you try to upload the same one again - all entries already processed are duplicated.
Currently if the same feed occurs twice in different sections of the OPML file a separate entry is created for each section/tag instead of adding new tags to the existing entry. This creates duplicate feed entries.