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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca
This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
We have a new installation of OJS 2.1 on a remote server. Am I right in thinking that I cannot directly batch upload pdf files from my own PC, even using the command line facility.
So a reference such as this:
<href src=C:\Documents and Settings\John Doe\My Documents\Typesetting\Archive\04 Storage\Equinox\Journals\PT 7.1_January 2006_Finals\Pdf files\test.pdf mime_type="application/pdf"/>
would be invalid.
From what I've read so far, the best approach would seem to be to copy the files to an FTP site and upload from there?
- Posts: 23
- Joined: Wed Apr 12, 2006 3:21 pm
- Location: UK
There are two ways you can construct an href using the import XML. One is a full URL (e.g. http://www.some-server.com/some/path/to/a/pdf/file.pdf; this is always available. The other method is a relative path, such as /local/path/to/pdf/file.pdf; this is only available when using the command-line import/export tool (tools/importexport.php), and refers to paths on the machine OJS is installed on.
Another alternative is to embed base64-encoded data directly in the XML file; see the <embed> tag for details.
Open Journal Systems Team
- Posts: 10015
- Joined: Wed Aug 10, 2005 12:56 pm
Return to OJS Technical Support
Who is online
Users browsing this forum: Yahoo [Bot] and 0 guests