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

Switch out X with Bluesky and Mastadon #475

Draft
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

jacquelynsmale
Copy link
Contributor

I took out most of our X links, but can add them back in if we decide to. @jhkennedy, any thoughts?

@jacquelynsmale jacquelynsmale requested a review from a team November 19, 2024 01:20
@@ -22,7 +22,9 @@ clicks away.

## What's New

Follow [@ASFHyP3](https://twitter.com/ASFHyP3 "https://twitter.com/ASFHyP3" ){target=_blank} on Twitter, or check our [What's New](whats_new.md "HyP3 What's New" ){target=_blank} page to keep up to date on all things HyP3!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we keep the link to our What's New page here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, if we embed the mastodon timeline on the what's new page (suggestion below)

jacquelynsmale and others added 4 commits November 19, 2024 09:55
Co-authored-by: Jake Herrmann <[email protected]>
Co-authored-by: Jake Herrmann <[email protected]>
Co-authored-by: Jake Herrmann <[email protected]>
Co-authored-by: Jake Herrmann <[email protected]>
@jacquelynsmale jacquelynsmale marked this pull request as draft November 19, 2024 18:55
@jacquelynsmale
Copy link
Contributor Author

Note: I'm converting to draft until we hear back from Security on whether or not they approve these sites

Comment on lines +7 to 9
You can also check out
<a class="twitter-timeline" href="https://twitter.com/ASFHyP3">Tweets by ASFHyP3</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Copy link
Contributor

@jhkennedy jhkennedy Nov 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can just replace this with a mastodon feed directly using https://mastofeed.com/, something like:

<div class="mastodon-timeline mastodon-timeline-rendered" style="display: flex; max-width: 100%; margin-top: 0px; margin-bottom: 0px;">
    <iframe allowfullscreen="true" allowtransparency="true" title="Mastodon Timeline"
            sandbox="allow-top-navigation allow-scripts allow-popups allow-popups-to-escape-sandbox"
            src="https://mastofeed.com/apiv2/feed?userurl=https%3A%2F%2Fmastodon.social%2Fusers%2FASFHyP3&theme=dark&size=100&header=true&replies=false&boosts=false"
            style="position: static; visibility: visible; width: 100%; min-width: 300px; min-height: 400px; display: block; flex-grow: 1;"
    ></iframe>
</div>

min-width and min-height may need to be adjusted

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or this one might look better:
https://gitlab.com/idotj/mastodon-embed-timeline

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

Successfully merging this pull request may close these issues.

3 participants