Ribeitrail conquistou 2º lugar por equipas na VI edição da ‘Vila Urbana Trail’ de Ponte de Lima

A equipa de Trail da Ribeira do Neiva (Vila Verde, a Rbeitrail, conquistou o segundo lugar por equipas na VI edição da Vila Urbana Trail de Ponte de Lima, que decorreu ontem. Obteve ainda dois pódios individuais, um 2º (Márcio Araújo – M Sénior) e um 3º lugares  (Filipe Sousa – M50).

RESULTADOS INDIVIDUAIS

Márcio Araújo 38:04 min

4° Geral / 2º Escalão Msen;

 

Bruno Lopes 41:40 min

20° Geral 6°Escalão M40

 

Marco Vieira 42:42 min

22° Geral 13°Escalão Msen.

 

João Leitão 42:54 min

34° Geral 5° Escalão M50

 

José Lopes 45:14 min

50° Geral 25°Escalão Msen;

 

Feliciano Silva 45:36 min

53° Geral 26° Escalão Msen;

 

Vitor Freitas 47:56 min

73°Geral 34° Escalão Msen.

 

Filipe Sousa 49:46 min

98° Geral / 3ºEscalão M50

 

Pascal Leiras 52:30 min

130° Geral 53°Escalão Msen.

 

João Sousa 1h03 min

224°Geral 9° Escalão Msen.

[email protected]

Carregar mais

Jornal O Desportivo

<?php
function fetch_rss_cached($url, $cache_seconds = 600) {
    $key = 'rss_cache_' . md5($url);

    $cached = get_transient($key);
    if ($cached !== false) {
        return simplexml_load_string($cached);
    }

    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($ch, CURLOPT_USERAGENT, 'WP RSS Fetcher');

    $data = curl_exec($ch);
    curl_close($ch);

    if (!$data) return null;

    set_transient($key, $data, $cache_seconds);
    return simplexml_load_string($data);
}

function time_ago($datetime) {
    $time = strtotime($datetime);
    $diff = time() - $time;

    if ($diff < 60) return $diff . ' segundos atrás';
    if ($diff < 3600) return floor($diff / 60) . ' minutos atrás';
    if ($diff < 86400) return floor($diff / 3600) . ' horas atrás';
    if ($diff < 604800) return floor($diff / 86400) . ' dias atrás';
    return date('d/m/Y H:i', $time);
}

$rss = fetch_rss_cached('https://www.desportivovaledohomem.pt/category/destaque/feed/', 600);
if (!$rss || empty($rss->channel->item)) {
    echo '<!-- RSS vazio ou erro -->';
    return;
}

$items = $rss->channel->item;
$count = 0;

echo '<div class="rss-posts">';

foreach ($items as $item) {
    if ($count >= 5) break;

    $title = (string) $item->title;
    $link = (string) $item->link;
    $pubDate = (string) $item->pubDate;
    $timeAgo = time_ago($pubDate);

    $categoryText = isset($item->category[0]) ? (string) $item->category[0] : '';

    echo '<div class="rss-post">';
    echo '<p class="rss-meta">' . esc_html($timeAgo) . ' - ' . esc_html($categoryText) . '</p>';
    echo '<h3 class="rss-title"><a href="' . esc_url($link) . '" target="_blank" rel="noopener">' . esc_html($title) . '</a></h3>';
    echo '</div>';

    $count++;
}

echo '</div>';
?>
.rss-posts {
    font-family: "MYRIAD PRO";
    font-weight: 400;
}

.rss-post {
    padding: 10px 0;
    border-bottom: 1px solid #8E8E8D;
}

.rss-meta {
    color: #828282;
    font-size: 11px;
    margin-bottom: 0px;
    font-weight: 600;
}

.rss-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.rss-title a {
    text-decoration: none;
    color: #363636;
    font-family: "Myriad Pro";
    font-weight: 400;
    font-size: 17px;
}

.rss-post:last-child {
    border: none;
}
Ver mais

Últimas Notícias

Ver mais