1<?php
2/**
3 * @package tikiwiki
4 */
5// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
6//
7// All Rights Reserved. See copyright.txt for details and a complete list of authors.
8// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
9// $Id$
10
11if (basename($_SERVER['SCRIPT_NAME']) === basename(__FILE__)) {
12	die('This script may only be included.');
13}
14$feed = tra("Error Message");
15$title = tr("Tiki RSS Feed Error Message: %0", $errmsg);
16$desc = $errmsg;
17$id = "errorMessage";
18$titleId = "title";
19$descId = "description";
20$dateId = "lastModif";
21$authorId = "";
22$readrepl = "";
23$uniqueid = $feed;
24$changes = ["data" => []];
25$output = $rsslib->generate_feed($feed, $uniqueid, '', $changes, $readrepl, '', $id, $title, $titleId, $desc, $descId, $dateId, $authorId);
26header("Content-type: " . $output["content-type"]);
27print $output["data"];
28die;
29