aaronpk / Monocle

Monocle is a reader app that talks to a Microsub server
https://monocle.p3k.io
MIT License
49 stars 8 forks source link

dt-published class present but time tag formatted wrong prevents u-url from displaying. #60

Open kupietools opened 2 weeks ago

kupietools commented 2 weeks ago

In addition to a u-url class on the <a href> tags, I had dates like this: <span class="updateddate dt-published">Updated October 3, 2024</span> This obviously wasn't parsed at all, so the date wasn't displayed in the feed output. But because it found the dt-published class, it didn't include the u-url line.

My suggestion would be that the u-url line is displayed if the dt-published date isn't parsed correctly and therefore isn't shown, not if it simply sees something with a dt-published class.

As a matter of personal preference, I feel that if the URL isn't explicitly shown in the feed output, it should by the title that links to the article, not the date, anyway. I assume there's a reason it's being done the way it is, but that's my 2¢ as someone new to this.