You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michael Lai edited this page Sep 25, 2013
·
1 revision
Usage
Media is embedded into article bodies using tags, which typically take the form of {{Provider:info}}, where "Provider" is the name of the service you want to embed, and "info" is any relevant information that is needed to describe the resource you want. For example, a tag to embed a tweet would be {{Twitter:<url of tweet>}}.
Creating a tag class
Tag classes are located in app/models/post/embedded_media. Each class requires these methods: