Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I needed RSS for event listings.
http://web.resource.org/rss/1.0/modules/event
I simply added these lines into 'views_rss_core.module' after line 178:
// add ev: name space items for events
$elements['ev:location'] = array(
'description' => t('Event takes place at.'),
'help' => 'http://purl.org/rss/1.0/modules/event/',
);
$elements['ev:organizer'] = array(
'description' => t('Events is organized by.'),
'help' => 'http://purl.org/rss/1.0/modules/event/',
);
$elements['ev:type'] = array(
'description' => t('Type of event.'),
'help' => 'http://purl.org/rss/1.0/modules/event/',
);
$elements['ev:startdate'] = array(
'description' => t('Event begins at.'),
'help' => 'http://purl.org/rss/1.0/modules/event/',
);
$elements['ev:enddate'] = array(
'description' => t('Events ends at.'),
'help' => 'http://purl.org/rss/1.0/modules/event/',
);
For now, as a newbie, I don't have time for creating a module, take over or wait.
Comments
Comment #2
Rotozaza CreditAttribution: Rotozaza commentedComment #3
DamienMcKennaThis should be added to a separate module, and should ideally automatically format the values as required by the specification.