title: reading metadata from php file using php
body: <p>After looking around for something like octopress in php and not finding anything, I decided to create something myself in php that would do the trick. </p>
  
  <p>I'd like to start with writing some code in php that reads php files and can extract meta-data from them, so I can build an archive page of blog posts, etc. </p>
  
  <p>I thought I could create yaml files, and include php/html in these files for the main content of the blog posts, but it's not clear to me if this is possible at all? Googling around for "use php in yaml" didn't really get me much further. </p>
  
  <p>So I thought I'd ask here what the best approach would be for doing something like this. </p>
  
  <p>Can anyone help? </p>
  
  <p>Thanks
  B</p>