?> <entry> <title>[<?php echo $fullLabelDay; ?> ] <?php echo htmlspecialchars($event['summary'], ENT_QUOTES, 'UTF-8'); ?> </title> <link href="<?php echo $baseUrl . '/' . text2AlphaNum($event['summary']) . '/' . $event['id']; ?> " rel='alternate' type='text/html'/> <id><?php echo $baseUrl . '/' . text2AlphaNum($event['summary']) . '/' . $event['id']; ?> </id> <published><?php echo $eventStartTimeRSSFormatted; ?> </published> <updated><?php echo $eventUpdateTimeRSSFormatted; ?> </updated> <content type="html"> <?php echo htmlspecialchars($content, ENT_QUOTES, 'UTF-8'); ?> <br/> <br/>
</head> <body> <div itemscope itemtype="http://schema.org/Event"> <h1 itemprop="name"><?php echo utf8_decode($obj['summary']); ?> </h1> <meta itemprop="image" content="<?php echo $img; ?> "> <link itemprop="url" href="http://<?php echo $_SERVER['SERVER_NAME'] . '/' . text2AlphaNum($obj['summary']) . '/' . $obj['id']; ?> " /> <meta itemprop="startDate" content=" <?php echo $obj['start']['dateTime']; ?> "> <meta itemprop="endDate" content="<?php echo $obj['end']['dateTime']; ?> "> <p> <?php echo $obj['description'];
@$doc->loadHTML($event['description']); $tags = $doc->getElementsByTagName('img'); foreach ($tags as $tag) { $img = $tag->getAttribute('src'); break; // only the first image } ?> <li> <a href="/<?php echo text2AlphaNum($event['summary']) . '/' . $event['id']; ?> " itemscope itemtype="http://schema.org/Event"> <link itemprop="url" href="/<?php echo text2AlphaNum($event['summary']) . '/' . $event['id']; ?> " /> <span itemprop="name"><?php echo utf8_decode($event['summary']); ?> </span> <meta itemprop="image" content="<?php echo $img; ?> "> <span itemprop="location" itemscope itemtype="http://schema.org/Place">