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

Link to latest issue? #5544

Open
senekor opened this issue May 23, 2024 · 4 comments
Open

Link to latest issue? #5544

senekor opened this issue May 23, 2024 · 4 comments

Comments

@senekor
Copy link

senekor commented May 23, 2024

Hi, quick question. We're considering to link to TWiR's events section from the website www.rust-lang.org. Is it possible to link to the latest issue of TWiR? e.g. something like this-week-in-rust.org/blog/latest/#upcoming-events

This is not a feature request, I'm just wondering if it's already possible and I don't know about it. Thanks!

@nellshamrell
Copy link
Contributor

There is not a way that I know of off the top of my head - though I would be very open to this if someone is able to add this feature.

@senekor
Copy link
Author

senekor commented May 27, 2024

I played around a little bit with the repo and couldn't find a satisfying solution. There is the pelican-redirect plugin but it doesn't fit our use case. All I can come up with is writing a custom pelican plugin and adding a script outside the normal pelican build process. Both ideas aren't worth the maintenance burden in my view. I don't plan on pursuing this any further.

@bennyvasquez
Copy link
Contributor

This would still require some dev outside TWiR, but maybe you could grab the URL from the RSS feed since we know the format of the URL will always be the same?

eg: https://this-week-in-rust.org/blog/2024/05/22/this-week-in-rust-548/#upcoming-events

@mariannegoldin do you have any other ideas to potentially see this happen?

@mariannegoldin
Copy link
Contributor

Looking into this. I think there is a way to do this in the pelican templating.

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

No branches or pull requests

4 participants