Code Monkey home page Code Monkey logo

analyticsdatahtml's Introduction

AnalyticsDataHTML

Bookmarklet to add custom HTML data format In Alma Analytics Columns properties

Installation

Go to this url and follow the instructions: AnalyticsDataHTML

How to use

To add and apply an html format data view simply open the Column properties, go to Data format tab and click first on the bookmarklet, then to ok button.

Some usage example

In Alma Analytics you only have two choices to override the default data format: if you want, for example, to highlight a part of text a simple way could be adding <b> tag to it, but if you try the tags will be displayed literally.

Example to highlight the word "library" in bibliografic title:

In "Bibliographic Details"."Title" column formula change it as: replace("Bibliographic Details"."Title", 'library', '<b>library</b>')

Apply a color: use tag <span> to avoid line break:

replace("Bibliographic Details"."Title", 'library', '<span style="color:red;">library</span>')

Avoid string between <> disappearing

The html format couse every string between <> treated as xml/html tags: replace every occurrence of the column name with this formula: replace("Bibliographic Details"."Title","<", "&lt;")

Nested formula (bold library and no tag strings disappearing):

replace(replace("Bibliographic Details"."Title","<", "&lt;"), 'library', '<b>library</b>')

analyticsdatahtml's People

Contributors

bediniupi avatar

Stargazers

 avatar

Watchers

 avatar

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.