extract occurrences from archive

@seejee i forget how to wire these up to see how they work together, but i think i got everything on this end. I also have a pr out for the site generator, I think i did everything there too except for the transformation.