Commit 4331e80
committed
✨ DojoCast ポッドキャストを「最近の CoderDojo」セクションに追加
- news:fetch タスクに DOJO_CAST_FEED を追加(📻絵文字でログ出力)
- ポッドキャストエピソードは内部リンクを使用
- タイトルの先頭3桁数字から番号を抽出(033 → 33、001 → 1)
- 内部URL: https://coderdojo.jp/podcasts/{番号}
- 番号が取得できない場合はエラーを発生
- ニュース表示時にソースごとに絵文字を使い分け
- news.coderdojo.jp → 📰
- coderdojo.jp/podcasts → 📻
- prtimes.jp → 📢
- format_news_title ヘルパーメソッドを更新
- テストケースも対応済み1 parent bd148e6 commit 4331e80
File tree
4 files changed
+327
-160
lines changed- app/helpers
- db
- lib/tasks
- spec/helpers
4 files changed
+327
-160
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
218 | 229 | | |
219 | 230 | | |
0 commit comments