title: Get Joomla! category from an URL
body: <p>How can I read the section a certain URI belongs to?</p>
  
  <p>I want to enhance the mod_breadcrumb to put section and category into the HTML. JApplication->getPathway() returns a JPathway which basically holds an assiciative array combining a name and an URL (as $list[]->name and $list[]->link). I think, it should be possible to get the section and category from a link, but don't know how.</p>
  
  <p>A starting point could be the parsing into JURI-Object, but from there I don't know how get get further. Any ideas?</p>