RSS Feed Combined Snippet

Use this snippet to display a feed of news, blog posts, or events on your page. You can combine multiple feeds. This snippet includes a styled heading and the option for buttons or social media links in the heading. This is an advanced function.

rss-news-example

rss-announcements-example

latest-post

events-feed

RSS Feed Combined snippet.

View RSS Feeds in the Style Guide.

  1. Enter a title in the Heading field. This is the text that appears above the line on the left.
  2. If desired, enter linked text in the View More Links/Social field for each button that will display to the right of the heading.
    1. Button text just needs to be separated by a space as each link will become a separate button.
    2. If you want to include social media icons, insert the Social Icons snippet.
  3. The URL for the feed is entered in the RSS Feed Link.
    1. Follow these instructions to get a news or announcements feed URL.
      1. For a single feed source use the basic RSS feed URL.
        1. For Michigan Tech News, Unscripted, or Tech Today, this URL can be found using the links under the News Sources on the RSS Feeds Subscribe page.
        2. For a Michigan Tech blog just add /feed to the end of the URL. For example: https://blogs.mtu.edu/webmaster/feed/.
      2. For a specific news category/topic not listed on the RSS Feeds Subscribe page above, use:
        http://www.mtu.edu/mtu_resources/php/news/rss/?include=CATEGORY&site=NAME

        1. “CATEGORY” is the name of the existing category
        2. “NAME” is news, unscripted, or magazine if pulling from a single source only
        3. “&site=…” can be omitted if you want to pull from all sources
      3. For including announcements from Canvas:
        1. Go to your announcements page in Canvas.
        2. Click the RSS Feed button at the top. rss-button
        3. A new page will open. Use the URL from this page as the Feed Link.
      4. When combining multiple sources separate each feed URL with a comma.
    1. Follow these instructions to get an events feed URL.
      1. To get this URL from the University Events Calendar:
        1. Go to events.mtu.edu and Login.
        2. From the Admin menu, go to Content and select Widget Builder.
        3. Create the widget with the parameters needed, including the UMC CMS RSS template, and choose Preview Widget. View the blog post for the specifics on how to use the Localist Widget Builder.
        4. Be sure your URL starts with https.
      2. To embed a feed of the Academic Calendar, use the URL
        https://www.mtu.edu/mtu_resources/php/academic-calendar/generate.php?type=rss&categories=xxxx

        1. Replace the xxxx after categories= with the specific categories you want to display (at least one), separated by commas. The available categories are:
          1. holiday
          2. term
          3. week
          4. financial
          5. add-drop
          6. grades
          7. withdrawal
          8. gradschool
  1. The Type field will determine the format of the displayed feed.
    1. “news” (without quotation marks) will display a news feed with larger images. This option can only be used if you are not including a blog feed.
    2. “announcements” (without quotation marks) will display a news feed with smaller images. Use this option if you are including a blog feed or you want to specify the information displayed (see step 7).
    3. “latest” (without quotation marks) will display the most recent blog post.
    4. “events” (without quotation marks) will display the events feed from the University Events Calendar or a Google Calendar.
  2. In the limit field, enter the maximum number of stories/posts/events you want to appear in the feed. If there are fewer stories/posts/events available than the entered limit, it will only display those available.
  3. You are able to change what pieces are displayed only for the Announcements or Latest Post version, if desired. In the blank space below limit add the word display. In the cell next to that enter which items should display, separated by a comma:
    1. In Announcements you can add title, description, date, author, thumbnail.
    2. In Latest Post you can add date, title, author, and full or trunc. Full would display the entire post text and trunc would display a shortened version of the text with a read more link.


(Video has no sound.)