forked from mirrors/fediprofile
Add service-specific Atom setup and presentation (YouTube first) #30
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Make Atom-backed services easy to add as profile sources. YouTube is the first adapter: users enter a channel URL or handle instead of finding an Atom URL, and imported videos display as YouTube uploads rather than generic feed entries.
Acceptance
https://www.youtube.com/feeds/videos.xml?channel_id=CHANNEL_ID. Reject ambiguous or invalid input rather than silently following another channel.yt:videoId/yt:channelIdas stable IDs, so feed edits and handle changes do not duplicate posts. Unit tests cover URL/handle resolution, invalid channels, YouTube-shaped Atom entries, updates, and the rendered/federated link. Keep live service tests outside commit CI.Depends on #25, #26, and #28. Official feed format: https://developers.google.com/youtube/v3/guides/push_notifications ; official handle lookup: https://developers.google.com/youtube/v3/docs/channels/list
Implemented on
michaelthrough1055c13. YouTube channel-ID, handle, custom/c/, and legacy/user/links now resolve to validated upload feeds, including mobile/Music hosts, common channel tabs, share parameters, and international handles. Video/playlist/embed links remain ordinary links. Public custom/legacy page lookup is bounded, rate-limited, and uses the protected network handler; handles use the official Data API. Compatibility and configuration docs and unit/live interoperability tests were updated.Red CI: 1343, 1344, 1347. Final green CI 1348 and integration 1349 passed on
1055c13.