Exemple #1
0
 public function setSource($url, $content)
 {
     if (!empty($url) && !empty($content)) {
         $this->_itemSource['url'] = RSSFeedTools::checkUrl($url);
         $this->_itemSource['content'] = $content;
     }
 }
Exemple #2
0
 public function setWebMaster($email, $name = '')
 {
     // Set the webmaster information
     $this->_feedWebMaster['email'] = RSSFeedTools::checkEmail($email);
     $this->_feedWebMaster['name'] = $name;
 }
Exemple #3
0
 public function setPubDate($pubDate)
 {
     $this->_pubDate = RSSFeedTools::prepareFeedDate($pubDate);
 }