Embedding Pliant-powered Content

Here is an example of embedded pliant content:

In order to embed the page:

http://www.pliantcode.com/xyz.html
insert into your HTML document the following:
<script src="http://www.pliantcode.com/xyz.html?pliant_embed"></script>
or
<script src="http://www.pliantcode.com/xyz.html?pliant_inline"></script>

Lets embed www.pliantcode.com/embed_demo.html four times:

embed
embed
inline
inline

Lets embed www.pliantcode.com/embedding_howto.html:

All above examples showed how to render the embedding on the client-side, which works from a any static .html page. However, if your pages are dynamic, you may also embed pliant content when you generate the page on the server. To do this, place the output of "?pliant_inline" inside a script tag. Here is example code for PHP:

<script>
<?php
print(file_get_contents(
  "http://www.pliantcode.com/embedding_howto.html?pliant_inline"));
?>
</script>

See it action: embedding.php