ikiwiki/doc/bugs/aggregate_plugin_should_hon...

16 lines
750 B
Plaintext
Raw Normal View History

2008-05-31 00:30:28 +02:00
It would be nice if the [[aggregate_plugin|plugins/aggregate]] would try to
2008-05-31 00:29:40 +02:00
extract the m/ctime out of each post and touch the files on the filesystem
appropriately, so that ikiwiki reflects the actual time of the post via the
[[inline_plugin|plugins/inline]], rather than the time when the aggregation ran to pull the post in. --[[madduck]]
2008-03-12 18:06:27 +01:00
> Like this? (Existing code in aggregate.pm...) --[[Joey]]
# Set the mtime, this lets the build process get the right creation
# time on record for the new page.
utime $mtime, $mtime, pagefile($guid->{page})
if defined $mtime && $mtime <= time;
2008-03-14 10:14:28 +01:00
>> I'll have to debug this, it's not working here... and this is an ikiwiki aggregator scraping another ikiwiki site.
2008-10-02 20:54:52 +02:00
>>> Any news about this? --[[Joey]]