Skip to content

Instantly share code, notes, and snippets.

@phayes
Created December 8, 2011 22:33
Show Gist options
  • Save phayes/1448990 to your computer and use it in GitHub Desktop.
Save phayes/1448990 to your computer and use it in GitHub Desktop.
$collections = highwire_collection_get_collections('jbjsbrumb');
$hacked_collections = array();
foreach($collections as $col) {
$col['journal_id'] = 'jbjsbr';
$hacked_collections[] = $col;
}
$structured = highwire_collection_structure_collections($hacked_collections);
highwire_collection_process_collection('jbjsbr', $structured);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment