The plugin fetches the metadata of the appendable data using the appendable data handle. The length of the appendable data represents the number of comments for the current page.
If the current page is using the Permanent Comments Plugin, the plugin will expect the comments inside the appendable data to be stored as immutable data.
Get an immutable data reader handle
The plugin fetches the data map of the comment using the data identifier handle of the current comment.
If the current page is using the Editable Comments Plugin, the plugin will expect the comments inside the appendable data to be stored as structured data.
Get a structured data handle
The plugin fetches a structured data handle using the data identifier handle of the current comment.
The plugin continues iterating through the appendable data until all the comments it contains have been fetched. The plugin then sorts them by time and adds them to the UI.
Drop the data identifier handle for appendable data
The plugin drops the data identifier handle of the appendable data associated with the current page.