site-web-le-plus-beau-des-v.../index.php

49 lines
1.7 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
<html lang="fr">
<head>
<!-- favicons -->
<link rel="apple-touch-icon" sizes="180x180"
href="assets/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32"
href="assets/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16"
href="assets/favicons/favicon-16x16.png">
<link rel="manifest" href="assets/favicons/site.webmanifest">
<link rel="mask-icon"
href="assets/favicons/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<link rel="favicon" type="ico" href="assets/favicons/favicon.ico">
<!-- head data -->
<title>Le plus beau des voyages</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="scss/styles.css" />
2024-05-01 16:42:21 +02:00
<?php
require_once "podcast.php";
use Podcast;
$podcast = new Podcast(
"https://feeds.acast.com/public/shows/le-plus-beau-des-voyages"
);
?>
</head>
<body>
<div class="Title">
<h1><?php echo $podcast->title ?></h1>
<p>Animé par Pauline</p>
</div>
<p class="Podcast-desc">
<?php echo $podcast->description ?>
</p>
<hr>
<!-- Last episode -->
<div class="Last-episode">
<h2>Le dernier épisode :</h2>
<h3 class="Last-episode-title"><?php echo $podcast->latestEpTitle ?></h3>
<?php echo $podcast->latestEpPublicationDate ?>
<audio controls=true <?php echo $podcast->latestEpAudioData ?>></audio>
<p class="Last-episode-desc"><?php echo $podcast->latestEpDescription ?></p>
</div>
</body>
</html>