ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
feed.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
10 include_once "Services/Context/classes/class.ilContext.php";
12 
13 require_once("Services/Init/classes/class.ilInitialisation.php");
15 
16 if ($_GET["user_id"] != "") {
17  $writer = new ilUserFeedWriter($_GET["user_id"], $_GET["hash"]);
18  $writer->showFeed();
19 } elseif ($_GET["ref_id"] != "") {
20  $writer = new ilObjectFeedWriter($_GET["ref_id"], false, $_GET["purpose"]);
21  $writer->showFeed();
22 } elseif ($_GET["blog_id"] != "") {
23  ilObjBlog::deliverRSS($_GET["blog_id"]);
24 }
const CONTEXT_RSS
$_GET["client_id"]
static deliverRSS($a_wsp_id)
Deliver blog as rss feed.
static initILIAS()
ilias initialisation
Feed writer for objects.
static init($a_type)
Init context by type.
Feed writer for personal user feeds.