|
PKP Bugzilla – Full Text Bug Listing |
| Summary: | Less redundancy with batch uploads and re-uploaded material. | ||
|---|---|---|---|
| Product: | OJS | Reporter: | Michael Nason <mnason> |
| Component: | Submissions and Publishing | Assignee: | PKP Support <pkp-support> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | alec, armin.guenther, jason.nugent, jmacgreg |
| Priority: | P1 | ||
| Version: | To be determined | ||
| Hardware: | PC | ||
| OS: | Mac OS X 10.0 | ||
| Version Reported In: | Also Affects: | ||
|
Description
Michael Nason
2008-12-04 10:39:06 PST
I'll second the "XML import as overwrite" option. See http://pkp.sfu.ca/support/forum/viewtopic.php?f=2&t=4081 for further discussion; but in a nutshell, it'd be nice to be able to batch overwrite previous issue data and content; or at the very least, batch delete obsolete information, if updating a large print run. Possible issues: - what to do if the obsolete content has more information (galleys; metadata) than the new content: should the old content be removed entirely and replaced with the new set, or should the content be merged? Especially an issue if one were to want to add additional new content to an already-published issue (like a previously missing editorial) but not mess with the already-existing content. Maybe we could flag imported content as new/overwrite/merge? - how to identify whether and which issue to overwrite. Since the Title element is mandatory, I would suggest matching to that. If it was me, I'd blow away the existing content for the issue. If a journal editor or a content editor wants to batch upload material, they should be aware of the consequences of doing so, and I think that not doing this might leave an issue in a state where there could be a mix of old and new material and that could lead to confusion. James, I know the title is mandatory, but it's probably entirely possible for mor than one issue to have the same title. Perhaps just using the unique issue id would be enough? That value would already exist, since the issue had to have been created already. (In reply to comment #2) Thank God for brighter minds than mine: > If it was me, I'd blow away the existing content for the issue. If a journal > editor or a content editor wants to batch upload material, they should be aware > of the consequences of doing so, and I think that not doing this might leave an > issue in a state where there could be a mix of old and new material and that > could lead to confusion. I'd agree with this. It should be the journal's responsibility for archiving old XML upload files; it would be far cleaner to update these if necessary in anticipation of a complete deletion/rewrite than to start managing incremental (and subsequently messy) updates. One general question I have about this: should users see any indication on the website that files have been updated? This probably isn't a huge issue in most cases, but generally speaking, people like to know whether updates have happened. Even a simple line item in the article metadata ("Last updated on: 2009-12-25") might be nice. Probably outside of the scope of this report (and applicable to a host of other situations), but I thought I'd raise the issue. > James, I know the title is mandatory, but it's probably entirely possible for > mor than one issue to have the same title. Perhaps just using the unique issue > id would be enough? That value would already exist, since the issue had to > have been created already. Good call; I agree. (In reply to comment #3) > > One general question I have about this: should users see any indication on the > website that files have been updated? This probably isn't a huge issue in most > cases, but generally speaking, people like to know whether updates have > happened. Even a simple line item in the article metadata ("Last updated on: > 2009-12-25") might be nice. Probably outside of the scope of this report (and > applicable to a host of other situations), but I thought I'd raise the issue. We've wrestled with this here, actually. I'm not sure which journal editor wanted it, but they'd like to have the date attached to the HTML version of the journal. If it was me, I'd just modify the .tpl that generates the abstract page with the links to the HTML and PDF versions to indicate the last modified date. Probably a fairly easy thing to implement. There's code in place (though it obviously needs a review) to track the entities that are created when an import takes place, and delete it if an error occurs during import. I'd suggest extending this somehow (generate a log that can be turned into database deletes?) to allow the content to be removed again. I'm nervous about anything that deletes existing content when importing, because of the effect this might have on e.g. editorial records. This may be moving beyond the scope of the bug, but what about archiving the material instead of removing it? It would become unaccessible for all except journal editors and content managers. This would provide the benefit of not mixing old content with new, but also providing a bit of security and an audit trail, as Alec seems to suggest. I would like to support the "XML import as overwrite" idea. In our workflow we have the most valid metadata included in our XML galleys while the metadata provided by authors during submission often are incomplete, preliminary or faulty. That's why we would like to import the metadata into OJS overwriting the existing field values of submitted articles. This would be a tremendous improvement for our workflow as we would not have to update manually all article level metadata. |