kensanata / mastodon-archive

Archive your statuses, favorites and media using the Mastodon API (i.e. login required)
https://alexschroeder.ch/software/Mastodon_Archive
GNU General Public License v3.0
358 stars 33 forks source link

Pagination for HTML output #21

Closed cangyuyao closed 6 years ago

cangyuyao commented 6 years ago

Currently most users don't have many toots on their account so one single page HTML is enough for viewing all the contents, but it may not work well with a large number of toots. I have around 5000 toots now and it's already quite a long page. I think pagination would help browsing a large archive, such as every 3000 toots per page.

kensanata commented 6 years ago

Two simple Previous and Next links at the top and at the bottom of the page would be enough?

cangyuyao commented 6 years ago

I think it’s enough. All output files in the same folder and linked with prev and next files

kensanata commented 6 years ago

Take a look at 4d8cb2c. Good enough?

cangyuyao commented 6 years ago

Works perfectly for me. Thanks for the tool!