crosswalk-project/crosswalk-website — pull request #40 by jketreno (2014-01-21 21:33:18+00:00)
Title: Add support for raw html/script pages to be incorporated into the site.

Currently if you want to create a content page, you must do so as markdown. This patch set modifies the system to support php files on the server which will be executed on the server and the output of which will be injected into the client. In addition, any <script> tags defined will be evaluated in the main site context.

.php is used instead of .html for two reasons:
1) Support server side processing (if needed)
2) Many of the scripts are written to ignore/exclude .html files from the documentation and contribute directories

To see the above in action, place the following into the file documentation/99-Super_Balloon.php
```html
".__FILE__."\n";
?>

This sample has been:

```

You should then see 'Super Balloon' in the top-level menu. Loading that page should result in output telling you the full file path of the php script, as well as the dynamic client side script changes with the text 'Scriptified' appearing in the DIV element.