RSS support in the Events Module

Return to previous page

  • 4/7/2015
  • 1077 Views

Comments

1077 Views

RSS support in the Events Module

Last updated 6 years ago

Comments

Common

(Enter the content of this article below)

Advanced

 

General Configuration

Prior to version 4.1.0 of the Events module, RSS support has been more by accident than design and was available through the core DNN syndication mechanisms. In version 4.1.0 we added formal RSS support, with a dedicated RSS icon on the module icon bar.

There is a section in the module settings which includes:
  • A check box to enable the RSS feed and icon on the icon bar
  • A drop down to select what date to use as the publication date
  • The number of past days of data to include in the feed
  • The feed title
  • The feed description

The RSS feed doesn't use the syndicate option within the module menu, so you can turn that off. We figured it gave more flexibility putting inside the container, that way if people aren't using a container they can still have the RSS feed showing.

The feed includes Title/Description/Image/Location/Category/Priority in the main feed. The per event Title and Description are, like many aspects of the module, templated in the Template Settings section. Category, Location and Priority (not Normal Priority though) are also added as feed Categories, so your feed reader should be able to filter by them.

URL Paramters

You can also set what is displayed in the feed by adding parameters to the URL. These will override those set in the module settings where appropriate:-
  • DaysBefore - Number of days before today
  • DaysAfter - Number of days after today
  • CategoryName - Name of category
  • CategoryID - ID of category
  • LocationName - Name of location
  • LocationID - ID of location
  • Importance - Priority Number - 1,2,3
  • Priority - Priority name - Low, Medium or Normal, High - In English or local language
  • OwnerName - DisplayName of Owner
  • OwnerID - ID of Owner
  • MaxNumber - Number of events

Consequently you can now use a URL such as ‘…/400/DesktopModules/Events/EventRSS.aspx?mid=398&tabid=36&LocationName=Test&DaysBefore=100' to select events occurring at the 'Test' location in the last 100 Days.

Contents
No sections defined
Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out