File r899979.diff of Package kdepimlibs4
Subject: Fix high traffic rss feed fetches
From: wstephenson@suse.de
Bug:
Patch-upstream: 899979
--- syndication/mapper/itematomimpl.cpp (revision 899978)
+++ syndication/mapper/itematomimpl.cpp (revision 899979)
@@ -116,7 +116,11 @@ QList<PersonPtr> ItemAtomImpl::authors()
time_t ItemAtomImpl::datePublished() const
{
- return m_entry.published();
+ time_t pub = m_entry.published();
+ if (pub == 0)
+ return m_entry.updated();
+ else
+ return pub;
}
time_t ItemAtomImpl::dateUpdated() const
Index: syndication/mapper/itematomimpl.cpp
===================================================================