문제

I'm using Simple Pie 1.3 for a simple news stream.

Sometimes websites, like ESPN, will update stories constantly. This changes the pubDate and pushes them to the top of my feed.

Is there anyway to check if the story link is already present in the cache?

That way I can just ignore it and keep the story's original pubDate.

Thanks in advance.

도움이 되었습니까?

해결책

After an exhausting search it turns out that the answer was right under my nose:

http://simplepie.org/wiki/tutorial/how_to_display_previous_feed_items_like_google_reader

Just have to store/check the entries against a database.

Good for anyone else who has the same question.

Enjoy.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top