Patent ID: 8584002

Claim:
A method for enabling a user to create or edit a webpage, comprising: providing, via a user interface for creating and editing a webpage, a template of the webpage that includes a placeholder item that is replaceable by content of a plurality of media types including text, image, audio, and video content; receiving from a user via the user interface an indication to replace the placeholder item by a selected content item; automatically selecting a sub-template from a plurality of available sub-templates based at least in part on a media type of the selected content item and linking the selected content item to the selected sub-template; integrating the selected content item in place of the placeholder item of the template using the selected sub-template; determining, based on the selected content item, whether to provide a media interface having media controls, wherein the media controls are configured to control presentation of the selected content item; and causing a representation of the selected content item that is appropriate for the media type of the selected content item to be provided in the user interface and on the webpage as published, wherein the representation of the selected content item includes the media interface if the media interface is to be provided.