Daniel James
40688e1552
Update links for https
...
Mostly in comments. Might be better to use relative links from html.
2018-04-13 09:14:48 +01:00
Daniel James
b8120cc53c
Adjust a lot of the error handling.
...
Use exceptions for most internal errors. Return error codes for most errors.
2016-09-29 02:08:52 +01:00
Daniel James
1d3968a616
Use DateTime for timestamps.
...
Preserves timezone.
2016-07-21 16:05:35 +01:00
Daniel James
24d2df3697
Only set last_modified when really modified.
...
Was setting it in the parser, so it would be set on refereshes as well
as when the file was modified.
2016-07-21 16:05:34 +01:00
Daniel James
6892abb9fd
Rework last_modified and pub_date.
...
- Both are now stored as strings.
- Unpublished articles have a null pub_date.
- last_modified is now always the last modified date,
before it was the pub_date once published.
2016-07-21 16:05:34 +01:00
Daniel James
f9034e55a7
Remove dependencies on DOMDocument.
2016-06-02 09:04:44 +01:00
Daniel James
f730bb37e1
Use release data.
2016-05-29 19:50:18 +01:00
Daniel James
a50a35a442
Can only use DOMNodeList as an array in lastest PHP versions.
2015-12-29 14:21:26 +00:00
Daniel James
29e597e5b1
Port python code to php
...
Having the site in two different languages is a bit of a pain, so
convert everything to PHP.
2015-12-19 14:30:46 +00:00