From d60d06cd18987f2306692601fae41fd668c36059 Mon Sep 17 00:00:00 2001 From: LWFlouisa Date: Fri, 29 May 2020 23:31:19 -0400 Subject: [PATCH] Add 'tag_exporter.rb' --- tag_exporter.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tag_exporter.rb diff --git a/tag_exporter.rb b/tag_exporter.rb new file mode 100644 index 0000000..6c941cb --- /dev/null +++ b/tag_exporter.rb @@ -0,0 +1,18 @@ +time = time.new + +date = "#{time.day}#{time.month}#{time.year}" + +diaspora_node = "https://diasp.org/people/f7b134e080630138a53e047d7b62795e" +mastodon_node = "https://mastodon.social/@LWFlouisa" + +print "Your Post >> "; post = gets.chomp + +promotion = "#{date} +#{post} + +If you want to see my full posts: #{diaspora_node} #{mastodon_node}, some nice people here. +" + +open("output.txt", "w") { |f| + f.puts +} \ No newline at end of file