-
Notifications
You must be signed in to change notification settings - Fork 0
Exporting Member Details
Member details can be exported publicly to, for example, create member lists on corporate IXP websites.
This can be done by calling the URL https://www.example.com/ixp/public/member-details
to which you can add on two options:
-
format/json
to set JSON headers (defaults to standard HTML) -
template/xxx
(defaultmember-details.phtml
)
If a template is specified, it'll use [_skins/skinname/]public/member-details/xxx.phtml after stripping all but
[a-zA-Z0-9-_]` characters from the given template name.
There are two examples included:
This was based on LONAP's original members detail page and can be seen in the file _skins/example/public/member-details.phtml
.
If your skin configuration is set to example
, then this page could be viewed using a URL such as https://www.example.com/ixp/public/member-details
. It could be easily edited and included directly into an existing webpage or styled and added as the content of an iframe.
There is a JSON example in _skins/example/public/member-details/json.phtml
. It is quite clunky but it allows customisation without code changes.
This would be accessed as https://www.example.com/ixp/public/member-details/format/json/template/json
.