kagisearch / smallweb

Kagi Small Web
https://kagi.com/smallweb
MIT License
481 stars 246 forks source link

Reject posts without post date #224

Closed OlegWock closed 6 months ago

OlegWock commented 6 months ago

There is this feed: https://franklin.dyer.me/rss/en Some posts in it have time in <published>, but don't have date. Kagi parser in such cases seem to use today's date, which makes those posts appear in feed every day.

        <entry>
            <title type="html">The Summer Language Institute</title>
            <link href="https://franklin.dyer.me/post/121">
            <published>T00:00:00-05:00</published>
        </entry>
        <entry>
            <title type="html">Other blogs</title>
            <link href="https://franklin.dyer.me/post/216">
            <published>T00:00:00-05:00</published>
        </entry>
        <entry>
            <title type="html">Contact me</title>
            <link href="https://franklin.dyer.me/post/2">
            <published>T00:00:00-05:00</published>
        </entry>
        <entry>
            <title type="html">CV</title>
            <link href="https://franklin.dyer.me/post/1">
            <published>T00:00:00-05:00</published>
        </entry>
        <entry>
            <title type="html">None</title>
            <link href="https://franklin.dyer.me/post/None">
            <published>T00:00:00-05:00</published>
        </entry>
vprelovac commented 6 months ago

Good call thanks