Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table plus


Macro Editor LabelDefaultDescriptionMacro Parameter
Formathtml

Specify how the output is treated. The options are as follows:

  • html - data is entered as standard HTML directly in the macro body
  • xhtml - data is treated as XHTML and rendered with the Confluence XHTML renderer prior to display
  • wiki - data is surrounded by a noformat macro. This is a very special case.
output
Location of HTML datamacro body

Enter the location of data. If specified, the included data follows the body data (if any).

  • #http... - Data is read from URL. May require the user and password parameters as well.
  • ^attachment - Data is read from an attachment to the current page.
  • page^attachment - Data is read from an attachment to the page name provided.
  • space:page^attachment - Data is read from an attachment to the page name provided in the space indicated.
script
Find regex patterns

Enter a comma separated list of regex patterns to use to post-process the output HTML with find and replace logic. Example: (href=)(/display)

find
Replacement strings

Enter a comma separated list corresponding to find patterns via index position in list. If a comma is a part of an entry, use single quotes around it. Example: $1$base_url$2

replace
File encodingsystem defaultSpecify the encoding for an external file, if different from the system default handling. Example: UTF-8.encoding
Timeout in milliseconds
Enter time in milliseconds such that URL connections does do not timeout before getting data. Use this to increase time needed for slow connections. Note that if a zero is given the connection may wait infinitely. Be careful when using 0 as the connections would be in an infinite wait.timeout
User id for URL connection 
Enter the user name for URL access via basic authentication.user
Password for URL connection
Enter the password for URL access via basic authentication. password


...