| 1 Search And Replace |
| The following headings are replaced with the text immediately following |
| |
| 1.1 anchor |
| <a name="$1"></a> |
| |
| 1.1 image |
| |
| <img src='$1'/> |
| |
| 1.1 include |
| |
| <% |
| includedText = '$1' |
| if ('$1'.indexOf(':') > 0) { |
| parser = new com.opensymphony.module.sitemesh.parser.FastPageParser() |
| page = parser.parse( '$1'.toURL().text.toCharArray() ) |
| includedText = page.body |
| |
| u = new com.javanicus.biscuitbarrel.PageUtils('$1') |
| includedText = u.replaceWithAbsolute(includedText,'action') |
| includedText = u.replaceWithAbsolute(includedText,'href') |
| includedText = u.replaceWithAbsolute(includedText,'src') |
| } else { |
| includedText = java.io.File('$1').text |
| } |
| %> |
| <%= includedText %> |
| |
| 1.1 merge |
| |
| ${new java.io.File('$1').text} |
| |
| 1.1 ***END*** |