fluentdom/loader-contentlines

vCard/iCalendar loaders for FluentDOM

dev-master 2017-07-30 18:25 UTC

This package is auto-updated.

Last update: 2024-10-08 22:26:04 UTC


README

This package adds additional loaders to FluentDOM (>= 5.2).

iCalendar

<?php
$dom = FluentDOM::load(__DIR__.'/example.ical', 'text/calendar');
$dom->registerNamespace('xcal', 'urn:ietf:params:xml:ns:icalendar-2.0');
echo $dom('string(//xcal:vevent//xcal:summary)');

VCard