Inline C# Function: BaileyWeb.University.Data.ListNewsRecentRSS

The Inline C# Function named ListNewsRecentRSS retrieves combined data about the organisation (Global Datatype BaileyWeb.University.Organisation) and a list of news articles from the past 12-months (Page Datafolder BaileyWeb.University.News) and outputs it formatted as RSS.


The following files are supplied with the University Package:

  • ~/App_Data/Composite/InlineCSharpFunctions/BaileyWeb.University.Data.ListNewsRecentRSS.cs


There is one parameter:
Parameter: Label: Help: Type: Default: Widget:
Path Path The URL Path for the main news page, excluding the domain name. String news Text Box

Function Markup


Sub Functions


Text Strings


Sample Output Code

Result with the Path input parameter value of press:

<rss version="2.0">
    <title>Bailey University</title>
    <description>We offer pre-degree study, undergraduate degrees and postgraduate degrees, focusing primarily on arts and humanities subjects, supported by a strong outcomes-based provision.</description>
    <pubDate>Sun, 20 Jun 2021 12:06:44 UTC+1</pubDate>
      <title>Helping University Webmasters Break Free...</title>
      <description>... and helping Universities save time and money</description>
      <pubDate>Wed, 01 Jan 2020 00:00:00 UTC+0</pubDate>

Updated: 27 June 2021