[contributions:alexb] /modules/parser_kml parser_kml.inc
User: alexb Branch: HEAD Date: Thu, 04 Dec 2008 21:45:58 +0000 Modified files: /modules/parser_kml parser_kml.inc Log message: Register namespaces and attach them to individual feed items (=placemarks). XMLReader does not seem to have a function that allows us to enumerate all namespace handles and their URI's, so we register them as we go. FeedAPI does not pass the object to processors directly, so namespaces can only be passed down the FeedAPI conveyor belt by storing them to db and retrieving them from within node processors or by attaching them to the feed item. We do the latter here. However, this approach remains a little hacky. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/parser_kml/parser_...
participants (1)
-
drupal-cvs@drupal.org