23 $this->magpie_item = $a_item;
32 if (isset($a_item[
"link_"]))
39 if (isset($a_item[
"link"]))
46 if (isset($a_item[
"atom_content"]))
51 else if (isset($a_item[
"summary"]))
56 else if (isset($a_item[
"description"]))
63 if (isset($a_item[
"pubdate"]))
68 else if (isset($a_item[
"updated"]))
75 if (isset($a_item[
"dc"][
"creator"]))
91 $a_str = preg_replace_callback(
92 '/<a[^>]*?href=["\']([^"\']*)["\'][^>]*?>/i',
95 '<a href="%s" target="_blank" rel="noopener">',
112 return $this->magpie_item;
122 $this->title = $a_title;
142 $this->link = $a_link;
162 $this->summary = $a_summary;
172 return $this->summary;
182 $this->
date = $a_date;
222 $this->author = $a_author;
232 return $this->author;
Wraps $item arrays from magpie.
setLink($a_link)
Set Link.
getMagpieItem()
Get Magpie Item.
setAuthor($a_author)
Set Author.
setTitle($a_title)
Set Title.
date( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated())
setMagpieItem($a_item)
Set Magpie Item and read it into internal variables.
setDate($a_date)
Set Date.
static secureUrl($url)
Prepare secure href attribute.
static secureLink($a_str)
setSummary($a_summary)
Set Summary.
static secureString($a_str, $a_strip_html=true, $a_allow="")
Remove unsecure tags.