Skip to content

Instantly share code, notes, and snippets.

View timetable_import.rb
require "json"
require "cgi"
# JSON Feed file, folder of MP3s, and auth token
json_path = "/Users/manton/Dropbox/Documents/Timetable/Backup/timetable_posts.json"
episodes_path = "/Users/manton/Dropbox/Documents/Timetable/Episodes"
token = "..."
info = JSON.parse(
episodes = info["items"]

Username / actor creating the post:

Follower receiving the post:

View jsonfeed_convert_rss.rb
# run with: ruby jsonfeed_convert_rss.rb ""
# also make sure to "gem install simple-rss" first
require 'rubygems'
require 'simple-rss'
require 'open-uri'
require 'json'
rss_url = ARGV[0]

Keybase proof

I hereby claim:

  • I am manton on github.
  • I am manton ( on keybase.
  • I have a public key ASDE7nz_tYBc04bz--VH2lDhzl46tER3DGjtpZcSt3q-HQo

To claim this, I am signing this object: