collective.js.twittertext

Add twitter-text.js library to Plone's resource registry


Keywords
plone
License
GPL-2.0+
Install
pip install collective.js.twittertext==1.0

Documentation

Introduction

Add twitter-text.js to Plone javascript registry.

This addon doesn't provide new feature.

Version 1.4.14 Licence: twitter-text.js is under Apache Licence

About twitter-text

A JavaScript utility that provides text processing routines for Tweets. This library conforms to a common test suite shared by many other implementations, particularly twitter-text.gem (Ruby). The library provides autolinking and extraction for URLs, usernames, lists, and hashtags.

How to use use twitter-text

twitter text is available as twttr.txt namespace.

Example:

$('#content').html(twttr.txt.autoLink($('#content').html()))

Credits

Companies

makinacom_

Authors