This is a live demo which uses content from Atlassian Market place status page
ConfiDoc Excerpt Macro | ||||
---|---|---|---|---|
values | [PARAMS]com.vertuna.confluence.plugins.confiforms/versions; | |||
root | ul class="plugin-versions" | serviceId | 1e6b9038-6bcf-4efb-acb9-f73f84e6e2ac||
|
HTML |
---|
<style type="text/css">
.component-status {
color:green;
font-weight:bold;
}
</style> |
It uses a bit of a custom CSS and the configuration on the page looks like this:
It all starts with Configuration definition and that looks like this:
You can see it is very simple, no authentication is used and we just read the whole page from http://status.marketplace.atlassian.com/
Then we do some "magic" with selectors to select only the bits we are interested in
And the selector for ConfiDoc Excerpt macro looks like this
Code Block |
---|
div class="components-container one-column" |
We just take in the contents from this "DIV" element
This is how the ConfiDoc Excerpt macro looks like in the config mode
With a bit of custom CSS we can make it more readable on our page (see live example on top of the page)