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 matrix bot FAQ #5667

Merged
merged 4 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions topics/community/faqs/matrix_news_bot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: How do I add a news feed to a Matrix channel?
box_type: tip
layout: faq
contributors: [nomadscientist, hexylena]
---

1. You must be an *Admin* in the channel. Find this out by going to the channel and selecting **Room info** --> **People**, or clicking on the little circle images of people in a channel. Admins can make other admins.

2. Go to **Room info** --> **Extensions** --> **Add extension** --> **Feeds**

3. Under *Subscribe to a feed*, add a URL from this [GTN feeds listing]({% link feeds/index.md %}). Make sure that it ends in `.xml`. For example, `https://training.galaxyproject.org/training-material/topics/community/feed.xml` would provide updates on any community-tagged GTN materials into the Matrix channel.

4. Under *Template*, change the existing text to the following: `$LINK: $SUMMARY`

5. Provide a reasonable name, and then hit **Subscribe**!

Details from Matrix are here: https://ems-docs.element.io/books/element-cloud-documentation/page/migrate-to-the-new-github-and-feeds-bots
6 changes: 4 additions & 2 deletions topics/community/tutorials/community_content/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,14 @@ You can also embed news into your pages, subdomains/ Galaxy Labs, or even your M
Follow this documentation to learn how:

1. [GTN Feeds]( {% link feeds/index.md %} )
2. [Bot integration into matrix]( {% link news/2023/12/20/matrix-bots.md %} )
2. Bot integration into matrix

{% snippet topics/community/faqs/matrix_news_bot.md %}

You can see an example from the Single-cell topic below.

<h3 class="mb-3">News and Events</h3>
<iframe width="100%" height="600px" src="/training-material/feeds/single-cell-month.w.html"></iframe>
<iframe width="100%" height="300px" src="/training-material/feeds/single-cell-month.w.html"></iframe>

# Workflow search

Expand Down
Loading