I have a feed that posts two items at a time, but in a definite order. Unfortunately, they get imported in the wrong order relative to items posted on other days; instead of 1,2,3,4,5,6 they come out as 2,1,4,3,6,5. I've been working around it with a filter that increments the score when there's an odd number in the title, but that leaves the articles even more out of order if I miss a day or two: 1,3,5,2,4,6.
It seems like a plugin should be able to do this, by reversing the list of items in a feed before the import step, but searching for "reverse" hasn't yielded any promising results. I could add another modification type to ff_feedcleaner, but the feed_parsed hook looks like it would have a more manipulable data structure.
Has this already been done, or should I jump right in? Is there anything special I should know about hook_feed_parsed or FeedParser?
Request new functionality here
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest