Code Monkey home page Code Monkey logo

plugin-coins's People

Contributors

davelester avatar jimsafley avatar kimisgold avatar kriskelly avatar patrickmj avatar willynilly avatar zerocrates avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin-coins's Issues

Multiple fields ignored

If I have several omeka fields of the same kind for an certain item (say multiple creators, or multiple languages), the plugin takes only one of them.

COinS plugin 2.0.2 breaks: Call to undefined function lcfirst()

With the COinS plugin 2.0.2 installed on Omeka 2.1.3, only the first of thirteen items will display, both on the site and in the admin view. The error is:

Fatal error: Call to undefined function lcfirst() in /home1/njdigita/public_html/birthcontrolinternational/plugins/Coins/views/helpers/Coins.php on line 57

Disabling the plugin fixes everything.

Coins overrides Identifier

Coins assigns the current absolute_url to the rft.identifier key. This is the key used by Dublin Core Identifier data.

The Coins spec says the URL for the item being described should go in the rft_id key, not rft.identifier. A glance at Zotero's parsing code suggests it looks for URLs in both those places, so moving our automatic url inclusion to rft_id would let us keep the automatic import of the URL, and let users specify an identifier as well (possibly overriding our automatic one) by setting a DC Identifier that's a URL.

Finally, the "automatic" URL isn't one that points to the item, as it should, it's simply the URL for whatever is the current page. On a browse page, this means all items just show the browse page as their "link."

Coins 2.0 is a memory and query hog

See the thread on the forums: http://omeka.org/forums/topic/admin-items-page-blank-after-update

Coins lets you pass it arrays of items to work with, but doesn't release_object. Additionally, it used to use the "each" hooks, avoiding unnecessary additional calls to the database to get element text data.

The solution is a combination of:

  • going back to using the "each" hooks, and
  • adding the release_object to protect any potential callers of the coins view helper.

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.