Uses , </span> or <span class='highlight'><dc:title></span> </div>
</div>
<div class="row doc-tags">
<div class="col-md-12">
<div class="tag-block tag-summary">
</div>
<div class="tag-block tag-remarks">
</div>
<div class="tag-block tag-exception">
</div>
<div class="tag-block tag-see">
</div>
<div class="tag-block tag-link">
</div>
<div class="tag-block tag-deprecated">
</div>
<div class="tag-block tag-since">
</div>
<div class="tag-block tag-author">
</div>
</div>
</div>
<div class="row">
<div class="col-md-12" style="overflow: auto">
<table class="table table-striped">
<tr>
<td colspan="3" class="rendered">
<span class="modifier">public</span > <span class="method-name"><a class="method-link" href="https://doc.hotexamples.com/jp/class/-/SimplePie_Item#method-get_title">get_title</a></span> ( ) : <span class="return-type"><a href="http://php.net/manual/en/language.types.string.php">string</a> | <a href="http://php.net/manual/en/language.types.null.php">null</a></span> </td>
</tr>
<tr>
<td class="field-return">return</td>
<td class="field-return-type"><a href="http://php.net/manual/en/language.types.string.php">string</a> | <a href="http://php.net/manual/en/language.types.null.php">null</a></td>
<td></td>
</tr>
</table>
</div>
</div>
</div> </div>
</div>
<div class="row" style="margin-bottom: 15px">
<div class="col-md-12">
<a class="btn btn-default" href="https://doc.hotexamples.com/jp/class/-/SimplePie_Item">
SimplePie_Item Class Documentation </a>
</div>
</div>
</div>
<div id="ezoic-pub-ad-placeholder-106">
</div>
<div class="example-item" id="0x0a9ceb8e19a7d1819307e1d7c024b8c8a511ff2f95f514c95a0ee90640de2ae1-29,,36,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #1</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_1" data-hash="0x0a9ceb8e19a7d1819307e1d7c024b8c8a511ff2f95f514c95a0ee90640de2ae1" data-area="29,,36,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '1')" class="rating-up btn btn-success"
data-id="rating_1"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'1')" class="rating-down btn btn-danger"
data-id="rating_1"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0x0a9ceb8e19a7d1819307e1d7c024b8c8a511ff2f95f514c95a0ee90640de2ae1-29,,36,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0x0a9ceb8e19a7d1819307e1d7c024b8c8a511ff2f95f514c95a0ee90640de2ae1&fullName=app%2FFeedService.php&project=ffff5912%2Fantena')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fffff5912%2Fantena%2Fblob%2Fmaster%2Fapp%2FFeedService.php">FeedService.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fffff5912%2Fantena">ffff5912/antena</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="1">
<pre class="line-numbers language-php" data-end="36" data-start="30"
data-highlight="33"> public function build(\SimplePie_Item $feed)
{
$data = new ArrayCollection();
$data->set('title', $feed->get_title());
$data->set('url', $feed->get_permalink());
$data->set('description', $feed->get_description());
return $data;
}</pre>
</div>
</figure>
</div>
<div id="ezoic-pub-ad-placeholder-107">
<div style="text-align: center;margin-bottom: 10px">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- after-example-1 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3697522372581514"
data-ad-slot="4981531786"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<div class="example-item" id="0x37b43b6723bce68614a49db7e26567d175e02d2b7584827ad2b01e43a203626c-34,,50,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #2</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_2" data-hash="0x37b43b6723bce68614a49db7e26567d175e02d2b7584827ad2b01e43a203626c" data-area="34,,50,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '2')" class="rating-up btn btn-success"
data-id="rating_2"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'2')" class="rating-down btn btn-danger"
data-id="rating_2"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0x37b43b6723bce68614a49db7e26567d175e02d2b7584827ad2b01e43a203626c-34,,50,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0x37b43b6723bce68614a49db7e26567d175e02d2b7584827ad2b01e43a203626c&fullName=SimplePie.php&project=devour-php%2Fsimplepie')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fdevour-php%2Fsimplepie%2Fblob%2Fmaster%2FSimplePie.php">SimplePie.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fdevour-php%2Fsimplepie">devour-php/simplepie</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="2">
<pre class="line-numbers language-php" data-end="50" data-start="35"
data-highlight="47"> /**
* Parses a since feed item.
*
* @param \Devour\Table\TableInterface $table
* A table obeject.
* @param \SimplePie_Item $item
* A SimplePie item.
*/
protected function parseItem(TableInterface $table, \SimplePie_Item $item)
{
// @todo Add more fields.
$row = $table->getNewRow();
$row->set('id', $item->get_id())->set('permalink', $item->get_permalink())->set('title', $item->get_title())->set('date', $item->get_gmdate('U'))->set('content', $item->get_content());
if ($author = $item->get_author()) {
$row->set('author_name', $author->get_name())->set('author_email', $author->get_email());
}
}</pre>
</div>
</figure>
</div>
<div id="ezoic-pub-ad-placeholder-108">
<div style="text-align: center;">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- after-example-2 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3697522372581514"
data-ad-slot="7155150962"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<div class="example-item" id="0x4c317ea5a2247afb9d97d1b7631ab0b39f5aecf66bef72b07dc00cc0173214a8-48,,65,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #3</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_3" data-hash="0x4c317ea5a2247afb9d97d1b7631ab0b39f5aecf66bef72b07dc00cc0173214a8" data-area="48,,65,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '3')" class="rating-up btn btn-success"
data-id="rating_3"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'3')" class="rating-down btn btn-danger"
data-id="rating_3"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0x4c317ea5a2247afb9d97d1b7631ab0b39f5aecf66bef72b07dc00cc0173214a8-48,,65,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0x4c317ea5a2247afb9d97d1b7631ab0b39f5aecf66bef72b07dc00cc0173214a8&fullName=auxiliary%2Ffeed_item.class.php&project=nateemerson%2Fmwf')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fnateemerson%2Fmwf%2Fblob%2Fmaster%2Fauxiliary%2Ffeed_item.class.php">feed_item.class.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fnateemerson%2Fmwf">nateemerson/mwf</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="3">
<pre class="line-numbers language-php" data-end="65" data-start="49"
data-highlight="59"> /**
* The constructor stores feed item attributes as properties.
*
* @param type $feed the feed the new item belongs to
* @param SimplePie_Item $item SimplePie_Item that contains information
* about the item
*/
public function __construct($feed, $item)
{
$this->_feed = $feed;
$this->_title = $item->get_title();
$this->_link = $item->get_permalink();
$this->_description = $item->get_content();
$this->_date = $item->get_date('U');
$author = $item->get_author();
$author_name = $author ? $author->get_name() : NULL;
$this->_author = $author && empty($author_name) ? $author->get_email() : $author_name;
}</pre>
</div>
</figure>
</div>
<div id="ezoic-pub-ad-placeholder-109">
<div style="text-align: center;">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- after-example-3 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3697522372581514"
data-ad-slot="8699811701"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<div class="example-item" id="0x40068d3bd03592d412ec4f893f16dc911e638e737317bcdb9a2d204480332ba4-56,,81,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #4</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_4" data-hash="0x40068d3bd03592d412ec4f893f16dc911e638e737317bcdb9a2d204480332ba4" data-area="56,,81,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '4')" class="rating-up btn btn-success"
data-id="rating_4"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'4')" class="rating-down btn btn-danger"
data-id="rating_4"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0x40068d3bd03592d412ec4f893f16dc911e638e737317bcdb9a2d204480332ba4-56,,81,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0x40068d3bd03592d412ec4f893f16dc911e638e737317bcdb9a2d204480332ba4&fullName=ProTalk%2Fsrc%2FProtalk%2FMediaBundle%2FBase.php&project=jcsilkey%2FCodeReviewSecurityRepo')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fjcsilkey%2FCodeReviewSecurityRepo%2Fblob%2Fmaster%2FProTalk%2Fsrc%2FProtalk%2FMediaBundle%2FBase.php">Base.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fjcsilkey%2FCodeReviewSecurityRepo">jcsilkey/CodeReviewSecurityRepo</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="4">
<pre class="line-numbers language-php" data-end="81" data-start="57"
data-highlight="77"> /**
*
* Check if a feed item is suitable for import into database
*
* @param \SimplePie_Item $item
* @param \Datetime $itemUploadedToFeed
* @param \Datetime $lastImportDate
* @return bool
*/
protected function checkSuitableForImport(\SimplePie_Item $item, $itemUploadedToFeed, $lastImportDate)
{
// only check new import items (ie added since last import date)
if ($itemUploadedToFeed < $lastImportDate) {
return false;
}
// check db to see if item was:
// - manually added by a protalk team member
// - somehow re-added to the feed, at a later date, but with the same title
// - previously imported but a protalk team member edited the title (hence permalink check)
$repository = $this->entityManager->getRepository('ProtalkMediaBundle:Media');
$itemExists = $repository->itemExists($item->get_title(), $item->get_permalink());
if ($itemExists) {
return false;
}
return true;
}</pre>
</div>
</figure>
</div>
<div id="ezoic-pub-ad-placeholder-110">
</div>
<div class="example-item" id="0xce631b5bbf6343a5115da67522d9db0e1e12d1be8485d0394df6fa51c7ef40c7-55,,91,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #5</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_5" data-hash="0xce631b5bbf6343a5115da67522d9db0e1e12d1be8485d0394df6fa51c7ef40c7" data-area="55,,91,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '5')" class="rating-up btn btn-success"
data-id="rating_5"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'5')" class="rating-down btn btn-danger"
data-id="rating_5"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0xce631b5bbf6343a5115da67522d9db0e1e12d1be8485d0394df6fa51c7ef40c7-55,,91,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0xce631b5bbf6343a5115da67522d9db0e1e12d1be8485d0394df6fa51c7ef40c7&fullName=functions.php&project=Niehztog%2FrssFilter')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2FNiehztog%2FrssFilter%2Fblob%2Fmaster%2Ffunctions.php">functions.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2FNiehztog%2FrssFilter">Niehztog/rssFilter</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="5">
<pre class="line-numbers language-php" data-end="91" data-start="56"
data-highlight="61">function filter(SimplePie_Item $item, array $patterns)
{
foreach ($patterns as $pattern) {
switch ($pattern["field"]) {
case "title":
if (preg_match($pattern["regex"], $item->get_title())) {
return false;
}
break;
case "summary":
if (preg_match($pattern["regex"], $item->get_description())) {
return false;
}
break;
case "content":
if (preg_match($pattern["regex"], $item->get_content())) {
return false;
}
break;
case "url":
if (preg_match($pattern["regex"], $item->get_permalink())) {
return false;
}
break;
case "category":
foreach ($item->get_categories() as $category) {
if (preg_match($pattern["regex"], $category->get_term()) || preg_match($pattern["regex"], $category->get_label())) {
return false;
}
}
break;
default:
die("Filter not implemented for field " . $pattern["field"]);
}
}
return true;
}</pre>
</div>
</figure>
</div>
<div id="ezoic-pub-ad-placeholder-111">
</div>
<div class="example-item" id="0xfd227e50fba21405f908c0316d37fe55791f058cf5c77acfad7d73d9d81e3a51-134,,155,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #6</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_6" data-hash="0xfd227e50fba21405f908c0316d37fe55791f058cf5c77acfad7d73d9d81e3a51" data-area="134,,155,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '6')" class="rating-up btn btn-success"
data-id="rating_6"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'6')" class="rating-down btn btn-danger"
data-id="rating_6"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0xfd227e50fba21405f908c0316d37fe55791f058cf5c77acfad7d73d9d81e3a51-134,,155,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0xfd227e50fba21405f908c0316d37fe55791f058cf5c77acfad7d73d9d81e3a51&fullName=src%2FSearch%2FCollection%2FFeedCollection.php&project=cpliakas%2Ffeed-collection')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fcpliakas%2Ffeed-collection%2Fblob%2Fmaster%2Fsrc%2FSearch%2FCollection%2FFeedCollection.php">FeedCollection.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fcpliakas%2Ffeed-collection">cpliakas/feed-collection</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="6">
<pre class="line-numbers language-php" data-end="155" data-start="135"
data-highlight="145"> /**
* Implements CollectionAbstract::buildDocument().
*
* @param IndexDocument $document
* @param \SimplePie_Item $data
*/
public function buildDocument(IndexDocument $document, $data)
{
$document->source = $this->_feed->get_title();
$document->subject = $this->_feed->get_description();
$document->title = $data->get_title();
$document->link = $data->get_link();
$document->description = $data->get_description();
$document->creator = (array) $data->get_author();
$document->date = $data->get_date();
// PHP properties cannot have dashes (-), and the fields below have
// dashes in the field name.
$document->source_link = $this->_feed->get_link();
$document->getField('source_link')->setName('source-link');
$document->item_subject = $this->_feed->get_link();
$document->getField('item_subject')->setName('item-subject');
}</pre>
</div>
</figure>
</div>
<div class="example-item" id="0xf37e58de6cd2309b4523a3271b8015b32af21b5b283527db86a69629685b8230-235,,288,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #7</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_7" data-hash="0xf37e58de6cd2309b4523a3271b8015b32af21b5b283527db86a69629685b8230" data-area="235,,288,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '7')" class="rating-up btn btn-success"
data-id="rating_7"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'7')" class="rating-down btn btn-danger"
data-id="rating_7"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0xf37e58de6cd2309b4523a3271b8015b32af21b5b283527db86a69629685b8230-235,,288,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0xf37e58de6cd2309b4523a3271b8015b32af21b5b283527db86a69629685b8230&fullName=Modules%2FSiSPS%2FTwitterParser.php&project=ushahidi%2FSwiftriver-2011')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fushahidi%2FSwiftriver-2011%2Fblob%2Fmaster%2FModules%2FSiSPS%2FTwitterParser.php">TwitterParser.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fushahidi%2FSwiftriver-2011">ushahidi/Swiftriver-2011</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="7">
<pre class="line-numbers language-php" data-end="288" data-start="236"
data-highlight="244"> /**
* Parses the simplepie item to a content item
* @param \SimplePie_Item $tweet
* @param \Swiftriver\Core\ObjectModel\Channel $channel
*/
private function ParseTweetFromATOMItem($tweet, $channel)
{
//Extract all the relevant feedItem info
$title = $tweet->get_title();
//$description = $tweet->get_description();
$contentLink = $tweet->get_permalink();
$date = $tweet->get_date();
//Create the source
$author = $tweet->get_author();
$source_name = $author != null ? $author->get_name() : $channel->name;
$source = \Swiftriver\Core\ObjectModel\ObjectFactories\SourceFactory::CreateSourceFromIdentifier($source_name, $channel->trusted);
$source->name = $source_name;
$source->email = $author != null ? $tweet->get_author()->get_email() : null;
$source->link = $author != null ? $tweet->get_author()->get_link() : null;
$source->parent = $channel->id;
$source->type = $channel->type;
$source->subType = $channel->subType;
//Add location data
//Long and lat
$location = $tweet->get_item_tags("http://www.georss.org/georss", "point");
$long = 0;
$lat = 0;
$name = "";
if (is_array($location)) {
$lat_lon_array = split(" ", $location[0]["data"]);
$long = $lat_lon_array[1];
$lat = $lat_lon_array[0];
//Name
$location_name = $tweet->get_item_tags("http://api.twitter.com", "place");
if (is_array($location_name)) {
if (isset($location_name[0]["child"]["http://api.twitter.com"]["full_name"][0]["data"])) {
$name = $location_name[0]["child"]["http://api.twitter.com"]["full_name"][0]["data"];
}
}
$source->gisData = array(new \Swiftriver\Core\ObjectModel\GisData($long, $lat, $name));
}
//Create a new Content item
$item = \Swiftriver\Core\ObjectModel\ObjectFactories\ContentFactory::CreateContent($source);
//Fill the Content Item
$item->text[] = new \Swiftriver\Core\ObjectModel\LanguageSpecificText(null, $title, array());
$item->link = $contentLink;
$item->date = strtotime($date);
//Sanitize the tweet text into a DIF collection
$sanitizedTweetDiffCollection = $this->ParseTweetToSanitizedTweetDiffCollection($tweet);
//Add the dif collection to the item
$item->difs = array($sanitizedTweetDiffCollection);
//return the item
return $item;
}</pre>
</div>
</figure>
</div>
<div class="example-item" id="0xe0a555f5da77aeb459465c246d6ec3dbd6686371702e275c0abaefd135a0e1e7-8,,11,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #8</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_8" data-hash="0xe0a555f5da77aeb459465c246d6ec3dbd6686371702e275c0abaefd135a0e1e7" data-area="8,,11,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '8')" class="rating-up btn btn-success"
data-id="rating_8"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'8')" class="rating-down btn btn-danger"
data-id="rating_8"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0xe0a555f5da77aeb459465c246d6ec3dbd6686371702e275c0abaefd135a0e1e7-8,,11,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0xe0a555f5da77aeb459465c246d6ec3dbd6686371702e275c0abaefd135a0e1e7&fullName=wp-content%2Fplugins%2Ffeedwordpie_item.class.php&project=kosir%2Fthatcamp-org')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fkosir%2Fthatcamp-org%2Fblob%2Fmaster%2Fwp-content%2Fplugins%2Ffeedwordpie_item.class.php">feedwordpie_item.class.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fkosir%2Fthatcamp-org">kosir/thatcamp-org</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="8">
<pre class="line-numbers language-php" data-end="11" data-start="9"
data-highlight="11"> function get_title()
{
return apply_filters('feedwordpie_item_get_title', parent::get_title(), $this);
}</pre>
</div>
</figure>
</div>
<div class="example-item" id="0xd8ecf98a05081a63adad462a484234cc4e67e3886b31c014f61e60804cabdb0a-122,,137,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #9</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_9" data-hash="0xd8ecf98a05081a63adad462a484234cc4e67e3886b31c014f61e60804cabdb0a" data-area="122,,137,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '9')" class="rating-up btn btn-success"
data-id="rating_9"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'9')" class="rating-down btn btn-danger"
data-id="rating_9"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0xd8ecf98a05081a63adad462a484234cc4e67e3886b31c014f61e60804cabdb0a-122,,137,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0xd8ecf98a05081a63adad462a484234cc4e67e3886b31c014f61e60804cabdb0a&fullName=Classes%2FDomain%2FChannelService.php&project=hlubek%2FPlanetflow3-Package')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fhlubek%2FPlanetflow3-Package%2Fblob%2Fmaster%2FClasses%2FDomain%2FChannelService.php">ChannelService.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fhlubek%2FPlanetflow3-Package">hlubek/Planetflow3-Package</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="9">
<pre class="line-numbers language-php" data-end="137" data-start="123"
data-highlight="133"> /**
* Populate an item from a feed item
*
* @param $item \Planetflow3\Domain\Model\Item
* @param $feedItem \SimplePie_Item
* @return void
*/
protected function populateItemProperties(Item $item, \SimplePie_Item $feedItem)
{
$item->setLink($feedItem->get_link());
$item->setTitle($feedItem->get_title());
$item->setDescription($feedItem->get_description());
$item->setContent($feedItem->get_content(TRUE));
$item->setPublicationDate(new \DateTime($feedItem->get_date()));
$item->setAuthor($feedItem->get_author());
}</pre>
</div>
</figure>
</div>
<div class="example-item" id="0xc800e2e76cf344472295b38d45b814f681fc197404384222b2a990d933792327-322,,355,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #10</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_10" data-hash="0xc800e2e76cf344472295b38d45b814f681fc197404384222b2a990d933792327" data-area="322,,355,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '10')" class="rating-up btn btn-success"
data-id="rating_10"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'10')" class="rating-down btn btn-danger"
data-id="rating_10"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0xc800e2e76cf344472295b38d45b814f681fc197404384222b2a990d933792327-322,,355,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0xc800e2e76cf344472295b38d45b814f681fc197404384222b2a990d933792327&fullName=_releases%2Fapps%2Fswiftmeme-bundle%2F_nightly%2Fcore%2FModules%2FSiSPS%2FTwitterParser.php&project=ultimateprogramer%2FSwiftriver')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fultimateprogramer%2FSwiftriver%2Fblob%2Fmaster%2F_releases%2Fapps%2Fswiftmeme-bundle%2F_nightly%2Fcore%2FModules%2FSiSPS%2FTwitterParser.php">TwitterParser.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fultimateprogramer%2FSwiftriver">ultimateprogramer/Swiftriver</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="10">
<pre class="line-numbers language-php" data-end="355" data-start="323"
data-highlight="330"> /**
* @param \SimplePie_Item $tweet
* @return \Swiftriver\Core\ObjectModel\DuplicationIdentificationFieldCollection
*/
private function ParseTweetToSanitizedTweetDiffCollection($tweet)
{
//Get the original text
$tweetText = $tweet->get_title();
//Break the text down into words
$tweetTextParts = explode(" ", $tweetText);
//Set up the sanitized return string
$sanitizedText = "";
//loop through all the words
foreach ($tweetTextParts as $part) {
//to lowwer the word
$part = strtolower($part);
//If the word contains none standard chars, continue
if (preg_match("/[^\\w\\d\\.\\(\\)\\!']/si", $part)) {
continue;
}
//if the owrd is just rt then continue
if ($part == "rt") {
continue;
}
//Add the word to the sanitized
$sanitizedText .= $part . " ";
}
//Create a new Diff
$dif = new \Swiftriver\Core\ObjectModel\DuplicationIdentificationField("Sanitized Tweet", utf8_encode($sanitizedText));
//Create the new diff collection
$difCollection = new \Swiftriver\Core\ObjectModel\DuplicationIdentificationFieldCollection("Sanitized Tweet", array($dif));
//Return the diff collection
return $difCollection;
}</pre>
</div>
</figure>
</div>
<div class="example-item" id="0xbd1cea3e1120fcd261e3c72c3e50a73606dbfee93499dbda6b91e686e2ce6189-270,,300,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #11</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_11" data-hash="0xbd1cea3e1120fcd261e3c72c3e50a73606dbfee93499dbda6b91e686e2ce6189" data-area="270,,300,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '11')" class="rating-up btn btn-success"
data-id="rating_11"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'11')" class="rating-down btn btn-danger"
data-id="rating_11"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0xbd1cea3e1120fcd261e3c72c3e50a73606dbfee93499dbda6b91e686e2ce6189-270,,300,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0xbd1cea3e1120fcd261e3c72c3e50a73606dbfee93499dbda6b91e686e2ce6189&fullName=core%2FModules%2FSiSPS%2FTwitterParser.php&project=katembu%2FSwiftriver')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fkatembu%2FSwiftriver%2Fblob%2Fmaster%2Fcore%2FModules%2FSiSPS%2FTwitterParser.php">TwitterParser.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fkatembu%2FSwiftriver">katembu/Swiftriver</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="11">
<pre class="line-numbers language-php" data-end="300" data-start="271"
data-highlight="280"> /**
* Parses the simplepie item to a content item
* @param \SimplePie_Item $tweet
* @param \Swiftriver\Core\ObjectModel\Source
* @return \Swiftriver\Core\ObjectModel\Content
*/
private function ParseTweetFromATOMItem($tweet, $channel)
{
//Extract all the relevant feedItem info
$title = $tweet->get_title();
//$description = $tweet->get_description();
$contentLink = $tweet->get_permalink();
$date = $tweet->get_date();
//Create the source
$author = $tweet->get_author();
$source_name = $author != null ? $author->get_name() : $channel->name;
$source = \Swiftriver\Core\ObjectModel\ObjectFactories\SourceFactory::CreateSourceFromIdentifier($source_name);
$source->name = $source_name;
$source->email = $author != null ? $tweet->get_author()->get_email() : null;
$source->link = $author != null ? $tweet->get_author()->get_link() : null;
$source->parent = $channel->id;
$source->type = $channel->type;
$source->subType = $channel->subType;
//Create a new Content item
$item = \Swiftriver\Core\ObjectModel\ObjectFactories\ContentFactory::CreateContent($source);
//Fill the Content Item
$item->text[] = new \Swiftriver\Core\ObjectModel\LanguageSpecificText(null, $title, array());
$item->link = $contentLink;
$item->date = strtotime($date);
return $item;
}</pre>
</div>
</figure>
</div>
<div class="example-item" id="0xaa336dcdb85abfc25790eee13da32c65a00c81d23ed6e5aa0f34bbda6313db5c-308,,342,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #12</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_12" data-hash="0xaa336dcdb85abfc25790eee13da32c65a00c81d23ed6e5aa0f34bbda6313db5c" data-area="308,,342,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '12')" class="rating-up btn btn-success"
data-id="rating_12"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'12')" class="rating-down btn btn-danger"
data-id="rating_12"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0xaa336dcdb85abfc25790eee13da32c65a00c81d23ed6e5aa0f34bbda6313db5c-308,,342,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0xaa336dcdb85abfc25790eee13da32c65a00c81d23ed6e5aa0f34bbda6313db5c&fullName=newsblocks.inc.php&project=postprefix%2Fnewsblocks')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fpostprefix%2Fnewsblocks%2Fblob%2Fmaster%2Fnewsblocks.inc.php">newsblocks.inc.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fpostprefix%2Fnewsblocks">postprefix/newsblocks</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="12">
<pre class="line-numbers language-php" data-end="342" data-start="309"
data-highlight="323"> /**
* Pieces together the title attribute without using inline ternary conditional statements
*
* @access public
* @param SimplePie_Item $item The item to generate the title attribute for.
* @param integer $length The number of characters to return in the description.
* @param string $date_format The format to use when displaying dates on items. Uses values from http://php.net/strftime, NOT http://php.net/date.
* @return string The string for the title attribute.
*/
function get_title_attr($item, $length, $date_format)
{
// Get a handle for the item's parent feed object for PHP 4.x.
$parent = $item->get_feed();
$title_attr = '';
$title_attr .= $item->get_title();
// The title of the post
$title_attr .= ' :: ';
// The separator between the title and the description (required by MooTools)
$title_attr .= newsblocks::cleanup($item->get_description(), $length);
// The cleaned-up and shortened version of the description
$title_attr .= '<span>';
// This marks the beginning of the date/domain line (and is CSS styleable)
// Does the item have a timestamp?
if ($item->get_local_date($date_format)) {
$title_attr .= $item->get_local_date($date_format);
// Use the locale-friendly version for non-English languages.
$title_attr .= ' // ';
// Visual separator.
}
$title_attr .= newsblocks::name($parent->subscribe_url());
// The domain name that the item is coming from.
$title_attr .= '</span>';
// Mark the end of the date/domain line.
return $title_attr;
}</pre>
</div>
</figure>
</div>
<div class="example-item" id="0x0fcc341910aa07bfac67d6037163f03dd1d24eccf6720dc4d3e6e2f3caa2cf60-125,,132,">
<div class="bs-example">
<div>
<div class="bs-example-title">コード例 #13</div>
<div style="position: absolute;right: 15px;top: 10px;" id="rating_13" data-hash="0x0fcc341910aa07bfac67d6037163f03dd1d24eccf6720dc4d3e6e2f3caa2cf60" data-area="125,,132,">
<div class="rating-amount">0</div>
<a title="この例に高評価をつける" href="javascript:app.addRating(1, '13')" class="rating-up btn btn-success"
data-id="rating_13"><i class="icon-button icon-thumbs-up"></i></a>
<a title="この例に低評価をつける" href="javascript:app.addRating(-1,'13')" class="rating-down btn btn-danger"
data-id="rating_13"><i class="icon-button icon-thumbs-down"></i></a>
</div>
</div>
<div style="display:flex;align-items: center;flex-wrap: wrap">
<div style="display: inline-block;margin-right: 10px">
<a class="btn btn-default" title="この例への直リンク"
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html#0x0fcc341910aa07bfac67d6037163f03dd1d24eccf6720dc4d3e6e2f3caa2cf60-125,,132,"><i class="icon-button icon-link"></i></a>
<a rel="nofollow" class="btn btn-default"
href="javascript:app.open('https://hotexamples.com/jp/site/file?hash=0x0fcc341910aa07bfac67d6037163f03dd1d24eccf6720dc4d3e6e2f3caa2cf60&fullName=reason_4.0%2Flib%2Fcore%2Fminisite_templates%2Fmodules%2Ffeed%2Fmodels%2Fsimplepie_twitter.php&project=hunter2814%2Freason_package')">ファイルを表示</a>
</div>
<div class="example-project-info">
<nobr>
<span>ファイル:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fhunter2814%2Freason_package%2Fblob%2Fmaster%2Freason_4.0%2Flib%2Fcore%2Fminisite_templates%2Fmodules%2Ffeed%2Fmodels%2Fsimplepie_twitter.php">simplepie_twitter.php</a>
</nobr>
<nobr>
<span>プロジェクト:</span>
<a target="_blank" rel="nofollow" href="https://hotexamples.com/jp/site/redirect?url=https%3A%2F%2Fgithub.com%2Fhunter2814%2Freason_package">hunter2814/reason_package</a>
</nobr>
</div>
</div>
</div>
<figure class="highlight">
<div class="example" data-id="13">
<pre class="line-numbers language-php" data-end="132" data-start="126"
data-highlight="131"> /**
* @return string twitterified title
*/
function get_title()
{
$title = $this->twitterify(parent::get_title());
return $title;
}</pre>
</div>
</figure>
</div>
<div id="all-examples"></div>
</div>
</div>
</div>
<div class="page-side-banner hidden-xs hidden-sm hidden-md" style="width:300px">
<div id="ezoic-pub-ad-placeholder-131">
<div class="fx" style="width:300px">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- right-sidebar-fx -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3697522372581514"
data-ad-slot="8968655429"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-12" style="text-align: center">
<a href="https://hotexamples.com/jp/site/trends?type=php%7Cf">上位の関数</a> |
<a href="https://hotexamples.com/jp/site/trends?type=php%7Cc">
上位のクラス </a>
|
<a href="https://doc.hotexamples.com/jp/doc/map">ドキュメント</a>
| <a href="/site/privacy">個人情報保護方針</a>
| <a href="https://cpp.hotexamples.com/direct-sales.html">Advertise with us</a>
</div>
</div>
<div class="row">
<div class="col-md-12" style="text-align: center">
<a
href="https://hotexamples.com/jp/">PHP</a>
| <a
href="https://csharp.hotexamples.com/jp/">C# (CSharp)</a>
| <a
href="https://java.hotexamples.com/jp/">Java</a>
| <a
href="https://golang.hotexamples.com/jp/">Golang</a>
| <a
href="https://cpp.hotexamples.com/jp/">C++ (Cpp)</a>
| <a
href="https://python.hotexamples.com/jp/">Python</a>
| <a
href="https://javascript.hotexamples.com/jp/">JavaScript</a>
| <a
href="https://typescript.hotexamples.com/jp/">TypeScript</a>
</div>
</div>
<div class="row">
<div class="col-md-12" style="text-align: center">
<a
href="https://hotexamples.com/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">EN</a>
| <a
href="https://hotexamples.com/ru/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">RU</a>
| <a
href="https://hotexamples.com/de/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">DE</a>
| <a
href="https://hotexamples.com/fr/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">FR</a>
| <a
href="https://hotexamples.com/es/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">ES</a>
| <a
href="https://hotexamples.com/pt/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">PT</a>
| <a
href="https://hotexamples.com/it/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">IT</a>
| <a
href="https://hotexamples.com/jp/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">JP</a>
| <a
href="https://hotexamples.com/zh/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">ZH</a>
| <a
href="https://hotexamples.com/ko/examples/-/SimplePie_Item/get_title/php-simplepie_item-get_title-method-examples.html">KO</a>
</div>
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1">
</div>
<div class="col-md-1">
<!--LiveInternet counter-->
<script type="text/javascript"><!--
document.write("<a href='//www.liveinternet.ru/click' " +
"target=_blank><img src='//counter.yadro.ru/hit?t44.6;r" +
escape(document.referrer) + ((typeof (screen) == "undefined") ? "" :
";s" + screen.width + "*" + screen.height + "*" + (screen.colorDepth ?
screen.colorDepth : screen.pixelDepth)) + ";u" + escape(document.URL) +
";" + Math.random() +
"' alt='' title='LiveInternet' " +
"border='0' width='31' height='31'><\/a>");
//--></script><!--/LiveInternet-->
</div>
</div>
</div>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="/assets/30dd86a6f06b64184847037c52c63e07aa3c9a26.js"></script>
<script>jQuery(function ($) {
jQuery('#search-form').yiiActiveForm([{"id":"searchform-lang","name":"lang","container":".field-searchform-lang","input":"#searchform-lang","enableAjaxValidation":true},{"id":"searchform-search","name":"search","container":".field-searchform-search","input":"#searchform-search","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"Search cannot be blank."});}}], []);
});</script></body>
</html>