chriseidhof / pomotv

http://www.pomo.tv
182 stars 29 forks source link

Add twitterfeed.xml for posting to twitter #94

Closed tomlokhorst closed 8 years ago

tomlokhorst commented 8 years ago

The twitter account @pomo_tv mentioned in https://github.com/chriseidhof/pomotv/issues/93 reads this feed to post to twitter.

This is my first Ruby code, so I would appreciate a review. I've copied and slightly modified recent.xml.erb to twitterfeed.xml.erb. In particular, I'm not sure if the HTML escaping in the text/plain is correct here.

chriseidhof commented 8 years ago

Oh, cool!

If you rebase from master, there's now a new task at the bottom of the Rakefile. You should be able to add the line Helpers.validate_feed 'build/twitterfeed.xml' and have your feed validated automatically. You can run the task with rake lint:feeds.

tomlokhorst commented 8 years ago

I've updated the Rakefile.

chriseidhof commented 8 years ago

Great, thank you!