title: Magento CMS pages — getting title from URL key/identifier?
body: <p>Is there any way to get the title of a cms page, if you only know it's url key/identifier? For example, the about page (in the sample data) has a url key/identifier of 'about-magento-demo-store'. If that's the only information I had, how would I go about getting the page title from that? As in the faux code below:</p>
  
  <pre><code>$pageTitle = Mage::getModel('cms/page')-&gt;loadByAttribute('identifier', 'about-magento-demo-store')-&gt;getTitle();
  </code></pre>
  
  <p>I'd like to get a list of all CMS page titles, using just the url keys/identifiers.</p>
  
  <p>I know you can get the current CMS page title using the following:</p>
  
  <pre><code>$pageTitle = Mage::getSingleton('cms/page')-&gt;getTitle();
  </code></pre>
  
  <p>Anyone any ideas?</p>