You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

Unknown macro: {cache}
groovy: Security restricted macro is not allowed on this page. A page edit restriction is required that matches the macro authorization list.

String html = new URL("http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDT13400.html").openStream().text

String start = "<!-IDT13400->"
int i = html.indexOf(start)
if (i>0)
html = html.substring(i+start.length())

String end = "<!--************* START OF STANDARD BUREAU FOOTER"
i = html.indexOf(end)
if (i>0)
html = html.substring(0, i)

println html

  • No labels