<pclass="last">You are reading an old version of the Evennia documentation. <ahref="https://www.evennia.com/docs/latest/index.html">The latest version is here</a></p>.
<h1>Connect Evennia channels to RSS<aclass="headerlink"href="#connect-evennia-channels-to-rss"title="Permalink to this headline">¶</a></h1>
<p><aclass="reference external"href="https://en.wikipedia.org/wiki/RSS">RSS</a> is a format for easily tracking updates on websites. The
principle is simple - whenever a site is updated, a small text file is updated. An RSS reader can
then regularly go online, check this file for updates and let the user know what’s new.</p>
<p>Evennia allows for connecting any number of RSS feeds to any number of in-game channels. Updates to the feed will be conveniently echoed to the channel. There are many potential uses for this: For example the MUD might use a separate website to host its forums. Through RSS, the players can then be notified when new posts are made. Another example is to let everyone know you updated your dev blog. Admins might also want to track the latest Evennia updates through our own RSS feed <aclass="reference external"href="https://code.google.com/feeds/p/evennia/updates/basic">here</a>.</p>
<sectionid="configuring-rss">
<h2>Configuring RSS<aclass="headerlink"href="#configuring-rss"title="Permalink to this headline">¶</a></h2>
<p>To use RSS, you first need to install the <aclass="reference external"href="https://code.google.com/p/feedparser/">feedparser</a> python
<p>Next you activate RSS support in your config file by settting <codeclass="docutils literal notranslate"><spanclass="pre">RSS_ENABLED=True</span></code>.</p>
<p>Start/reload Evennia as a privileged user. You should now have a new command available, <codeclass="docutils literal notranslate"><spanclass="pre">@rss2chan</span></code>:</p>
<p>That’s it, really. New Evennia updates will now show up as a one-line title and link in the channel.
Give the <codeclass="docutils literal notranslate"><spanclass="pre">@rss2chan</span></code> command on its own to show all connections. To remove a feed from a channel,
you specify the connection again (use the command to see it in the list) but add the <codeclass="docutils literal notranslate"><spanclass="pre">/delete</span></code>
<p>You can connect any number of RSS feeds to a channel this way. You could also connect them to the
same channels as <aclass="reference internal"href="Channels-to-IRC.html"><spanclass="doc std std-doc">Channels-to-IRC</span></a> to have the feed echo to external chat channels as well.</p>
<pclass="last">You are reading an old version of the Evennia documentation. <ahref="https://www.evennia.com/docs/latest/index.html">The latest version is here</a></p>.