An open API service indexing awesome lists of open source software.

https://github.com/schicho/openmensarss

OpenMensa RSS library and feed
https://github.com/schicho/openmensarss

openmensa rss rss-feed

Last synced: 4 months ago
JSON representation

OpenMensa RSS library and feed

Awesome Lists containing this project

README

          

# OpenMensaRSS

[![OpenMensaRSS Logo](rss/omrss.gif)](https://schicho.github.io/openmensarss/)

OpenMensa RSS library and feed generation in Go.

## Library Usage

This library offers two simple functions to query OpenMensa using [go-openmensa](https://github.com/j0hax/go-openmensa) for a canteen, which return a [`gorilla/feeds` Feed](https://github.com/gorilla/feeds).

The returned feed structs can subsequently be modified and exported as RSS or Atom.

## Automatic RSS Feed Generation

This repository also implements automatic RSS feed generation.
The feeds are generated daily and subsequently published on GitHub pages.

The published RSS feeds use the same IDs as OpenMensa, e.g. the TU Wien canteen is served at https://schicho.github.io/openmensarss/1098.xml.

More feeds can be found at https://schicho.github.io/openmensarss/.

## How to Use the RSS Feeds

You can subscribe to any canteen's RSS feed using Tuwel (TU Wien's Moodle platform) or your preferred RSS reader. Just copy the feed URL and add it to your dashboard or reader to receive menu updates directly from OpenMensa.

On Tuwel, enable edit mode (top right), add a new RSS block, and paste the feed URL. Enable item descriptions to see prices and allergen details.