No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 11 commits ahead of andrewmcdonough:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
backup
couplets
data
output
Gemfile
README.md
create_couplets.rb
find.rb
get_feeds.rb
get_headlines.rb
paths.rb

README.md

Ruby Poetry

Automatically generates couplets (rhymes) from article headlines.

Based on: Ruby Poetry by Andrew McDonough.

  1. get_feeds.rb Extracts feed URLs from feeds.yaml, and writes these URLs to feeds.txt (could be skipped)

  2. get_headlines.rb Downloads all feeds specified in feeds.txt, extracts the headlines of the articles in the feeds, and stores these headlines in headlines.txt.

  3. find.rb Reads in the headlines from headlines.txt and generates couplets.

TODO

  • Not 100% sure what the purpose of generate_topical_rhyming_couplets.rb was, at it just seems to combine the code of the other 3 files. Maybe this could be removed.
  • Gemfile for dependency management would be nice.