You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this applies to all properties, as I'm just testing out the library, but I can not access a startDate property of an event microdata type.
Reproducable as:
$url = 'http://www.residentadvisor.net/events.aspx?ai=174'; // just some random event site
$parser = new \Jkphl\Micrometa($url);
$item = $parser->item('http://data-vocabulary.org/Event');
print_r($item);
var_dump($item->startDate);
thanks for your report! I'm currently on holiday and will be back to my office around end of May. I'll test things then and get back to you. Thanks for your patience!
you were right: That line was simply wrong / obsolete, as the microformats2 processing (for which the decamelization was intended) already uses it's own implementation. Deleting the line fixes the issue, I published a new release. Thanks again for reporting!
Hi
Not sure if this applies to all properties, as I'm just testing out the library, but I can not access a
startDate
property of an event microdata type.Reproducable as:
Outputs:
In
Jkphl\Micrometa\Item::__get
any uppercase characters are exchanged as follows:If I remove the responsible line, it works just fine.
Is the property stored correctly as
startDate
or is it intended to be stored asstart-date
?Edit: as for the versions I'm using:
The text was updated successfully, but these errors were encountered: