Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
Forum rules
Developer Resources:Documentation: The
OJS Technical Reference and the OJS
API Reference are both available from the
OJS Documentation page.
Git: You can access our public Git Repository
here. Comprehensive Git usage instructions are available on the
wiki.
Bugzilla: You can access our Bugzilla report tracker
here.
Search: You can use our
Google Custom Search to search across our main website, the support forum, and Bugzilla.
Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the
OJS Editorial Support and Discussion subforum; if you have a technical support question, try the
OJS Technical Support subforum.
by fazio » Thu Oct 12, 2006 6:00 am
Hi to all,
i'm tryng to include an audio file into an HTML article, in order to be linked and listened with a link on the article.
I thought that this audio file could be uploaded as a supplementary file, but there's no easy way to create a reference from the article to the audio file, am i right or i'm missing something?
thanks
Riccardo
-
fazio
-
- Posts: 10
- Joined: Wed Sep 27, 2006 6:21 am
-
by asmecher » Thu Oct 12, 2006 6:22 am
Hi Riccardo,
This part of OJS isn't particularly well-documented, but you can link from an HTML document to a supplementary file as follows:
- In Journal Setup, make sure the option labelled "Custom identifiers will be used to identify supplemental article files" is enabled. (You'll probably also want to assign custom public IDs to articles, although OJS's normal article IDs can be used.)
- Assign a public identifier to the supplementary file as Editor. (This should be available in the supplementary file's Edit page.)
- In your HTML galley, you can use URLs of the following form:
- Code: Select all
ojs://suppfile/(publicArticleId)/(publicSupplementaryFileId)
...where (publicArticleId) and (publicSupplementaryFileId) are the article's ID and the supplementary file's public identifier, respectively.
Let me know if you need any more information.
Regards, Alec Smecher
Open Journal Systems Team
-
asmecher
-
- Posts: 5757
- Joined: Wed Aug 10, 2005 12:56 pm
-
by fazio » Fri Oct 13, 2006 7:36 am
hi alec,
thank you for help but i still got problems.
i tried to use url as you wrote, but it didn't work.
i used this expression: <a href="ojs://132/333"></a>
it is correct?
i looked at the source code and i found this function that replace a string, but i didn't understand the meaning of reg exp
$contents = String::regexp_replace_callback(
'/(<[^<>]*")[Oo][Jj][Ss]:\/\/([^"]+)("[^<>]*>)/',
thank you
Riccardo
-
fazio
-
- Posts: 10
- Joined: Wed Sep 27, 2006 6:21 am
-
by asmecher » Mon Oct 16, 2006 6:13 am
Hi Riccardo,
Try "ojs://suppfile/132/333".
Regards,
Alec Smecher
Open Journal Systems Team
-
asmecher
-
- Posts: 5757
- Joined: Wed Aug 10, 2005 12:56 pm
-
by fazio » Tue Oct 17, 2006 6:11 am
Hi alec,
Thank you for you answers,
i wrote the url in the right way this time
ojs://suppfile/132/333
but it didn't work;
thanx again
Riccardo
-
fazio
-
- Posts: 10
- Joined: Wed Sep 27, 2006 6:21 am
-
by asmecher » Sun Oct 22, 2006 6:07 am
Hi Riccardo,
What version of OJS are you using? What is the URL getting rewritten into? Also, double-check that your link is properly quoted with double-quotes, e.g:
<a href="ojs://suppfile/132/333">link name</a>
Regards,
Alec Smecher
Open Journal Systems Team
-
asmecher
-
- Posts: 5757
- Joined: Wed Aug 10, 2005 12:56 pm
-
by fazio » Thu Oct 26, 2006 1:57 am
hi Alec,
i'm using Ojs2.1.1 and the URL is
ojs://suppfile/133/555, I think that i'm losing something in HTML code and so hte URL can not be resolved.
I write again this part of code:
<a href="ojs://suppfile/133/555" _base_target="_self">linkname</a>
thank you for your patience and support
Riccardo
-
fazio
-
- Posts: 10
- Joined: Wed Sep 27, 2006 6:21 am
-
by asmecher » Thu Oct 26, 2006 4:06 am
Hi Riccardo,
Hmm, this should be working. Could you send me a URL where I can view the article in OJS?
Regards,
Alec Smecher
Open Journal Systems Team
-
asmecher
-
- Posts: 5757
- Joined: Wed Aug 10, 2005 12:56 pm
-
Return to OJS Development
Who is online
Users browsing this forum: No registered users and 1 guest