Skip to content

Commit

Permalink
Merge pull request #5667 from nomadscientist/faq_feeds-to-matrix
Browse files Browse the repository at this point in the history
Create matrix bot FAQ
  • Loading branch information
nomadscientist authored Dec 20, 2024
2 parents 3db20b4 + a6d1e01 commit 6d56296
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
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

0 comments on commit 6d56296

Please sign in to comment.