OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Publishing multiple jpegs in article - File storage

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Publishing multiple jpegs in article - File storage

Postby barkas » Fri Feb 23, 2007 4:04 am

Hello.

I am using OJS to publish some journals. Just for the record, the journals are very old (100 years :), discontinued, so OJS is going to act only as a repository and all the submission-review processes are not my concern. The journals are scanned from original material, and are stored as single jpg files, one for each page of the journal articles. So, I have a quite large quantity of files to manage :)
Till now the files are hosted in ad-hoc web application (PHP with MySQL). I am trying to migrate the databases and the files to OJS.
Database migration is done succesfully. I have managed to transfer all the info and currently I can display in each article a number of JPG links equal to the article's pages. Now I need to transfer the files.
Here are my questions:
1) My files have a name of "sth****.jpg" (where sth=something and ***=inc number of files). OJS follows a format of "1-2-1-PB.jpg" for example. Do I have to make the conversions (not possible for that amount of files) or I can leave the original filenames?
2) Can someone explain how OJS stores files? From a few examples I saw that OJS creates lots of directories, according to journal_id, issues etc, which is very complicated. Is there a way to bypass it and retrieve files from a single directory? (or one dir for each journal)
3) Any ideas in general???

I am new to OJS and I am currently working on that problem, but I would like to hear other opinions in parallel to my work.
Thank you in advance.
barkas
 
Posts: 1
Joined: Fri Feb 23, 2007 3:41 am

Postby asmecher » Fri Feb 23, 2007 10:56 am

Hi barkas,

I'd strongly suggest looking into the Articles & Issues import/export plugin, which accepts XML files conforming to plugins/importexport/native/native.dtd for import. Using this import technique will save you a lot of headaches wading through the OJS code and it won't tie you to a particular version of OJS for your import tasks.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 7464
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests
http://pkp.sfu.ca/support/forum/viewtopic.php?p=5143
pkp.sfu.ca
crawl=CC-MAIN-2014-10
23688
application/http; msgtype=response
sha1:ZSQLYY26WSFRFEHCB3DHOPKOFF2AJO2B
<urn:uuid:0341d0cf-7c1b-46c8-8933-2ac4d00bfb6a>
2014-03-12T10:52:27Z
142.58.129.159
sha1:6GLRDP7PG24FJEZ2VJ2JPCTVKZMEVCBQ
<urn:uuid:28a50511-3792-4c32-8fc2-a9d829b42603>
http://pkp.sfu.ca/support/forum/viewtopic.php?p=5143
length
response
<urn:uuid:003333c4-e789-4fa4-9496-42ebd62b5c17>
robots: classic
hostname: ip-10-183-142-35.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-10
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for March 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf