Skip to content

Instantly share code, notes, and snippets.

@gkatsev
Last active June 30, 2016 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gkatsev/ed376d701ae71e5fe25da9344c131ecb to your computer and use it in GitHub Desktop.
Save gkatsev/ed376d701ae71e5fe25da9344c131ecb to your computer and use it in GitHub Desktop.
iPad & iPhone Video Poster Fix (bonus Javascript Placement Fix) post/35888138568/ipad-iphone-video-poster-fix-bonus-javascript-placement/index.html
VideoJS is IE9 Compatible post/35888302484/videojs-is-ie9-compatible/index.html
New Player Skin Designer for Video.js post/55553002104/new-player-skin-designer-for-videojs/index.html
New VideoJS Site (Now with more HTML5)! post/35888462908/new-videojs-site-now-with-more-html5/index.html
Video.js 4.1.0 Released post/54136228059/videojs-410-released/index.html
Video.js version 4.3.0 released w/ shiny new API docs post/66138384272/videojs-version-430-released-w-shiny-new-api/index.html
Repo Moved! post/49797985868/repo-moved/index.html
Video.js 4.2.0 released! RTMP, CSS designer, and stability post/60471080014/videojs-420-released-rtmp-css-designer-and/index.html
4.2.2 Patch Release post/64150919930/422-patch-release/index.html
Running Video.js unit tests in real browsers with Karma post/61644484835/running-videojs-unit-tests-in-real-browsers-with/index.html
Version 3.2 Update post/35883671470/version-3-2-update/index.html
Site and Support Updates post/35788231775/site-and-support-updates/index.html
Unauthorized modification of Video.js CDN files post/61309840958/unauthorized-modification-of-videojs-cdn-files/index.html
Lynda.com HTML5 Video Tutorial Released post/35884942031/lynda-com-html5-video-tutorial-released/index.html
Video.js 4.0 now available! post/50021214078/videojs-40-now-available/index.html
How are you using video.js? post/35885081376/how-are-you-using-video-js/index.html
Brightcove Acquires Zencoder post/35666994917/brightcove-acquires-zencoder/index.html
The Guardian uses Video.js in feature article post/66131645152/the-guardian-uses-videojs-in-feature-article/index.html
Video.js Version 3.0! post/35884704314/video-js-v-3-0/index.html
Hiding and Showing Video Player Controls post/57828375480/hiding-and-showing-video-player-controls/index.html
Version 3.1 Update post/35884369527/version-3-1-update/index.html
It's here: 5.0 release candidates! post/121061752226/its-here-50-release-candidates/index.html
Video.js 4.12 - The last of the 4 minors post/111390879116/videojs-412-the-last-of-the-4-minors/index.html
New MPEG LA WebM/VP8 Patent Pool post/35885249818/new-mpeg-la-webmvp8-patent-pool/index.html
Apple adds AirPlay to Mobile Safari post/35885444487/apple-adds-airplay-to-mobile-safari/index.html
Video.js 4.8.0 released...Prost! post/96564061826/videojs-480-releasedprost/index.html
Video.js 4.9 - Now <audio> can join the party! post/99014232526/videojs-49-now-audio-can-join-the-party/index.html
Video.js 5: The Only Thing That’s Changed Is Everything...except for like 3 things that didn't (including the name). post/130143694631/video-js-5/index.html
DASH Everywhere-ish (hack project) post/92536319027/dash-everywhere-ish-hack-project/index.html
Video.js version 4.6.0 released! It's been a productive month. post/86341869931/videojs-version-460-released-its-been-a/index.html
Video.js v4.7.0 - Built mostly by NEW contributors! Also Google chooses Video.js post/93989313276/videojs-v470-built-mostly-by-new/index.html
Video.js version 4.3.0 released w/ shiny new API docs post/66138384272/videojs-version-430-released-w-shiny-new-api/index.html
The Guardian uses Video.js in feature article post/66131645152/the-guardian-uses-videojs-in-feature-article/index.html
Video.js version 4.4.0 released - Now supporting RequireJS and Browserify post/77214236892/videojs-version-440-released-now-supporting/index.html
Video.js version 4.5.0 released! Nothing to see here, move along post/80918861872/videojs-version-450-released-nothing-to-see/index.html
4.2.2 Patch Release post/64150919930/422-patch-release/index.html
Running Video.js unit tests in real browsers with Karma post/61644484835/running-videojs-unit-tests-in-real-browsers-with/index.html
Video.js 4.2.0 released! RTMP, CSS designer, and stability post/60471080014/videojs-420-released-rtmp-css-designer-and/index.html
Hiding and Showing Video Player Controls post/57828375480/hiding-and-showing-video-player-controls/index.html
Unauthorized modification of Video.js CDN files post/61309840958/unauthorized-modification-of-videojs-cdn-files/index.html
New Player Skin Designer for Video.js post/55553002104/new-player-skin-designer-for-videojs/index.html
Over 50% of web users now support HTML5 Video post/35885839763/html5-video-statistics/index.html
2.0.0 Release -€“ Behaviors, fallback APIs, and more. post/35887003151/2-0-0-release-behaviors-and-apis/index.html
Make sites serve you HTML5 video in Safari post/35887203978/make-sites-serve-you-html5-video-in-safari/index.html
Version 1.1.4 Release - CSS Loading Spinner & More post/35887609277/version-1-1-4-release/index.html
1.1.5 Release - Subtitles using track, Android fix & more post/35887428303/1-1-5-release-subtitles-using-track-android-fix-more/index.html
Facebook Adds HTML5 Video post/35887879903/facebook-adds-html5-video/index.html
2.0.2 Release - Subtitle Optimization + Safari on Leopard FS Fix post/35886359508/2-0-2-release-subtitle-optimization-safari-on-leopard-fs/index.html
Video.js 4.0 now available! post/50021214078/videojs-40-now-available/index.html
Google is dropping h.264 from Chrome post/35885627647/google-is-dropping-h-264-from-chrome/index.html
Video.js 4.1.0 Released post/54136228059/videojs-410-released/index.html
HTML5 Video + Google Maps Mashup post/35886098711/html5-video-google-maps-mashup/index.html
Version 1.1.3 Release post/35887731208/version-1-1-3-release/index.html
{
"name": "posts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"request": "^2.72.0",
"rss-parser": "^2.2.4",
"shelljs": "^0.7.0"
}
}
var request = require('request');
var rss = require('rss-parser');
var sh = require('shelljs');
var rssUrls = ['', 'page/2/', 'page/3/', 'page/4/', 'page/5/'];
rssUrls
.map(function(i) { return 'http://blog.videojs.com/{{i}}rss'.replace('{{i}}', i); })
.forEach(function(url) {
rss.parseURL(url, function(err, parsed) {
if (err) {
return console.error(err);
}
parsed.feed.entries.forEach((entry) => {
request(entry.link, {followRedirect: false}, function(err, res, body) {
var location = res.headers.location;
var path = location.slice(24).split('#')[0];
path += '/index.html';
console.log(entry.title, path);
});
});
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment