This creates a new element instagram-box
element which displays 12 recent images with a specific tag.
Taken out of a project due to the polyfill failing in IE9. Works natively in Chrome, needs polyfilled for all other browsers.
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
watch = require('gulp-watch'), | |
to5 = require('gulp-6to5'), | |
browserify = require('gulp-browserify'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
runSequence = require('run-sequence'); | |
gulp.task('watch', function () { |
input { | |
font-size: 16px; | |
} |
https://cdn.syndication.twimg.com/widgets/timelines/[WIDGET URL]?suppress_response_codes=true&callback=?
Create a Twitter embed widget and then take the ID number from URL and swap the [WIDGET URL]
with this ID. Then just use as you wish to get access to the data. With jQuery I use..
$.getJSON('https://cdn.syndication.twimg.com/widgets/timelines/[WIDGET URL]?suppress_response_codes=true&callback=?', function (data) {
var $html = $(d.body)
// Do something with the return HTML
});
module.exports = function (grunt) { | |
grunt.initConfig({ | |
// Some other grunt tasks | |
iisexpress: { | |
server: { | |
options: { | |
path: require('path').resolve('.') + '/[PATH OF WEBSITE HERE]', | |
killOn: 'iis.kill' | |
} | |
} |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Caching; | |
using System.IO; | |
using Umbraco.Core.Models; | |
using Umbraco.Core.Logging; | |
/// <summary> |