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!
