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

On planet: link to blog itself #1529

Open
pitag-ha opened this issue Apr 15, 2021 · 5 comments · May be fixed by #1560
Open

On planet: link to blog itself #1529

pitag-ha opened this issue Apr 15, 2021 · 5 comments · May be fixed by #1560
Labels
medium More Complex Issues for Outreachy

Comments

@pitag-ha
Copy link
Member

On the right of the planet page (Home -> Community -> OCaml Planet) we list the blogs that are signed up:
Screenshot from 2021-04-15 15-55-24

Clicking on one of them opens the rss (e.g. https://medium.com/feed/ahrefs/tagged/ocaml) rather than the blog itself (e.g. https://tech.ahrefs.com/tagged/ocaml). I suggest adding a link to the blog itself. For example, by adding a link icon next to each blog.
Screenshot from 2021-04-15 16-00-40

Why

It's common that you want to check out a blog when you come across it.

How

This issue consists in 2 steps:

  • for eacth blog, add the blog url to the planet metadata. Note that you can usually find the blog url in the link tag of the feed
  • implement the issue ;)
@patricoferris patricoferris added the medium More Complex Issues for Outreachy label Apr 15, 2021
@guptadiksha307
Copy link
Contributor

@pitag-ha I would like to work on this issue :)

@pitag-ha
Copy link
Member Author

@guptadiksha307 , sure, you can go ahead :)

@pitag-ha
Copy link
Member Author

@guptadiksha307, let me answer here your question about which file needs to be modified:

I would modify planet_feeds.txt as you've already done, but adding the blog URl instead of replacing the feed URL by it. So at the moment, the first line could look something like:

Andrej Bauer|http://math.andrej.com/feed.xml|http://math.andrej.com/

You will need to find where and how that file is parsed and how the html of the Planet page is generated and modify both according to this issue.

Notice that there's another isssue improving the planet_feeds.txt format. So one of you might need to rebase and adapt to the other one later.

@guptadiksha307
Copy link
Contributor

Thank you @pitag-ha for the explanation :) It's much clearer now.

@guptadiksha307 guptadiksha307 linked a pull request Apr 25, 2021 that will close this issue
4 tasks
@guptadiksha307
Copy link
Contributor

@pitag-ha kindly review the PR :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium More Complex Issues for Outreachy
Projects
None yet
3 participants