wiki : captureWebPage (plugin)
Captures a picture of the specified web page, and saves it to a given wiki page.
For example, to capture http://google.com
{{captureWebPage url="http://google.com" page="wiki:captureWebPage example.png"}}The first time the plugin is created, the picture is created, and it can also be recreated at any time by clicking the button that the plugin renders :
Note. Ensure that the page name ends with ".png", otherwise you won't be able to use the image as intended.
You can see the results here : captureWebPage example.png. It is useful in conjuntion with the thumbnail (plugin), to produce something like this :
It is common to have the captureWebPage plugin within the wiki text of the png wiki page itself.
See also thumbnailLink (plugin)
Details
This is part of the optional java package. The current implementation uses kthml2png2, and this requires that the servlet engine has a X11 display device. You will probably want to use Xvfb as the X11 display, as web servers are generally headless.
Plugin Name : captureWebPage
Body type : noneParameters
| Name | Details | Default | Required |
|---|---|---|---|
| height | regex : [0-9]+(%|px|em|pt) | 700 | false |
| page | regex : .* | true | |
| width | regex : [0-9]+(%|px|em|pt) | 1000 | false |
| label | Capture Web Page | false | |
| log | regex : .* | false | |
| url | true |