Raynes/refheap — Issue #49: Paste linking
Author: Raynes
Created: 2012-02-02 06:13:31+00:00
State: open
Labels: maybe

I've been thinking about a compromise since we don't really want to support multiple files in a single paste (because we're trying hard to avoid the whole "pastes are files" concept). What about this: (logged-in and perhaps tracked anonymous IPs) users can create multiple pastes and link them together. Basically, you could have references to pastes from other pastes.

Perhaps we could also display linked pastes on the paste pages somehow? I envision an "expand linked pastes" that shows the other pastes and is collapsible and collapsed by default.

I think that, if we do it right, it'll result in something cleaner than multiple file pastes without significant added complexity. Each paste will be standalone -- they will simply be 'linked' to other pastes so that you can have several pastes that are all related easily accessible. It also wont complicate the API since we can just return the linked paste IDs and any client can fetch those linked pastes if it wants them.

@amcnamara What do you think of this idea? I literally just shat it out in the last 10 minutes, so if its crazy then tell me so.