jpp, nightowl77, omega8cc, David Goode: Need to escape html entities if view strips...
[project/views_rss.git] / views_rss.module
1 <?php
2 // $Id$
3
4 /**
5 * Implementation of hook_views_api().
6 */
7 function views_rss_views_api() {
8 return array(
9 'api' => 2,
10 'path' => drupal_get_path('module', 'views_rss') .'/views',
11 );
12 }
13
14 /**
15 * Implementation of hook_theme().
16 */
17 function views_rss_theme() {
18 $path = drupal_get_path('module', 'views_rss');
19 return array(
20 'views_rss_fields_item' => array(
21 'arguments' => array('item' => array()),
22 'file' => 'views_rss_views_fields.theme.inc',
23 'template' => 'views-rss-fields-item',
24 'path' => "$path/views",
25 ),
26 'views_rss_feed_icon' => array(
27 'arguments' => array('url', 'title', 'icon'),
28 'file' => 'views_rss_views_fields.theme.inc',
29 'path' => "$path/views",
30 ),
31 'views_rss_feed_description' => array(
32 'arguments' => array('description', 'view'),
33 'file' => 'views_rss_views_fields.theme.inc',
34 'path' => "$path/views",
35 ),
36 );
37 }