Commit 2f8ccec
committed
feat(media): add Media RSS full attributes and podcast:value parsing
Phase 2 of namespace completion:
- Add MediaContent type with full Media RSS spec (medium, bitrate, framerate, expression, isDefault)
- Add MediaThumbnail type with NTP time offset support
- Add PodcastValue and PodcastValueRecipient types for value-for-value monetization
- Implement podcast:value parsing with nested valueRecipient elements
- Add max_value_recipients DoS limit (default: 20)
- Add SSRF security warnings to MediaContent.url and MediaThumbnail.url
- Add media_content_to_enclosure() conversion helper
- Add comprehensive unit tests for all new types1 parent e93d51a commit 2f8ccec
File tree
7 files changed
+888
-24
lines changed- crates
- feedparser-rs-core/src
- namespace
- parser
- types
- feedparser-rs-py/src
7 files changed
+888
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
| |||
161 | 169 | | |
162 | 170 | | |
163 | 171 | | |
| 172 | + | |
164 | 173 | | |
165 | 174 | | |
166 | 175 | | |
| |||
199 | 208 | | |
200 | 209 | | |
201 | 210 | | |
| 211 | + | |
202 | 212 | | |
203 | 213 | | |
204 | 214 | | |
| |||
235 | 245 | | |
236 | 246 | | |
237 | 247 | | |
| 248 | + | |
238 | 249 | | |
239 | 250 | | |
240 | 251 | | |
| |||
433 | 444 | | |
434 | 445 | | |
435 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
436 | 487 | | |
0 commit comments