Implement paging #9

Merged
paul merged 3 commits from 2-implement-paging into main 2022-05-27 22:50:52 +02:00
Owner

Parse and handle the paging information for Mixcloud.
Use a default page size of 50 items, indicate we want to do paging by count by passing offset 0 and retrieve and merge all items.

Closes #2.

Parse and handle the paging information for Mixcloud. Use a default page size of 50 items, indicate we want to do paging by count by passing offset 0 and retrieve and merge all items. Closes #2.
paul added this to the 0.2.0 milestone 2022-05-26 22:09:47 +02:00
paul added the
enhancement
label 2022-05-26 22:09:47 +02:00
paul self-assigned this 2022-05-26 22:09:47 +02:00
paul added 1 commit 2022-05-26 22:09:48 +02:00
c6fec6c785
Retrieve all pages by following the next URL
* Derserialize the paging information
* Parse each next URL; handle URL parse errors
* Use a default page size of 50; pass offset 0 to count by item index
paul changed title from Implement paginig to WIP: Implement paginig 2022-05-26 22:10:58 +02:00
paul changed title from WIP: Implement paginig to WIP: Implement paging 2022-05-26 22:11:05 +02:00
paul force-pushed 2-implement-paging from c6fec6c785 to 1bcc83bbfa 2022-05-26 22:13:59 +02:00 Compare
paul added 1 commit 2022-05-27 22:40:11 +02:00
485f605940
Add feed item limit support
* The feed item limit defaults to the default page size (50) if not
  provided
* Move caching from response to URL fetch results; add helper functions
* Add a helper function to set the paging query of an URL
* Modify paging so we don't retrieve more than the feed item limit
paul added 1 commit 2022-05-27 22:47:43 +02:00
paul force-pushed 2-implement-paging from 4a4ea527f0 to 0701088fbc 2022-05-27 22:47:59 +02:00 Compare
paul changed title from WIP: Implement paging to Implement paging 2022-05-27 22:49:39 +02:00
paul merged commit dafcdc009b into main 2022-05-27 22:50:52 +02:00
paul deleted branch 2-implement-paging 2022-05-27 22:50:52 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: paul/podbringer#9
No description provided.