Add stylesheet in a clean way #13

Merged
jjkiers merged 5 commits from contribute-stylesheet into master 2022-12-27 22:09:03 +00:00
Owner

This was contributed in https://github.com/rust-syndication/atom/pull/68.

Closes #12.

This was contributed in https://github.com/rust-syndication/atom/pull/68. Closes #12.
jjkiers added 1 commit 2022-12-13 20:04:36 +00:00
Use feed::set_stylesheet instead of hack
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
34d301590e
This was contributed in https://github.com/rust-syndication/atom/pull/68.

Closes #12.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
Author
Owner

Just waiting until the contributed PR is accepted (or rejected).

Just waiting until the contributed PR is accepted (or rejected).
jjkiers added 3 commits 2022-12-14 14:49:02 +00:00
Instead of hardcoding the feed file name to be feed.atom, it has been
configurable for a while. This is now also reflected in the feed itself.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
Useful tool, that clippy...

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
Update changelog
Some checks are pending
continuous-integration/drone/push Build is running
continuous-integration/drone/pr Build is running
ec6034cee7
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
jjkiers added 1 commit 2022-12-14 15:00:05 +00:00
Truncate the feed file before writing
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
e4ac6c9657
Otherwise, the feed may be overwritten, but if it is shorter, it may
contain some leftover data from a previous run. In that case, the file
will be invalid XML, thereby failing to be parsed.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
jjkiers force-pushed contribute-stylesheet from e4ac6c9657 to 86f3430993 2022-12-16 18:35:35 +00:00 Compare
jjkiers added the maintenance label 2022-12-27 19:46:03 +00:00
jjkiers force-pushed contribute-stylesheet from 86f3430993 to 4069d8ac31 2022-12-27 22:01:05 +00:00 Compare
jjkiers changed title from Use feed::set_stylesheet instead of hack to Add stylesheet in a clean way 2022-12-27 22:03:49 +00:00
Author
Owner

Updated based on https://github.com/rust-syndication/atom/pull/70, rebased and cleaned up.

Updated based on https://github.com/rust-syndication/atom/pull/70, rebased and cleaned up.
jjkiers merged commit 4069d8ac31 into master 2022-12-27 22:09:03 +00:00
jjkiers deleted branch contribute-stylesheet 2022-12-27 22:09:03 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: newsletter-to-web/newsletter-to-web#13