31         bool $privFeed = 
false    36         $this->
lng = $DIC->language();
    41         if ($a_user_id == 
"" || $a_hash == 
"") {
    46         if (!$news_set->get(
"enable_rss_for_internal")) {
    54         if ($a_hash == $hash) {
    62             if (
$ilSetting->get(
'short_inst_name') != 
"") {
    71             foreach (
$items as $item) {
    77                 if ($obj_type == 
"mcst") {
    85                     $item[
"context_obj_type"],
    87                     (
bool) $item[
"content_is_lang_var"],
    88                     (
int) ($item[
"agg_ref_id"] ?? 0),
    89                     $item[
"aggregation"] ?? []
    96                 if ($news_set->get(
"rss_title_format") == 
"news_obj") {
    97                     $feed_item->setTitle($this->
prepareStr(str_replace(
"<br />", 
" ", $title)) .
   102                         ": " . $this->
prepareStr(str_replace(
"<br />", 
" ", $title)));
   108                         $item[
"context_obj_type"],
   110                         $item[
"content_text_is_lang_var"]
   113                 $feed_item->setDescription($content);
   116                 if ($item[
"context_obj_type"] == 
"lm" && $item[
"context_sub_obj_type"] == 
"pg"   117                     && $item[
"context_sub_obj_id"] > 0) {
   118                     $feed_item->setLink(ILIAS_HTTP_PATH . 
"/goto.php?client_id=" . 
CLIENT_ID .
   119                         "&target=pg_" . $item[
"context_sub_obj_id"] . 
"_" . $item[
"ref_id"]);
   120                 } elseif ($item[
"context_obj_type"] == 
"wiki" && $item[
"context_sub_obj_type"] == 
"wpg"   121                     && $item[
"context_sub_obj_id"] > 0) {
   123                     $feed_item->setLink(ILIAS_HTTP_PATH . 
"/goto.php?client_id=" . 
CLIENT_ID .
   124                         "&target=" . $item[
"context_obj_type"] . 
"_" . $item[
"ref_id"] . 
"_" . urlencode($wptitle)); 
   125                 } elseif ($item[
"context_obj_type"] == 
"frm" && $item[
"context_sub_obj_type"] == 
"pos"   126                     && $item[
"context_sub_obj_id"] > 0) {
   129                     if ($thread_id > 0) {
   130                         $feed_item->setLink(ILIAS_HTTP_PATH . 
"/goto.php?client_id=" . 
CLIENT_ID .
   131                             "&target=" . $item[
"context_obj_type"] . 
"_" . $item[
"ref_id"] . 
"_" . $thread_id . 
"_" . $item[
"context_sub_obj_id"]);
   133                         $feed_item->setLink(ILIAS_HTTP_PATH . 
"/goto.php?client_id=" . 
CLIENT_ID .
   134                             "&target=" . $item[
"context_obj_type"] . 
"_" . $item[
"ref_id"]);
   137                     $feed_item->setLink(ILIAS_HTTP_PATH . 
"/goto.php?client_id=" . 
CLIENT_ID .
   138                         "&target=" . $item[
"context_obj_type"] . 
"_" . $item[
"ref_id"]);
   140                 $feed_item->setAbout($feed_item->getLink() . 
"&il_about_feed=" . $item[
"id"]);
   141                 $feed_item->setDate($item[
"creation_date"]);
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setChannelTitle(string $a_title)
 
static determineNewsContent(string $a_context_obj_type, string $a_content, bool $a_is_lang_var, ?ilLanguage $lng=null)
Determine new content. 
 
static _lookupRSSPeriod()
 
addItem(ilFeedItem $a_item)
 
static _getNewsItemsOfUser(int $a_user_id, bool $a_only_public=false, bool $a_prevent_aggregation=false, int $a_per=0, array &$a_cnt=[], bool $no_auto_generated=false, array $excluded=[], int $a_limit=0)
Get all news items for a user. 
 
static lookupTitle(int $a_page_id, string $lang="-")
 
__construct(int $a_user_id, string $a_hash, bool $privFeed=false)
 
static _lookupObjId(int $ref_id)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _lookupTitle(int $obj_id)
 
static determineNewsTitle(string $a_context_obj_type, string $a_title, bool $a_content_is_lang_var, int $a_agg_ref_id=0, array $a_aggregation=[], ?ilLanguage $lng=null)
Determine title for news item entry. 
 
setChannelLink(string $a_link)
 
static _getThreadForPosting(int $a_pos_id)
 
prepareStr(string $a_str)
 
static _lookupFeedHash(int $a_user_id, bool $a_create=false)
Lookup news feed hash for user. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getContextPath(int $a_ref_id)
 
static _lookupType(int $id, bool $reference=false)
 
setChannelAbout(string $a_ab)