J. King
a470491fb8
Test relative URL resolution
4 years ago
J. King
dd73e335ca
Enclosure tests
4 years ago
J. King
befaa2f3e4
More tests
4 years ago
J. King
666f8957ed
Remove ambiguous date formats and add many others
Dates have also been re-ordered with preferred formats first
4 years ago
J. King
af067b281f
Banner, summary, content, and category tests
4 years ago
J. King
de28c3faa3
Test fix-up
4 years ago
J. King
43a99dbfcd
Properly implement media type detection
4 years ago
J. King
3fa7141a12
Cleanup
4 years ago
J. King
a5433f6539
Use structured URLs throughout
4 years ago
J. King
0f4d851c6a
Initial URL tests and fixes
4 years ago
J. King
e88e71378c
Stub methods
4 years ago
J. King
31822ed23a
Prototype URL class
4 years ago
J. King
635a88540e
Various changes
- Preliminary work on enclosures
- Feed and entry language
- Better API docs
- Class constant visibility
4 years ago
J. King
8ed72580b1
Add expiry
4 years ago
J. King
77665b25ce
Minor corrections
4 years ago
J. King
69187e4392
Handle non-string entry IDs
4 years ago
J. King
14a190079c
Rename test set to more appropriate name
4 years ago
J. King
e16492d7f7
Per 1.1 spec JSON Feed will remain compatible
4 years ago
J. King
7b140572a6
Minor corrections
4 years ago
J. King
a81d84dedd
Add people to JSON Feed output
4 years ago
J. King
d1504842d0
Rename type property to format; add image stuff
4 years ago
J. King
8bed4c3554
Add references to more specifications
4 years ago
J. King
8081f19747
More JSON Feed functionality
4 years ago
J. King
69ceee0b39
Make first battery of tests pass
4 years ago
J. King
286cfe5b30
First set of tests
4 years ago
J. King
378e924541
Initial API redesign
Lots of things are probably (still) broken
4 years ago
J. King
fcd083f77a
Some doc-strings for the sanitizer
6 years ago
J. King
3b233adf29
Handle more obscore HTML features intelligently
6 years ago
J. King
d6d9c42af2
Preliminary work on attribute sanitization
6 years ago
J. King
ffe2f2adef
Simplify element sanitizing
This method simply loops through every single element and deletes it where appropriate. For now an XPath query is still used to iterating through elements straightforward; this may change later.
This should simplify handling XHTML (where arbitrary namespaces can be involved), and will ensure that every single element in the document is handled consistently.
There do, however, remain some cases that are not handled intelligently, such as if the root element is not in the keep list.
6 years ago
J. King
8c4a655b79
Delete and strip elements in the sanitizer
6 years ago
J. King
873a587b1e
First pass at HTML sanitizer whitelists and blacklists
6 years ago
J. King
5d077bc5af
Add related article URLs for Atom and JSON
6 years ago
J. King
c821403e28
Add entry links
6 years ago
J. King
f04681d278
Add creation dates (only for Atom and JSON Feed)
6 years ago
J. King
90844bdeea
More entry work
- Added entry titles (trivial)
- Added entry modification dates (also pretty trivial)
- Clean up of copy-paste hack-jobs.
6 years ago
J. King
ed098c457e
Initial work on XML entries
6 years ago
J. King
2faaa0cdd7
Ensure contributors are never used as primaries
6 years ago
J. King
c8b7944275
Re-organize people-fetching as four separate possible primitives, one for each role
6 years ago
J. King
4f79d431d2
First stab at entries, starting with JSON Feed.
6 years ago
J. King
730aff8489
Cleanup
6 years ago
J. King
610dc972e1
Add license
6 years ago
J. King
f96db9ce99
Delete zombie file
6 years ago
J. King
1a990116a5
Output of getCategories() should be a CategoryCollection
6 years ago
J. King
0660dbac2a
Reformulate categories as a collection; clean up collection filtering
6 years ago
J. King
f51bf38d1a
Make input date formats user-editable, and implicitly never default to current-time date-parts (especially microseconds in PHP 7.1).
6 years ago
J. King
38285f862a
Make collections serialize correctly to JSON; add helper Date class
The new Date class, which extends DateTimeImmutable, has both __toString() and jsonSerialize() methods which return unambiguously formatted strings.
6 years ago
J. King
3c1d9c76ef
Simplify XPath queries
6 years ago
J. King
1669c562ed
Add feed modification dates
6 years ago
J. King
0cec5a3132
Add canonical feed URLs
6 years ago