You are here

function views_plugin_style_rss_fields::xml_namespaces in Views RSS 7

Same name and namespace in other branches
  1. 6 views/views_plugin_style_rss_fields.inc \views_plugin_style_rss_fields::xml_namespaces()

Return an array of all known XML namespaces.

1 call to views_plugin_style_rss_fields::xml_namespaces()
views_plugin_style_rss_fields::xml_namespace in views/views_plugin_style_rss_fields.inc
Convenience method: return an XML Namespace for a given element.

File

views/views_plugin_style_rss_fields.inc, line 252

Class

views_plugin_style_rss_fields
Extend the view_plugin_style class to provide an RSS view style.

Code

function xml_namespaces() {
  return array(
    'dc' => 'http://purl.org/dc/elements/1.1/',
    'georss' => 'http://www.georss.org/georss',
  );
}