Currently the {site} command can extract a limited set of information about a page’s URL.
For example:
{site:url}
{site:domain}
To enable including more contextual information from a page in a snippet, the site command could be extended with the following variants:
-
{site: title}- The title of the page -
{site: html}- The HTML of the page -
{site: text}- The text of the page -
{site: html; selector=div.user-name}- The HTML of the element matching the given CSS selector -
{site: text; selector=div.user-name}- The text of the element matching the given CSS selector