fluentdom/loader-contentlines

vCard/iCalendar loaders for FluentDOM

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

This package is auto-updated.

Last update: 2024-12-08 22:52:25 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