chore: added blog name as a field in rss post schema
a9f33a8f
7 file(s) · +11 −4
| 21 | 21 | - [x] Add initial app suspense |
|
| 22 | 22 | - [x] Fix long blog names on mobile in nav sidebar |
|
| 23 | 23 | - [ ] YouTube feed support |
|
| 24 | - | - [ ] Detect Categories in OPML |
|
| 24 | + | - [x] Detect Categories in OPML |
|
| 25 | 25 | - [ ] CRUD categories |
|
| 26 | 26 | - [ ] Check broken html characters in post titles |
|
| 27 | - | - [ ] Update Author name to Blog Name in list of posts |
|
| 27 | + | - [x] Update Author name to Blog Name in list of posts |
|
| 28 | 28 | - [ ] Fix mobile navigation through posts |
|
| 29 | 29 | - [ ] Add another relay |
| 131 | 131 | evolu.insert("rssPost", { |
|
| 132 | 132 | title: sanitizedPost.title, |
|
| 133 | 133 | author: sanitizedPost.author || null, |
|
| 134 | + | feedTitle: sanitizedFeed.title, |
|
| 134 | 135 | publishedDate: extractPostDate(post), |
|
| 135 | 136 | link: sanitizedPost.link, |
|
| 136 | 137 | feedId: result.value.id, |
|
| 249 | 250 | evolu.insert("rssPost", { |
|
| 250 | 251 | title: sanitizedPost.title, |
|
| 251 | 252 | author: sanitizedPost.author || null, |
|
| 253 | + | feedTitle: sanitizedFeed.title, |
|
| 252 | 254 | publishedDate: extractPostDate(post), |
|
| 253 | 255 | link: sanitizedPost.link, |
|
| 254 | 256 | feedId: result.value.id, |
|
| 94 | 94 | evolu.insert("rssPost", { |
|
| 95 | 95 | title: sanitizedPost.title, |
|
| 96 | 96 | author: sanitizedPost.author || null, |
|
| 97 | + | feedTitle: sanitizedFeed.title, |
|
| 97 | 98 | publishedDate: extractPostDate(post), |
|
| 98 | 99 | link: sanitizedPost.link, |
|
| 99 | 100 | feedId: result.value.id, |
| 321 | 321 | evolu.insert("rssPost", { |
|
| 322 | 322 | title: post.title, |
|
| 323 | 323 | author: extractPostAuthor(post, isAtom, feedData.title), |
|
| 324 | + | feedTitle: feed.title, |
|
| 324 | 325 | publishedDate: extractPostDate(post), |
|
| 325 | 326 | link: postLink, |
|
| 326 | 327 | feedId: feed.id, |
| 132 | 132 | evolu.insert("rssPost", { |
|
| 133 | 133 | title: post.title, |
|
| 134 | 134 | author: extractPostAuthor(post, isAtom, feedData.title), |
|
| 135 | + | feedTitle: feed.title, |
|
| 135 | 136 | publishedDate: extractPostDate(post), |
|
| 136 | 137 | link: extractPostLink(post, isAtom), |
|
| 137 | 138 | feedId: result.value.id, |
| 12 | 12 | id: string; |
|
| 13 | 13 | title: string | null; |
|
| 14 | 14 | author: string | null; |
|
| 15 | + | feedTitle: string | null; |
|
| 15 | 16 | publishedDate: string | null; |
|
| 16 | 17 | link: string | null; |
|
| 17 | 18 | feedId: string | null; |
|
| 135 | 136 | {post.title} |
|
| 136 | 137 | </span> |
|
| 137 | 138 | <div className="flex items-center justify-between"> |
|
| 138 | - | {post.author && ( |
|
| 139 | + | {post.feedTitle && ( |
|
| 139 | 140 | <span className="text-muted-foreground truncate text-xs"> |
|
| 140 | - | {post.author} |
|
| 141 | + | {post.feedTitle} |
|
| 141 | 142 | </span> |
|
| 142 | 143 | )} |
|
| 143 | 144 | {post.publishedDate && ( |
|
| 38 | 38 | link: NonEmptyString1000, |
|
| 39 | 39 | content: nullOr(NonEmptyString), |
|
| 40 | 40 | author: nullOr(NonEmptyString200), |
|
| 41 | + | feedTitle: nullOr(NonEmptyString200), |
|
| 41 | 42 | publishedDate: nullOr(NonEmptyString), |
|
| 42 | 43 | }, |
|
| 43 | 44 | readStatus: { |