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
We're adding an oEmbed service to DocumentCloud, so I'll be adapting this plugin to take advantage of it. The syntax of the shortcodes won't change, so it'll be backwards-compatible.
Goals:
Fetch the embed code from our oEmbed service, natch
Support existing [documentcloud] shortcodes for documents, but prefer [dc-document] going forward to distinguish among target resources; option syntax remains the same
We're adding an oEmbed service to DocumentCloud, so I'll be adapting this plugin to take advantage of it. The syntax of the shortcodes won't change, so it'll be backwards-compatible.
Goals:
[documentcloud]shortcodesfor documents, but prefer[dc-document]going forward to distinguish among target resources; option syntax remains the samenew shortcodessupport for other resources: notes (Support embedding a single note #4), collections/searches (Support embedding collections/searches #3), and (eventually) pagesEdited: Abandoned design of separate shortcodes for different resources. Going to instead parse URL and determine resource type from there.