protected function parseItem($node, $item) { $item = parent::parseItem($node, $item); foreach ($node->childNodes as $childNode) { switch ($childNode->tagName) { case "georss:box": $coordinateString = trim($childNode->nodeValue); $coordinateArray = explode(" ", $coordinateString); if (count($coordinateArray) === 4) { $bbox = new Mapbender_bbox(floatval($coordinateArray[0]), floatval($coordinateArray[1]), floatval($coordinateArray[2]), floatval($coordinateArray[3]), "EPSG:4326"); $item->setBbox($bbox); } break; } } return $item; }