Microformats Helpers
| author | Barnaby Walters |
|---|
findHCards(array $µfs) : array
array
arrayfindHEntries(array $µf) : array
array
arrayinlineHCard(array $hcard) : string
array
stringnormaliseHEntryDates(array $items) : array
Given an array of h-entries, iterate through them an try to fill in any blank published dates.
If there’s an updated date but no published date, the updated date is used for the published date. If there is neither a published or an updated date but there was one for a previous item, the datetime 1 second after the publised datetime of the previous item is applied.
arrayAn array of h-entry microformat array structures
array