assembl.models.annotation module

These are subclasses of generic.Content for web annotation

class assembl.models.annotation.Webpage(*args, **kwargs)[source]

Bases: assembl.models.generic.Content

A web page as a content type

This allows web annotation with annotator.

classmethod get_database_id(identifier)[source]

Parse a URI to extract the database ID

classmethod get_instance(uri, discussion_id, session=None)[source]

Get an instance of this class using a numeric ID or URI.