Commit 68eef24
authored
Force published field (#147)
* Force published field
When an atom item only have updated field, use it to fill published.
- Less function is using published field, it has to always been
populated.
- Simplify code when using both RSS and Atom feeds.
This fix #146
* Rename updated to published
following @Necoro comment1 parent 1850ec1 commit 68eef24
File tree
2 files changed
+15
-5
lines changed- testdata/translator/atom
2 files changed
+15
-5
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
647 | | - | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
648 | 652 | | |
649 | 653 | | |
650 | | - | |
651 | | - | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
652 | 660 | | |
653 | 661 | | |
654 | 662 | | |
| |||
0 commit comments