Giter Site home page Giter Site logo

embedhtmlarticlegalley's People

Contributors

ajnyga avatar busspatrick avatar ctgraham avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

embedhtmlarticlegalley's Issues

getTemplatePath() does not work with OJS 3.1.2

getTemplatePath() throws a PHP error with OJS 3.1.2. I have made a few refinements so that the plugin works with OJS 3.1.2. Please have a look at mpbraendle@3ab0b2e for fixes:

  • removed getTemplatePath() completely,
  • moved display.tpl to a templates subdirectory
  • call display.tpl via getTemplateResource() (see OJS-67 comment, this is from our internal issue tracking system.

EmbedHtmlArticleGalleyPlugin.inc.php is somewhat different to your version because it can handle also incomplete HTML (having no body element) uploaded by the publishers.

Also, I have extended the display.tpl template to display the associated (CC) license with the article text.

Please take over what you would like to.

Default CSS

If the original HTML does not contain any links to CSS files, use a default CSS file that will handle at least padding.

Extend existing HtmlArticleGalleyPlugin

We can reduce the code duplication (and automatically incorporate any future bugfixes/enhancements) by extending the existing HtmlArticleGalleyPlugin class. This would readily re-use the methods _getHTMLContents() and _handleOjsUrl().

Statistics and OJS 3.3

Hi,

Has this plugin been tested with OJS 3.3?
Does the views/download statistics for HTML work with this fix? (We made a fix to remove iframes from the plugin, but unfortunately it also resulted in the HTML views not being collected).

OJS/OMP 3.4 Compatibility

Hi @ajnyga and @ctgraham ,

I work for the American Theological Library Association (Atla) and we've been using this plugin for years. Recently, I had to modify it in order to to be compatible with OJS 3.4. Would either of you be interested in that code? I'd be happy to push up the changes.

All the best.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.