WeAreDotnet / dotnet-creator-cards

This repository feeds the creator list at WeAreDotnet. It is also used to track issues and suggestions
https://www.wearedotnet.io
MIT License
164 stars 195 forks source link

[Bug] Changed Date Format - Feed not updating #169

Closed nor0x closed 1 year ago

nor0x commented 1 year ago

Describe the bug Hi all 👋 i'm following up from a discord thread (https://discord.com/channels/1077618323325460572/1097436942339162174/1101264672201650249) i think here is the better place to discuss this specific issue. It seems that my feed https://www.wearedotnet.io/nor0x is not updating correctly - i have made various changes to the generation of my atom.xml feed to be sure to have the correct date format, as suggested by @DeeJayTC image

this is the date format i currently have in my feed:

2022-08-22T15:52:02Z

unfortunately the feed on my creator profile is not updating and still showing that the posts are from year 0001 -> 122 years ago image

here is a sample entry data from my feed (https://johnnys.news/atom.xml)

<!-- sample data from https://johnnys.news/atom.xml -->
<entry>
<id>https://johnnys.news/2022/08/say-hello-to-Maui-ColorPicker/</id>
<updated>2022-08-22T15:52:02Z</updated>
<published>2022-08-22T15:52:02Z</published>
<title>say hello to Maui.ColorPicker</title>
<link rel="alternate" href="https://johnnys.news/2022/08/say-hello-to-Maui-ColorPicker/"/>
<content type="html">

would really appreciate a helping hand here, is there anything i need to modify in my feed template?

Thank you!

DeeJayTC commented 1 year ago

Can you put your feed in here and send me the result?

https://validator.w3.org/feed/

DeeJayTC commented 1 year ago

Nevermind i can do that myself lol....

DeeJayTC commented 1 year ago

You can check it yourself @nor0x , the validation fails for various reasons. Also its prolly to large as you have what looks like full website content in there.

nor0x commented 1 year ago

thanks a lot @DeeJayTC - i will work my way through the issues from the validator! Once i publish my updated feed, will it appear automatically on https://www.wearedotnet.io/nor0x ?

DeeJayTC commented 1 year ago

no, i have to clean it before i think to make sure it re-indexes everything properly. As it has stuff indexed now but with wrong dates. If the validator says its fine it should be fine for us as well

nor0x commented 1 year ago

alright, i think we are good to go then @DeeJayTC

image

fingers crossed 🤞

DeeJayTC commented 1 year ago

I'll try it in like 30 min

nor0x commented 1 year ago

awesome, thanks a ton!

DeeJayTC commented 1 year ago

image when cache is expiring next time it should pick it up, or within the next cycle which is in ~30 min (we update feeds every hour on the hour)

DeeJayTC commented 1 year ago

@nor0x i can see locally and in DB that its fine and updated, should be reflected on the page soon

nor0x commented 1 year ago

works great! thank you very much @DeeJayTC