Lines Matching +full:d +full:- +full:link
10 * Noticeboard Plugin - RSS GENERATE
33 $this->category = $category;
34 $this->parentId = $parentId;
36 $this->noticeList = new helper_plugin_noticeboard_NoticeList($this->parentId);
37 $this->noticeList->setCategoryFilter($category);
38 $this->noticeList->setTimeFilter(3);
39 $this->noticeList->setSortFilter(1);
45 header("Content-Type: application/xml; charset=UTF-8");
47 $out .= $this->getHeader();
48 $out .= $this->getBody();
49 $out .= $this->getFooter();
55 $link = "http://".$_SERVER['SERVER_NAME'];
58 $out .= "<?xml version='1.0' encoding='UTF-8' ?>";
61 $out .= "<title>".$conf['title']." - ".$this->parentId."</title>";
63 $out .= "<description>".$this->getLang('rssDesc')."</description>";
64 $out .= "<link>".$link .wl($this->parentId, array('do' => 'show'))."</link>";
70 $link = "http://".$_SERVER['SERVER_NAME'];
72 $arrayList = $this->noticeList->getNoticeList(0,50); //last 50 msges
73 while(($arrayList && $arrayList->hasNext())){
74 $notice = $arrayList->next();
76 $out .= "<title>".$notice->getName()."</title>";
77 $out .= "<link>".$link .wl($notice->getId(), array('do' => 'show'))."</link>";
79 $out .= $this->getLang('startTime').": ";
80 if($notice->hasStartTime()){
81 $out .= date("d.m.Y H:i",$notice->getStartTime());
83 $out .= date("d.m.Y",$notice->getStartTime());
86 $out .= $this->getLang('category').": ".$this->getLang($notice->getCategory());
88 if($notice->getEndTime()){
89 $out .= $this->getLang('endTime').": ";
90 if($notice->hasEndTime()){
91 $out .= date("d.m.Y H:i",$notice->getEndTime());
93 $out .= date("d.m.Y",$notice->getEndTime());
97 if($notice->getDeadline()){
98 $out .= $this->getLang('deadline').": ";
99 $out .= date("d.m.Y",$notice->getDeadline());
103 if($notice->getPlace()){
104 $out .= $this->getLang('place').": ";
105 $out .= $notice->getPlace();
108 $out .= $this->getLang('moreInfo').": <a href='".$link .wl($notice->getId(), array('do' => 'show'))."'>".$notice->getName()."</a>";
111 $out .= "<pubDate>".date(DATE_RFC822,$notice->getStartTime())."</pubDate>";
114 if($notice->getDeadline()){
116 $out .= "<title>".$notice->getName()." Deadline</title>";
117 $out .= "<link>".$link .wl($notice->getId(), array('do' => 'show'))."</link>";
119 $out .= $this->getLang('startTime').": ";
120 if($notice->hasStartTime()){
121 $out .= date("d.m.Y H:i",$notice->getStartTime());
123 $out .= date("d.m.Y",$notice->getStartTime());
126 if($notice->getDeadline()){
127 $out .= $this->getLang('deadline').": ";
128 $out .= date("d.m.Y",$notice->getDeadline());
131 $out .= "<a href='".$link .wl($notice->getId(), array('do' => 'show'))."'>".$this->getLang('moreInfo')."</a>";
134 $out .= "<pubDate>".date(DATE_RFC822,$notice->getDeadline())."</pubDate>";