radgeek/feedwordpress

Error when date is in the future

Opened this issue · 0 comments

If a feed is valid but the date is in the future, FeedWordPress errors out with something like:

This XML document is invalid, likely due to invalid characters. XML error: Mismatched tag at line 30, column 117

The problem is that an RSS feed of events, all these are in the future. (Example: an RSS feed of sporting events.) The expected behavior would be for FeedWordPress to use the date and time in the RSS feed as the date and time of the generated post, give an override option to change the generated post time & date to +/- the RSS feed's date, or to ignore the RSS feed's date and use the time & date retrieved. Other syndication plugins such as CyberSyn allow this functionality.

This expected behavior would enable the future scheduling of posts as reminders.