internetarchive icon indicating copy to clipboard operation
internetarchive copied to clipboard

Idea for a sorting utility for IA items

Open JesseWeinstein opened this issue 7 years ago • 2 comments

A script that takes a search query, and a format-string of fields to display for each item, and up to four functions mapped to arrow keys, that dispose of the item in different ways.

For spam sorting, left could be "not-spam" (i.e. safelist), right could be "spam" (either explicitly darking it if the user has permissions, or creating a sensibly formatted email if not), and up would be "unclear", which could be reviewed with a more detailed format-string later.

The email-generator could take the search query and format string and make a sensible header out of them, followed by a newline separated list of identifiers (or maybe something else if wanted).

The outputs could be files, with names generated from the timestamp (in IA format, natch) and the search query, and the name of the output function.

The script would extract the mentioned fields from the format string and create the search query appropriately.

JesseWeinstein avatar Jun 16 '18 04:06 JesseWeinstein

I may work on this, sometime, but I wanted to dump the idea somewhere others could see it now, to get comments and maybe inspire someone else to implement it.

JesseWeinstein avatar Jun 16 '18 04:06 JesseWeinstein

This would be handy, thanks for the idea @JesseWeinstein.

I think this would make more sense as an ia plugin or a separate script that uses ia, since it'd be more of a special case tool used by few.

I'll leave the issue open here for now, incase anybody else has input.

If you do move forward with writing something like this, let me know if you need any help or have any questions.

jjjake avatar Jun 18 '18 23:06 jjjake