fbpx

Smart Education Solution

Smart Education Solution Gamatechno

Managing campus has never been this easy

eCampuz Suite

Nikmati sistem informasi yang lengkap dan tersesuaikan untuk kebutuhan Anda

eCampuz Cloud

Nikmati kemudahan pengelolaan perguruan tinggi tanpa terbelenggu dengan keterbatasan infrastruktur, dan tim pendukung TI

mCampus

Aplikasi mobile untuk kemudahan akses informasi akademik

News & Blog

<?php
//replace with your URL
$rss = fetch_feed(‘https://blog.gamatechno.com/academic/feed/’);

if (!is_wp_error($rss)) :

$maxitems = $rss -> get_item_quantity(3); //gets latest 5 items This can be changed to suit your requirements
$rss_items = $rss -> get_items(0, $maxitems);
endif;
?>
<?php
//grabs our post thumbnail image
function get_first_image_url($html) {
if (preg_match(‘/<img.+?src="(.+?)"/’, $html, $matches)) {
return $matches[1];
}
}a
?>
<?php
//shortens description
function shorten($string, $length) {
$suffix = ‘…’;
$short_desc = trim(str_replace(array("\r", "\n", "\t"), ‘ ‘, strip_tags($string)));
$desc = trim(substr($short_desc, 0, $length));
$lastchar = substr($desc, -1, 1);
if ($lastchar == ‘.’ || $lastchar == ‘!’ || $lastchar == ‘?’)
$suffix = ”;
$desc .= $suffix;
return $desc;
}
?>
<!–start of displaying our feeds–>
<div class="wow-feed">
<?php
if ($maxitems == 0) echo ‘<li>No items.</li>’;
else foreach ( $rss_items as $item ) :
?>
<li class="item">
<span class="rss-image">
<?php echo ‘<img src="’ . get_first_image_url($item -> get_content()) . ‘"/>’; ?>
</span>
<span class="data">
<h4><a href='<?php echo esc_url($item -> get_permalink()); ?>’ title='<?php echo esc_html($item -> get_title()); ?>’> <?php echo esc_html($item -> get_title()); ?></a></h4>
</span>
</li>
<?php endforeach; ?>
</div>

Download Product Profile Gamatechno Enterprise Suite

Download Product Profile

Gamatechno Enterprise Suite

Product

Product Profile telah dikirim ke email terdaftar anda

Download Product Profile Gamatechno Consulting & Services

Download Product Profile Gamatechno Consulting & Services

Product

You have Successfully Subscribed!

Download Product Profile Smart City Platform

Download Product Profile Smart City Platform

Product

Product Profile telah dikirim ke email terdaftar anda

Download Product Profile Sistem Informasi Paperless Office

Download Product Profile Sistem Informasi Paperless Office

Product

Product Profile telah dikirim ke email terdaftar anda

Download Product Profile Gamatechno Enterprise Suite

Download Product Profile

Gamatechno Enterprise Suite

Product

Product Profile telah dikirim ke email terdaftar anda

Download Product Profile Gamatechno Enterprise Suite

Download Product Profile

Gamatechno Enterprise Suite

Product

Product Profile telah dikirim ke email terdaftar anda

Request Proposal Mobile Presence

Request Proposal Mobile Presence

Terima Kasih, Team Sales Kami akan Menghubungi anda