Archomeda/kormir-discord-bot

Not all GW2 blog posts are posted

Archomeda opened this issue · 0 comments

With the way how the Guild Wars 2 blog posts are published online, the current implementation doesn't handle older blog posts if a newer one has been posted already. Blog posts with an older pubDate can be published after blog posts with a newer pubDate. Basically the pubDate is incorrect and we can't rely on it.

A better implementation would be to remember all blog posts that are returned in the RSS feed. Whenever this list changes, we can intersect it and hopefully this will give us all new blog posts. We can probably use the ids in the guid property. Hopefully those don't change.