[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to hack an .rc file to build an index.html file with first text lines of posts



> It will be nice if we will be able to build index.html files of last 24 hours which
> will include in addition to subjects, senders, and date, also the first
> few lines of text of each post.

I don't think you can do this at the archiving stage with an rc file,
but you could do it "post archive" by parsing the most recent messages.
Maybe first build an array of files with date/time stamp under 24 hours,
then parse each file in the array stopping after the second \n in the
body of the message, then return those results to the browser
hyperlinked to the "real" messages.

Alternatively, Index Server has this exact capability, but it's usually
in conjunction with searching and displaying search results. It may,
however, be possible to add criteria such as:

"search for * where date is not older than one day"

-- 
Gerry Hickman (London UK)


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]