Swift Box (JS)

changelog
v2.6.1 - release date 26/09/2024
  • added code check to avoid triggering errors in case of empty contents
v2.6.0 - release date 25/09/2024
  • added one-line title option to avoid layout problems with long titles
  • added option to group images in expanded mode and create a sort of gallery
  • added Facebook pages contents retrieval through http://fetchrss.com/facebook
  • new improved lightbox commands position on mobile screens
  • fixed image overlay's icon alignment
v2.5.1 - release date 15/11/2023
  • fixed CSS issues on horizontal-to-vertical (and vice versa) switches
v2.5.0 - release date 23/08/2023
  • new Twitter source discontinued (say thanks to Musk..)
  • updated Twitter share icon
  • updated demo.html file
v2.4 - release date 23/11/2021
  • Soundcloud source removed (its new APIs can't comply with Swift Box direct fetching)
v2.3 - release date 23/02/2021
  • added external source option to filter fetched contents by keywords
  • added option to turn HTML titles translatable
  • added ALT attribute for dynamically created images
v2.24 - release date 06/02/2021
  • added youtube key parameter to avoid single-key saturation
  • fixed Fixed iOS desktop mode date parsing
v2.231 - release date 23/09/2020
  • updated Youtube key to block abusers
v2.23 - release date 01/07/2020
  • updated Youtube key to block abusers
v2.22 - release date 15/01/2020
  • fixed SoundCloud data fetching
v2.21 - release date 18/11/2019
  • Instagram link now brings to the post
v2.2 - release date 06/11/2019
  • added instagram source
  • removed Facebook source (use Zapier instead)
  • removed Google+
v2.101 - release date 01/03/2019
  • Facebook access token changed
v2.1 - release date 27/01/2019
  • due to YQL shut down, an rss2json token now is required to fetch RSS feeds (check documentation to know more)
  • fixed images triggering lightboxes in expanded mode
  • fixed images height in expanded mode
v2.01 - release date 12/08/2018
  • fixed news navigation in expanded mode (in lightbox)
v2.0 - release date 30/07/2018
  • global code refactoring, cleanup and optimization
  • "hide_elements" option now uses an array instead of a string
  • added news expansion through lightbox
  • added Youtube playlist source
  • added gallery mode with expanded news images
  • added exp_img_on_row, only_w_images, preloader, scripts_man_added options
  • added pinterest share
  • fixed destroy() method when box was inn autoplay mode
  • removed: show_src_logo, btn_over_img, cache_news options
v1.451 - release date 03/10/2017
  • better images fetching on facebook links
v1.45 - release date 19/08/2017
  • updated facebook sharing URL (old system isn't allowed anymore)
  • fixed google+ source, handling new profiles URL
v1.441 - release date 13/08/2017
  • fixed Soundcloud source usage in sites using SSL
v1.44 - release date 21/03/2017
  • updated Twitter source hadling with API changes
  • better ATOM links management
v1.43 - release date 17/02/2017
  • updated Soundcloud fetching system
  • added check for touchswipe script existence
v1.42 - release date 15/10/2016
  • improved RSS images recognizing
  • fixed initial BR stripping
  • fixed twitter date parsing in IE
v1.41 - release date 10/09/2016
  • fixed facebook image fetching for link elements
v1.4 - release date 02/09/2016
  • start/stop on hover system overhauled
v1.37 - release date 19/08/2016
  • Youtube source now supports also channels
v1.36 - release date 27/07/2016
  • jQuery v3 support
  • images lazy-loading support for inline contents
  • added function to sanitize self-closing iframes
v1.35 - release date 07/06/2016
  • facebook events image now fetched
  • better ATOM RSS link finder
  • added title attribute for icons
  • updated magnific popup and touchswipe
  • fixed text shortening with iframe usage
v1.34 - release date 28/01/2016
  • improved Tumblr link elements handling
  • expanded text now supports iframes
v1.33 - release date 02/12/2015
  • Google Feed API replaced with Yahoo YQL
  • fixed pause-on-hover system
v1.324 - release date 02/09/2015
  • fixed Pinterest RSS page's url
v1.323 - release date 18/08/2015
  • fixed typo on destruct method
v1.322 - release date 08/08/2015
  • fixed soundcloud usage in IE9
  • plugin name changed to "Swift Box" due to a copyright dispute
v1.321 - release date 30/07/2015
  • updated Pinterest RSS page's url
v1.32 - release date 04/06/2015
  • updated Pinterest fetching system with improved compatibility
  • fixed Facebook GMT+0 dates in Safari
v1.312 - release date 17/05/2015
  • fixed low-res youtube videos url composition
v1.311 - release date 07/05/2015
  • fixed youtube images handling with low-res videos
v1.31 - release date 06/05/2015
  • youtube API updated to v3
  • improved compatibility with multi-image FB posts
  • inline contents - main image fetched also through lcnb_main_img class
v1.303 - release date 22/03/2015
  • improved Facebook fetching system
v1.302 - release date 20/03/2015
  • further data check for facebook image variable
v1.301 - release date 19/03/2015
  • minor bugfixes related to news data control
v1.3 - release date 11/03/2015
  • new "image-based" horizontal layout
  • new facebook contents fetching
  • tweet's image and shared URL now fetched
  • faster and lighter expanded mode - getting data from cached vars
  • lighter CSS-based text images management in expanded mode
  • added option to slide all visible news per time
  • added excerpt support for inline news
  • added option to pause slideshow on hover
  • added option to restart slideshow after expanded mode closing
  • added options to strip/remove tags for inline news
  • added option to set the page URL as sharing link for every source
  • added public method to use navigation
  • updated magnific popup to v1.0
  • fixed doubled main image if fetched from texts
  • fixed social share code if iframes are in contents
  • fixed double BR strip that might cause bad text rendering
  • fixed images custom functions missing in small images
  • minor bugfixes and enhancements
v1.26 - release date 17/09/2014
  • added link target for inline news
  • fixed image showing for inline sources using resizer
v1.251 - release date 28/08/2014
  • fixed bug recognizing mediaGroup
v1.25 - release date 27/08/2014
  • twitter link now points to twitter profile
  • improved soundcloud JSON data handling
  • mediaGroup thumbnail is now fetched in RSS feeds
v1.24 - release date 07/08/2014
  • added windows scroll control on news expanding
v1.234 - release date 18/07/2014
  • fixed images size control for inline news
v1.233 - release date 16/07/2014
  • link and expand overlays now available also if lightbox is disabled
  • fixed text top-padding passing from vertical to horizontal layout
v1.232 - release date 13/07/2014
  • safer smart image handling in RSS feed texts
v1.231 - release date 11/07/2014
  • fixed news expanding on mobile screens without image on side
  • fixed square images management in expanded news
v1.23 - release date 09/07/2014
  • improved images centering on expanded layout
  • improved box sizing with uniblock layout
  • fixed dark theme expanded images border
  • fixed read more button behavior if date is hidden globally
v1.22 - release date 09/07/2014
  • fixed small images horizontal centering
v1.21 - release date 07/07/2014
  • news main image's loading and resizing improved
  • useless spaces removing in news texts improved
  • fixed main image position and size on layout change
  • fixed author implementation
  • updated facebook share with facebook CDN images - according to FB policy
v1.2 - release date 27/06/2014
  • added advanced images management (+ options) in expanded mode
  • added tumblr as news source (textual-photo-link posts)
  • added option to control news title's behavior
  • added option to control news image's behavior
  • added image sizing control for inline contents
  • added "read more" button option, replacing news date
  • added public methods to stop/start slideshow and to destroy plugin instance
  • improved sizing system for news main image in expanded mode
  • fixed text shortening on page's enlarging
  • fixed vertical images loading in expanded mode
  • fixed facebook sharing now auto-limiting texts to 1000 words
v1.11 - release date 11/04/2014
  • Facebook content management improved to get bigger and original images
  • updated facebook share with facebook CDN images - according to FB policy
v1.1 - release date 04/03/2014
  • added Soundcloud source with player embedded in the lightbox
  • added image size control with thumbnails maker (requires PHP server)
  • added smart images loading system for news with images in description
  • added video option for inline news
  • iconic font replaces PNG images
  • original news texts now are kept in DOM to speed up execution
  • expanded mode - smooth expanding for news with long texts
  • expanded mode - scroll detection to keep close button and featured image always visible
  • improved facebook image detection
  • fixed Internet Explorer 11 sliding engine
  • fixed expanded behavior on browser resizing in vertical layout
  • fixed facebook social share description
  • minor bugfixes
v1.02 - release date 29/01/2014
  • fixed news title visibility navigating in expanded mode
v1.01 - release date 18/12/2013
  • images management and preloading improved
  • destruct() method improved
  • fixed news visibility bug for expanded navigation
v1.0 - release date 10/12/2013

Let's get in touch!

Features list

  • Each box can have unlimited content sources
    • ANY RSS feed
    • Youtube channels or playlists
    • Pinterest boards
    • Tumblr
    • Any RSS feed created through Zapier (eg. Facebook and Instagram)
  • Youtube video players integration
  • MagnificPopup lightbox
  • Horizonal and vertical layout + auto-switch on mobile for perfect content displaying
  • Image-mode
  • Continuous slider effect
  • Expanded contents view in box container or lightbox
  • Smart contents management with images lazy-loading to grant optimized loadings
  • Fully responsive and adapt itself to any container
  • 3 styles (minimal, light, dark)
  • Easy custom CSS setup with unlimited themes support
  • Works out of the box, without tedious configurations
  • Quick setup, requiring just few minutes to integrate it in any site
  • Mor than 30 options to control any box aspect and behavior
  • Touch & drag optimized
  • Image sizes control to optimize loadings (requires a PHP server)
  • Proper social sharing using item's data (Facebook, Twitter, Pinterest)