If a site isn't using stories, index.shtml will never
While 95% of sites will not have this problem, I
think there's another instance where index.shtml will
not be updated as it should.
Assuming no story data, or no new stories for a
significant time period:
If a site changes the header or html-header template
(ie modifieds meta data in them), OR slashblocks have
been updated via portald,
index.shtml will never be changed because writestatus
Freshenup.pl won't touch index.shtml because there
are no stories with 'dirty' flag set. And I could not
find a point in the code where portald sets the
writestatus so it'd force freshenup to update
Now, if a site isn't using stories, and isn't using
slashboxes (so it's using the essential slash as a
backend for other purposes), other then manually
setting writestatus, there is no way to update
index.shtml out-of-the-box. (an example of such a
The easiest solution is to make sure writestatus is
always set to 'notok'.
A secondary solution would seem to be to make portald
update writestatus after it's run.
A slick solution would be force an update no matter
what in timed intervals (which would probably catch
template changes too).
Log in to post a comment.