mirror of https://git.sr.ht/~oppen/ariane
dates, or no dates?
This commit is contained in:
parent
26954a8a5d
commit
d91b306ad9
20
README.md
20
README.md
|
@ -32,15 +32,31 @@ There's a lot of good 'Gemlog' content in Geminispace but no easy way to follow
|
|||
* A series of links that include a date (where a gemlog links to other pages) OR:
|
||||
* A series of dates in the page (more difficult to get right, but some microblogs are just a series of entries separated by dates)
|
||||
|
||||
### Specification
|
||||
### Specification A
|
||||
|
||||
To guarantee an option to follow content: first header (any of the 3 sizes) in a page includes the words: `gemlog`, `feed`, `log`, `blog`, `μlog` AND links on adjacent lines that include dates in the link title.
|
||||
|
||||
Date formats:
|
||||
* `yyyy-mm-dd` ISO 8601
|
||||
* `dd-mm-yyyy` Reverse ISO 8601
|
||||
* Either of above with other common delimiters, eg. _01/05/2020_
|
||||
|
||||
Example:
|
||||
```
|
||||
# My Gemlog
|
||||
|
||||
=> /more dd/mm/yyyy optional
|
||||
=> /another dd/mm/yyyy
|
||||
=> /first dd/mm/yyyy hello, World!
|
||||
|
||||
```
|
||||
|
||||
### Questions/Notes
|
||||
* American 'freedom' date format `mm/dd/yyyy` should be rejected if possible (what were they thinking?)
|
||||
* Two digit years should be ignored: `dd/mm/yy` - no way to safely infer date
|
||||
* Other date formats? I've seen `dd-MMM-yy`, `ddMMMyy`, `yyyy-mm-dd`
|
||||
* Some gemlogs have no dates at all
|
||||
|
||||
### Specification B
|
||||
|
||||
Ignore all of the above - just look for a change in the first link on a page. Include menu option to follow _any_ page and store the first link...
|
||||
|
||||
|
|
Loading…
Reference in New Issue