You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
# Inline HTML Galley plugin for PKP
2
2
3
-
This plugin provides inline display of article galleys for PKP Open Journal Systems, replacing the default HTML Article Galley plugin's use of an iframe to deliver the HTML Galleys. Also consider the [Alternate HTML Galley plugin](https://github.com/ajnyga/embedHtmlArticleGalley). This plugin will present the galley content within your website's theme. The Alternate HTML Galley plugin will present the galley in the same manner as the HTML Article Galley plugin (with just a simple header), but without requiring an iframe.
3
+
This plugin provides inline display of article galleys for PKP Open Journal Systems, replacing the default HTML Article Galley plugin's use of an iframe to deliver the HTML Galleys. Also consider the [Alternate HTML Galley plugin](https://github.com/ajnyga/embedHtmlArticleGalley). This plugin will present the galley content within your website's Bootstrap3 theme. The Alternate HTML Galley plugin will present the galley in the same manner as the HTML Article Galley plugin (with just a simple header), but without requiring an iframe.
4
4
5
5
## Requirements
6
6
7
7
* OJS 3.x
8
8
* The PKP plugin htmlArticleGalley (which ships by default with OJS)
Login as a Journal Manger and navigate to the Journal for which you wish to use inline display of HTML Galleys. Enable the plugin via Login -> Settings -> Website -> Plugins -> Inline HTML Galley -> Enable.
30
32
31
-
There are no settings to configure for this plugin. Once enabled, the view of an HTML Galley will extract the HTML `body` from the Galley and will place it inline in the Galley view. You will need to replicate any CSS or Javascript directives used in the `head` of the Galley in your website configuration. (Hint: see the Custom Headers plugin.)
33
+
Once enabled, the default view of an HTML Galley will extract the HTML `body` from the Galley and will place it inline in the Galley view. You will need to replicate any CSS or Javascript directives used in the `head` of the Galley in your website configuration. (Hint: see the Custom Headers plugin.)
32
34
33
-
The template will provide a link to the "download" handler for the galley above the extracted text of the Galley. The plugin also provides a sidebar block to link to the download, which may be enabled and positioned via the Website Settings.
35
+
The Settings Form allows you to target another arbitrary HTML element from which to extract the HTML, via xpath. For example, since you likely have the article's title in an `h1` in the `body`, and Bootstrap3 will render the article title independently, you might want to target a content `div` within the body.
36
+
37
+
The plugin provides article metadata as sidebar blocks, which may be enabled and positioned via the Website Settings.
34
38
35
39
## Author / License
36
40
37
-
Written by Clinton Graham for the [University of Pittsburgh](http://www.pitt.edu). Copyright (c) University of Pittsburgh.
41
+
Written by Clinton Graham and Chrysanthemum Lovelace for the [University of Pittsburgh](http://www.pitt.edu). Copyright (c) University of Pittsburgh.
0 commit comments