I hereby claim:
- I am manton on github.
- I am manton (https://keybase.io/manton) on keybase.
- I have a public key ASDE7nz_tYBc04bz--VH2lDhzl46tER3DGjtpZcSt3q-HQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# run with: ruby jsonfeed_convert_rss.rb "http://therecord.co/xml/rss.xml" | |
# also make sure to "gem install simple-rss" first | |
require 'rubygems' | |
require 'simple-rss' | |
require 'open-uri' | |
require 'json' | |
rss_url = ARGV[0] |
Username / actor creating the post:
@[email protected]
https://manton.org/activitypub/manton
Follower receiving the post:
require "json" | |
require "cgi" | |
# JSON Feed file, folder of MP3s, and Micro.blog 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(IO.read(json_path)) | |
episodes = info["items"] |
# Mastodon ActivityStreams (.tar.gz) file to Blog Archive (.bar) converter | |
# by Manton Reece | |
# MIT license | |
require 'rubygems' | |
require 'zip' | |
require 'zlib' | |
require 'minitar' | |
require 'json' | |
require 'fileutils' |