Commit graph

60 commits

Author SHA1 Message Date
8e05089259 Fix logic errors in VCP 2023-06-21 16:13:08 -04:00
682dcf576b Collapse child into e- properly 2023-06-21 10:01:36 -04:00
65bbf61579 Implement textContent parsing properly 2023-06-20 21:20:26 -04:00
650d1c7e98 Partial implementation of thorough trimming 2023-06-20 18:58:54 -04:00
50976298c8 Partially revert earlier changes
These broke standard tests. The whitespace collapsing needs to be
re-evaluated entirely.
2023-06-20 13:04:15 -04:00
3b34c3e5fa Partial fix for mixed-root test 2023-06-19 17:51:10 -04:00
1000727649 Make backcompat location match other libs 2023-06-19 17:38:42 -04:00
d7f7cb9586 Bug fixes
- Tag relation
- Inner whitespace of cleaned text
- Deferred properties
2023-06-19 17:05:05 -04:00
4eee308b22 Add special backcompat case for u-properties 2023-06-18 20:53:05 -04:00
da1c8074e2 Remove unneeded container handling 2023-06-18 19:16:14 -04:00
8f8bf4a80c Sort out reviews
Special handling of items will later go away
2023-06-18 17:32:11 -04:00
967e0ecace Add average to h-review backcompat 2023-06-18 15:12:40 -04:00
b467e82c32 Sort out h-card backcompat 2023-06-18 14:53:50 -04:00
3c0433547d Add attendee to h-event backcompat 2023-06-18 14:28:29 -04:00
f300cbae5a Allow lowercase z as time zone designator 2023-06-18 14:16:47 -04:00
cbe54dc1c5 Expand h-feed v1 support per test 2023-06-18 14:09:11 -04:00
3c4d950e6d Add support for hnews backcompat
This is best-effort only as equivalents are not documented
2023-06-18 13:49:56 -04:00
7a61f8a7db Handle prop filtering better for the common case 2023-06-18 13:25:40 -04:00
ad7e7a327a Avoid duplicate properties 2023-06-18 11:42:03 -04:00
3af53ccd79 Fix another date bug 2023-06-18 11:06:48 -04:00
a2fdfbe5d3 Make implied time zone configurable, default false 2023-06-18 10:58:12 -04:00
cc944bd8a9 Fix date parsing 2023-06-18 10:43:41 -04:00
19c66b1b92 Fix VCP error 2023-06-18 07:46:12 -04:00
09473bd115 Exclude templates from implied property querying 2023-06-17 21:20:41 -04:00
ff4ccff3a8 Still more fixes 2023-06-17 21:07:38 -04:00
c5188aa0de Yet more fixes 2023-06-17 18:48:14 -04:00
a19d88051a Partial fix for failing test 2023-06-17 16:04:23 -04:00
527cd47bf8 More fixes 2023-06-17 15:01:13 -04:00
3e2c8cc431 Bug fixes 2023-06-17 14:35:38 -04:00
822f6d92a8 Pass first test 2023-06-17 14:30:45 -04:00
02b655f5f6 Style fixes 2023-06-17 10:25:30 -04:00
e97d73a41d Fix copy-paste errors 2023-06-17 10:16:27 -04:00
db851a0111 Finish implied property parsing
This completed the prototype parser implementation
2023-06-17 10:12:22 -04:00
0a4653bc71 Start on implied properties 2023-06-16 22:47:34 -04:00
f7cccb726b Bug fixes 2023-06-16 21:24:27 -04:00
a65f5fd8c7 Fix tree walker (hopefully) 2023-06-16 18:56:47 -04:00
1fc1907336 Handle child microformats 2023-06-16 18:35:27 -04:00
15ee5e0481 Handle rel microformats 2023-06-16 17:52:52 -04:00
9a4f802c27 Normalize URLs and insert deferred properties 2023-06-16 15:56:04 -04:00
e3743b06c8 Use Url parser from Lax for now 2023-06-16 14:58:09 -04:00
23fc675dd5 Finish date parsing 2023-06-16 11:36:16 -04:00
f763d177d7 Simplify data returned in date parsing 2023-06-15 23:22:33 -04:00
c9fe240386 Make date pattern matching strictly combinatorial 2023-06-14 21:35:19 -04:00
f427f1345b Add meat of date parsing 2023-06-14 19:43:42 -04:00
2764e04d05 Value-class processing other than dates 2023-06-14 16:17:40 -04:00
158b26f9c0 Sort out backcompat edge cases 2023-06-14 13:27:49 -04:00
3c5aa0ae85 Add stubs of missing functions 2023-06-12 17:30:13 -04:00
33bd592645 Finish high-level property parsing
Still to come:
- Implied property parsing
- Value class pattern
- Peculiar backcompat properties
- URL normalization in general
- URL normalization in e- properties
2023-06-12 09:06:32 -04:00
8b9d703a0a Yet more property parsing 2023-06-11 22:34:03 -04:00
83b862d126 More property parsing 2023-06-11 20:16:34 -04:00