To serve this dynamic element directly from any dynamic website:
Send an HTTP GET request to the following url:
this will return just the HTML wrapper for the dynamic element content. You can render this directly onto your site.
or you can also include the inline editing tools:
To serve this dynamic element directly from your Ruby powered website:
Install the copybar gem. Add this line to your Gemfile
and rebundle with the command:
Use the helper anywhere in your views to include copybar html content:
<%= Copybar("ACCOUNTNAME", "ELEMENTNAME") %>
or to include editing tools:
<%= Copybar("ACCOUNTNAME", "ELEMENTNAME"), :edit => true %>
Source code and docs for the copybar gem is on
To serve this dynamic element directly from your PHP powered website
<?= file_get_contents('https://copybar.io/ACCOUNTNAME/ELEMENTNAME') ?>
<?= file_get_contents('https://copybar.io/ACCOUNTNAME/ELEMENTNAME?edit') ?>
You can create elements to use on the client side. Just add this html tag to the spot on the page where you want a Copybar element.