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

feat(rss): add og image #87

Merged
merged 1 commit into from
Oct 10, 2024
Merged

feat(rss): add og image #87

merged 1 commit into from
Oct 10, 2024

Conversation

ryoppippi
Copy link
Member

rssにimageを追加しました

メモ: entryのmetaの情報の整形の実装とfeecの情報の整形の実装がだいぶ似てるので共通化しても良さそう

@tomoya
Copy link
Collaborator

tomoya commented Oct 9, 2024

似てるとはいえ目的は別物なので、共通化するならちゃんと見極めてやらないとですね。

それはさておき、RSSの仕様として image ってどんな意味がありましたっけ?
あと、RSSリーダーの実装で、画像がキャッシュされない可能性があるので、負荷が高くなるかもしれないのが懸念ですね。

なので、ちょっと悩むところですね。
画像生成にキャッシュ機能が入れば安心なんですが。

@ryoppippi
Copy link
Member Author

似てるとはいえ目的は別物なので、共通化するならちゃんと見極めてやらないとですね。

なるほど、それはそう

それはさておき、RSSの仕様として image ってどんな意味がありましたっけ?

仕様としては enclosure タグですね。Readerのサムネ画像になるものです。
まあReaderで読んでる人がいるのか?という話ではある

画像生成にキャッシュ機能
キャッシュ作るか

Copy link
Collaborator

@tomoya tomoya left a comment

Choose a reason for hiding this comment

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

LGTY

@ryoppippi ryoppippi merged commit 70a0dd1 into main Oct 10, 2024
12 checks passed
@ryoppippi ryoppippi deleted the fix-rss branch October 10, 2024 09:41
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.

2 participants