azu / rss-to-twitter

GitHub Actions: RSS to Twitter
MIT License
41 stars 9 forks source link

%url% uses feed URL and not post URL #3

Closed RyanLua closed 8 months ago

RyanLua commented 8 months ago

Describe the bug: バグの概要

When you use the %url% placeholder it links to the feed and not the post.

To Reproduce: 再現手順

Steps to reproduce the behavior:

  1. Use %url% in the TWEET_TEMPLATE
  2. Instead of using the post URL it will always use the URL for the feed

Expected behavior: 期待する動作

When I want to post a tweet and include a blog's URL, I expect it to have a link to the blog post and not just the blog.

Screenshots: スクリーンショット

Operating environment: バグが発生した環境

Additional context: 補足

azu commented 8 months ago

Can I get a reproduce feed url?

I'm currently using the URL of the post.

https://github.com/azu/rss-to-twitter/blob/aff320f38e4916c3c9c8f303410b5a6721be97ba/src/process.ts#L111

RyanLua commented 8 months ago

Oops, looks like I didn't set up my Zapier RSS feed right to properly link the RSS feed. All good now.