<!DOCTYPE html>
<html lang="cs-CZ">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<title>Ical Parser example</title>

	<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>
<div class="container">
	<h1>Czech holidays</h1>

	<ul>
		<?php
		require_once '../vendor/autoload.php';
		$cal = new \om\IcalParser();
		$results = $cal->parseFile(
			'https://www.google.com/calendar/ical/cs.czech%23holiday%40group.v.calendar.google.com/public/basic.ics'
		);

		foreach ($cal->getSortedEvents() as $r) {
			echo sprintf('	<li>%s - %s</li>' . PHP_EOL, $r['DTSTART']->format('j.n.Y'), $r['SUMMARY']);
		}

		?></ul>
</div>
</body>
</html>
<!DOCTYPE html>
<html lang="cs-CZ">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<title>Ical Parser example</title>

	<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>
<div class="container">
	<h1>Czech holidays</h1>

	<ul>
		<?php
		require_once __DIR__ . '/../vendor/autoload.php';
		$cal = new \om\IcalParser();
		$results = $cal->parseFile(
			'https://www.google.com/calendar/ical/cs.czech%23holiday%40group.v.calendar.google.com/public/basic.ics'
		);

		foreach ($cal->getSortedEvents() as $r) {
			echo sprintf('	<li>%s - %s</li>' . PHP_EOL, $r['DTSTART']->format('j.n.Y'), $r['SUMMARY']);
		}

		?></ul>
</div>
</body>
</html>
Fix autoload path in example
Fix autoload path in example