Nice. Now, we need to get the secmail.txt to show when the tool was last run.
Right now, the last email processed was Thu, 18 Jun 2015 18:14:34 +0000 But there is mail that came in since then. Is the incoming email processor part of whimsy or is that an infra thing? Craig > On Jun 18, 2015, at 1:53 PM, Sam Ruby <[email protected]> wrote: > > On Thu, Jun 18, 2015 at 12:36 PM, Craig L Russell > <[email protected]> wrote: >> When loading or refreshing the main page, I’d like the current date/time to >> be displayed, followed by the contents of the file >> http://minotaur.apache.org/~apmail/secmail.txt and then the rest of the page >> as now. >> >> WDYT? > > Done. > > FYI, here's the code: > >> secmail_status = 'http://minotaur.apache.org/~apmail/secmail.txt' >> _a `curl #{secmail_status}`.sub(': ', ":\n"), href: secmail_status, >> target: '_blank' > > What I'm creating is an html <a href='...' target='_blank'> element, > where the href is the url you gave me, and the content is fetched > using curl, with the space after the colon replaced by a newline. > > Full code, in context: > > https://svn.apache.org/repos/infra/infrastructure/trunk/projects/whimsy/www/secretary/workbench/worklist.cgi > > - Sam Ruby > > >> Craig >> >> Craig L Russell >> Architect, Oracle >> http://db.apache.org/jdo >> 408 276-5638 mailto:[email protected] >> P.S. A good JDO? O, Gasp! Craig L Russell Architect, Oracle http://db.apache.org/jdo 408 276-5638 mailto:[email protected] P.S. A good JDO? O, Gasp!
