Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate an atom feed #3

Merged
merged 2 commits into from
Jun 13, 2024
Merged

generate an atom feed #3

merged 2 commits into from
Jun 13, 2024

Conversation

PhilTaken
Copy link
Contributor

Building the email now also generates an atom feed. This does however require adding a date to all issues. For existing issues I determined the publishing date from the git history.

I tested the generated feed with my home-cooked feed reader so it would be best if you test it again before merging.

@CrowdHailer
Copy link
Owner

Hi thanks for this. I think I messed up the commits so the dates are probably not correct from there. I have managed to send on every thursday since starting so that's the correct dates. Maybe it doesn't matter so much them being correct into the past.

Would you mind looking into testing with a standard reader and/or finding some online validation tools. I don't use RSS so it'd be good to have a bit more testing

@PhilTaken
Copy link
Contributor Author

Good point, proper validation is key.

Unfortunately, the w3 validator had a few complaints which required a PR to xmleam: tovedetered/xmleam#2

I hope this can be fixed soon :/

in accordance with the official spec https://validator.w3.org/

- use correct date format
- add a type for contained html
- use hrefs for links
- add a self-type link
@PhilTaken PhilTaken changed the title gener generate an atom feed Jun 4, 2024
@PhilTaken
Copy link
Contributor Author

PhilTaken commented Jun 4, 2024

n.b. I used https://validator.w3.org/feed/#validate_by_input to validate the generated xml

@CrowdHailer
Copy link
Owner

Great thank you. I will try and get to this this weekend

@CrowdHailer CrowdHailer merged commit d6a2925 into CrowdHailer:master Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants