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

Create a feed of every Alaveteli's blog content #7464

Open
garethrees opened this issue Dec 13, 2022 · 0 comments
Open

Create a feed of every Alaveteli's blog content #7464

garethrees opened this issue Dec 13, 2022 · 0 comments

Comments

@garethrees
Copy link
Member

garethrees commented Dec 13, 2022

Many Alaveteli installs have a BLOG_FEED configured, but that's only rendered on the individual Alaveteli.

A huge benefit to running Alaveteli is being part of a network of ATI activists, so it would be great to have a better understanding of what's going on in the wider network.

Creating an aggregated feed

We already maintain a list of known Alaveteli deployments.

While it's a bit of extra manual work, we could add a blog_feed key/value pair for each Alaveteli.

Then, create a script to fetch each feed URL and combine all the posts into a single feed, and run this script periodically (nightly is probably frequent enough) via GitHub actions. Generating it as a static file would be fine.

The combined feed would only need a few values:

  • Post title
  • Post URL
  • Alaveteli sitename (maybe)
  • Country

Enhancement – translations

Many of the sites will write in their native language. It would be great to use a free translation API to translate the post title into English, as that's the language we use for the admin UI of Alaveteli. Users can then use built-in browser translation tools if they click through to the post.

Public Presentation

The key part of this is getting the aggregated feed available as an RSS endpoint. It would also be nice to display it publicly. It might be possible to programmatically import them into the TICTeC COP Page. If that's not easy, we could hack together a quick page on alaveteli.org.

@garethrees garethrees changed the title Create a feed of every Alaveteli's blog content Create a feed of every Alaveteli's blog content and import it into Alaveteli Dec 13, 2022
@garethrees garethrees added this to the ATI Network: Blog Feeds milestone Jul 10, 2024
@garethrees garethrees changed the title Create a feed of every Alaveteli's blog content and import it into Alaveteli Create a feed of every Alaveteli's blog content Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant