title: Auto generation of META tags in PHP
body: <p>I was thinking of writing a PHP script that would analyse a CMS'd page's content (i.e. database field) and then auto-generate (X)HTML META description &amp; keyword tags, but as always there's no point reinventing the wheel so I'm wondering if anyone knows of such a beastie?</p>
  
  <p>The former I imagine would be something like a relatively straightforward regex to grab the first sentence or two, whereas the latter would probably involve elimination of words against a common-words dictionary and then weighting of frequency or similar.</p>