Archomeda / kormir-discord-bot

A Guild Wars 2 Discord bot supporting Legacy of the Six

Home Page:https://legacyofthesix.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not all GW2 blog posts are posted

Archomeda opened this issue · 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.