Files
xExtension-BlueskyThreads/tests/fixtures/hockeyviz_feed.xml
James Griffin 932d7a5f0e
All checks were successful
CI / test (push) Successful in 1m41s
Add PHPUnit test suite, Gitea CI, and fix broken URL pattern
- Add 22 unit tests covering feed parsing, thread rendering, facets,
  needsRefetch staleness windows, and handleConfigureAction
- Add FreshRSS class stubs so tests run without a full FreshRSS install
- Add RSS feed fixture (hockeyviz.com snapshot) and thread API fixture
  for post 3mhtk7awhrp26 (1 root + 2 replies)
- Add Gitea Actions workflow (.gitea/workflows/ci.yml) running on PHP 8.2
- Fix POST_URL_PATTERN: using '#' as PCRE delimiter with '#' inside a
  character class caused PHP to close the pattern early, so no Bluesky
  URL ever matched; switch delimiter to '~'

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 15:41:07 -03:00

108 lines
5.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Snapshot of https://bsky.app/profile/did:plc:d4324t32vfi5xzydqbh2qdj3/rss fetched 2026-03-26 -->
<rss version="2.0">
<channel>
<description>Math, hockey, viz, apocrypha</description>
<link>https://bsky.app/profile/hockeyviz.com</link>
<title>@hockeyviz.com - Micah McCurdy</title>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhxruphxfz2q</link>
<description>No possible eliminations or qualifications today, will be a few days lull I expect.</description>
<pubDate>26 Mar 2026 14:11 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhxruphxfz2q</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhxnes7zvw2k</link>
<description>Yesterday&#x27;s games:</description>
<pubDate>26 Mar 2026 12:50 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhxnes7zvw2k</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhxidqqzwc26</link>
<description>The New York Rangers are the second team to be eliminated from playoff contention.</description>
<pubDate>26 Mar 2026 11:20 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhxidqqzwc26</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhw7rraxo72t</link>
<description>The site being so old is weird to me now because the old charts are annoying to me spiritually.</description>
<pubDate>25 Mar 2026 23:14 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhw7rraxo72t</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhvymqtksm2l</link>
<pubDate>25 Mar 2026 21:06 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhvymqtksm2l</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhvo7humyx2j</link>
<description>hockey viz dot com snubbed again&#xA;&#xA;[contains quote post or other embedded content]</description>
<pubDate>25 Mar 2026 18:00 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhvo7humyx2j</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhv7532iwp2p</link>
<description>If Toronto beat New York tonight in any fashion, then the Rangers will be eliminated from playoff contention.</description>
<pubDate>25 Mar 2026 13:30 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhv7532iwp2p</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhuuvbngrc2g</link>
<description>Yesterday&#x27;s games:</description>
<pubDate>25 Mar 2026 10:27 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhuuvbngrc2g</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhtt6lqhsk2b</link>
<description>Moms in the crowd smiling when their kids score their first goal &gt;&gt;&gt;</description>
<pubDate>25 Mar 2026 00:24 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhtt6lqhsk2b</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhtq6pbhwn2p</link>
<description>Little-known HockeyViz feature that&#x27;s fun on nights with lots of games.</description>
<pubDate>24 Mar 2026 23:30 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhtq6pbhwn2p</guid>
</item>
<!-- This is the thread post with 2 replies used in rendering tests -->
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhtk7awhrp26</link>
<description>Discussion about Gold Drafting always focusses on tanking, but really eliminating tanking discourse is a (very real) side-benefit.&#xA;&#xA;[contains quote post or other embedded content]</description>
<pubDate>24 Mar 2026 21:43 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhtk7awhrp26</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhtjo3rtkn26</link>
<description>The NHL, and many other leagues, would be improved by adopting Gold drafting. #GoldRace</description>
<pubDate>24 Mar 2026 21:33 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhtjo3rtkn26</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhpqxoumjl2b</link>
<description>The Vancouver Canucks are the first team to be eliminated from playoff contention this season.</description>
<pubDate>23 Mar 2026 09:33 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhpqxoumjl2b</guid>
</item>
<item>
<link>https://bsky.app/profile/hockeyviz.com/post/3mhpqwxte4n2l</link>
<description>The Dallas Stars are the second team to qualify for the 2025-2026 playoffs.</description>
<pubDate>23 Mar 2026 09:33 +0000</pubDate>
<guid isPermaLink="false">at://did:plc:d4324t32vfi5xzydqbh2qdj3/app.bsky.feed.post/3mhpqwxte4n2l</guid>
</item>
</channel>
</rss>