[wp-trac] [WordPress Trac] #4801: get_lastpostmodified needs a hook.
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 22 20:47:09 GMT 2007
#4801: get_lastpostmodified needs a hook.
--------------------------+-------------------------------------------------
Reporter: cavemonkey50 | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.3 (trunk)
Component: General | Version: 2.3
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Working on the [http://cavemonkey50.com/code/tumblefeed/ Tumblefeed]
plugin, I recently ran into a problem. I should first take a step back and
explain what Tumblefeed is doing.
The Tumblefeed plugin is designed to create a better feed for WordPress
tumblelogs. Instead of bombarding readers with feed updates throughout the
day, the plugin prevents the posts for the day from appearing in the feed
until midnight. At midnight they're all posted as one item.
Certain feed readers (namely Feedburner) are not updating the feed due to
the <pubDate> value not changing. The <pubDate> value is linked to
get_lastpostmodified. Since the Tumblefeed plugin is not really modifying
any posts (thus changing the get_lastpostmodified value), the date stays
the same even though the feed has been updated.
To solve the problem, I feel a filter hook should be added to
get_lastpostmodified. The filter would allow me alter the value without
making any drastic and unneeded database changes.
As [http://photomatt.net/2007/08/13/tumble-hybrid/ mentioned by Matt
himself], WordPress tumblelogs are starting to take off and would
certainly benefit from this change. Right now I have logged around 75
downloads of the Tumblefeed plugin, so there is demand for this type of
change.
While I understand under normal conditions a plugin should have no reason
to filter this value, this is an exception I feel is worthwhile adding a
filter for.
--
Ticket URL: <http://trac.wordpress.org/ticket/4801>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list