No commit activity in last 3 years
No release in over 3 years
DIY Video Sitemaps using The Viddler API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.1.0
~> 1.8.3
~> 2.8.0

Runtime

 Project Readme

DIY Video Sitemaps using The Viddler API (Ruby)

A simple way to create your own video sitemap files for your site. A PHP version of this (without a cli) exists at https://github.com/viddler/Video-Sitemaps

Install

$ gem install viddler-sitemaps

Run from CLI

$ viddler-sitemaps -k myapikey -u myviddlerusername -p myvidlerpass /folder/to/save/xml/files
  #=> Indexed 105 videos to /folder/to/save/xml/files

Run from your ruby code

require 'rubygems'
require 'viddler-sitemaps'

sitemap = Viddler::Sitemap.new(api_key, username, password)
indexed_videos = sitemap.generate!(folder)
puts "Indexed #{indexed_videos} videos to #{folder}"

Code Docs

http://rubydoc.info/github/viddler/video-sitemaps-ruby/master/frames