I was doing my usual thing at lunch today (watching a TED talk as I ate) and noticed the url said http://www.ted.com/talks/view/id/201. I have been watching a lot of these videos lately, and I decided I might as well watch them in order. I wrote a quick ruby / Mechanize script (source below) to loop through videos 1-201 and fetch the titles for each. Some of the titles did not have the speaker/topic, but most did. Here they are:

  1. TED | Talks | Al Gore: 15 ways to avert a climate crisis (video)
  2. TED | Talks | Amy Smith: Simple designs that could save millions of childrens' lives (video)
  3. TED | Talks | Ashraf Ghani: How to fix broken states (video)
  4. TED | Talks | Burt Rutan: Entrepreneurs are the future of space flight (video)
  5. TED | Talks | Chris Bangle: Great cars are Art (video)
  6. TED | Talks | Craig Venter: A voyage of DNA, genes and the sea (video)
  7. TED | Talks | David Pogue: When it comes to tech, simplicity sells (video)
  8. TED | Talks | David Rockwell: Building the Ground Zero viewing platform (video)
  9. TED | Talks | Dean Kamen: Rolling along, helping students and the third world (video)
  10. TED | Talks | Dr. Dean Ornish: The world now eats (and dies) like Americans (video)
  11. TED | Talks | Jane Goodall: What separates us from the apes? (video)
  12. TED | Talks | Eva Vertes: My dream about the future of medicine (video)
  13. TED | Talks
  14. TED | Talks | Golan Levin: The truly soft side of software (video)
  15. TED | Talks | Gregory Colbert: Gorgeous video from "Ashes and Snow" (video)
  16. TED | Talks | Helen Fisher: The science of love, and the future of women (video)
  17. TED | Talks
  18. TED | Talks | Janine Benyus: 12 sustainable design ideas from nature (video)
  19. TED | Talks | Kevin Kelly: How does technology evolve? Like we did (video)
  20. TED | Talks | Malcolm Gladwell: What we can learn from spaghetti sauce (video)
  21. TED | Talks | Mena Trott: Building a friendlier world through blogs (video)
  22. TED | Talks | Michael Shermer: Why people believe strange things (video)
  23. TED | Talks | Peter Gabriel: Fighting injustice with a videocamera (video)
  24. TED | Talks | Pilobolus: A performance merging dance and biology (video)
  25. TED | Talks | Richard Baraniuk: Goodbye, textbooks; hello, open-source learning (video)
  26. TED | Talks | Rives: "If I controlled the Internet" (a poem) (video)
  27. TED | Talks | Ross Lovegrove: The power and beauty of organic design (video)
  28. TED | Talks | Seth Godin: Sliced bread and other marketing delights (video)
  29. TED | Talks | Steven Levitt: Why do crack dealers still live with their moms? (video)
  30. TED | Talks
  31. TED | Talks | Thom Mayne: Architecture is a new way to connect to the world (video)
  32. TED | Talks | Vik Muniz: Art with wire, thread, sugar, chocolate (video)
  33. TED | Talks | Thomas Barnett: The Pentagon's new map for war and peace (video)
  34. TED | Talks | Phil Borges: Documenting our endangered cultures (video)
  35. TED | Talks | James Watson: The double helix and today's DNA mysteries (video)
  36. TED | Talks | Robert Neuwirth: The "shadow cities" of the future (video)
  37. TED | Talks | Jimmy Wales: How a ragtag band created Wikipedia (video)
  38. TED | Talks | Ray Kurzweil: How technology's accelerating power will transform us (video)
  39. TED | Talks | Aubrey de Grey: Why we age and how we can avoid it (video)
  40. TED | Talks | Frans Lanting: A lyrical view of life on Earth (video)
  41. TED | Talks | Nicholas Negroponte: The vision behind One Laptop Per Child (video)
  42. TED | Talks | Sir Martin Rees: Earth in its final century? (video)
  43. TED | Talks | Paul Bennett: Design is in the details (video)
  44. TED | Talks | Nick Bostrom: Humanity's biggest problems aren't what you think they are (video)
  45. TED | Talks | Sirena Huang: Dazzling set by 11-year-old violinist (video)
  46. TED | Talks | Jennifer Lin: Magical improv from 14-year-old pianist (video)
  47. TED | Talks | David Deutsch: What is our place in the cosmos? (video)
  48. TED | Talks | Saul Griffith: Hardware solutions to everyday problems (video)
  49. TED | Talks | Joshua Prince-Ramus: Designing the Seattle Central Library (video)
  50. TED | Talks | Stefan Sagmeister: Yes, design can make you happy (video)
  51. TED | Talks | Amory Lovins: We must win the oil endgame (video)
  52. TED | Talks
  53. TED | Talks | Majora Carter: Greening the ghetto (video)
  54. TED | Talks | Cameron Sinclair: TED Prize wish: Open-source architecture to house the world (video)
  55. TED | Talks | Jehane Noujaim: TED Prize wish: Unite the world on Pangea Day, a global day of film (video)
  56. TED | Talks | Edward Burtynsky: TED Prize wish: Share the story of Earth's manufactured landscapes (video)
  57. TED | Talks | Robert Fischell: TED Prize wish: Finding new cures for migraine, depression, malpractice (video)
  58. TED | Talks | Larry Brilliant: TED Prize wish: Help stop the next pandemic (video)
  59. TED | Talks | Bono: TED Prize wish: Join my call to action on Africa (video)
  60. TED | Talks | Anna Deavere Smith: Four American characters (video)
  61. TED | Talks | Steven Johnson: A guided tour of the Ghost Map (video)
  62. TED | Talks | Bjorn Lomborg: Our priorities for saving the world (video)
  63. TED | Talks | Charles Leadbeater: The rise of the amateur professional (video)
  64. TED | Talks | Eve Ensler: Finding happiness in body and soul (video)
  65. TED | Talks | Jeff Han: Unveiling the genius of multi-touch interface design (video)
  66. TED | Talks | Sir Ken Robinson: Do schools kill creativity? (video)
  67. TED | Talks | Peter Donnelly: How juries are fooled by statistics (video)
  68. TED | Talks | Robert Wright: How cooperation (eventually) trumps conflict (video)
  69. TED | Talks | Wade Davis: Cultures at the far edge of the world (video)
  70. TED | Talks | Richard St. John: Secrets of success in 8 words, 3 minutes (video)
  71. TED | Talks | Rick Warren: Living a life of purpose (video)
  72. TED | Talks | Chris Anderson: Technology's Long Tail (video)
  73. TED | Talks | Carl Honore: Slowing down in a world built for speed (video)
  74. TED | Talks | Alex Steffen: Inspired ideas for a sustainable future (video)
  75. TED | Talks | Sasa Vucinic: A new way to invest in press freedom (video)
  76. TED | Talks | Susan Savage-Rumbaugh: Apes that write, start fires and play Pac-Man (video)
  77. TED | Talks | Sheila Patek: Measuring the fastest animal on earth (video)
  78. TED | Talks | Al Seckel: Your brain is badly wired -- enjoy it! (video)
  79. TED | Talks | Iqbal Quadir: The power of the mobile phone to end poverty (video)
  80. TED | Talks | Juan Enriquez: Decoding the future with genomics (video)
  81. TED | Talks | Nora York: "What I Want" (video)
  82. TED | Talks | Dean Kamen: New prosthetic arm for veterans (video)
  83. TED | Talks | E.O. Wilson: TED Prize wish: Help build the Encyclopedia of Life (video)
  84. TED | Talks | James Nachtwey: TED Prize wish: Share a vital story with the world (video)
  85. TED | Talks | Bill Clinton: TED Prize wish: Let's build a health care system in Rwanda (video)
  86. TED | Talks | Julia Sweeney: "Letting Go of God" (an excerpt) (video)
  87. TED | Talks | Ze Frank: What's so funny about the Web? (video)
  88. TED | Talks
  89. TED | Talks | Ben Saunders: Three things to know before you ski to the North Pole (video)
  90. TED | Talks | Neil Gershenfeld: The beckoning promise of personal fabrication (video)
  91. TED | Talks | Jacqueline Novogratz: Investing in Africa's own solutions (video)
  92. TED | Talks | Hans Rosling: Debunking third-world myths with the best stats you've ever seen (video)
  93. TED | Talks | Barry Schwartz: The paradox of choice (video)
  94. TED | Talks | Dan Dennett: A secular, scientific rebuttal to Rick Warren (video)
  95. TED | Talks
  96. TED | Talks | Tony Robbins: Why we do what we do, and how we can do it better (video)
  97. TED | Talks | Dan Gilbert: Why are we happy? Why aren't we happy? (video)
  98. TED | Talks | Richard Dawkins: The universe is queerer than we can suppose (video)
  99. TED | Talks | Jill Sobule: A happy song about global warming (video)
  100. TED | Talks
  101. TED | Talks | Caroline Lavelle: A cello performance that casts a spell (video)
  102. TED | Talks | Dan Dennett: Can we know our own minds? (video)
  103. TED | Talks | Evelyn Glennie: How to listen to music with your whole body (video)
  104. TED | Talks | William McDonough: The wisdom of designing Cradle to Cradle (video)
  105. TED | Talks | Jeff Bezos: After the gold rush, there's innovation ahead (video)
  106. TED | Talks
  107. TED | Talks
  108. TED | Talks | Rives: A mockingbird remix of TED2006 (video)
  109. TED | Talks | Eddi Reader, Thomas Dolby: "What You Do With What You've Got" (video)
  110. TED | Talks | Eddi Reader: "Kiteflyer's Hill" (video)
  111. TED | Talks
  112. TED | Talks | Rev. Tom Honey: How could God have allowed the tsunami? (video)
  113. TED | Talks | Richard Dawkins: An atheist's call to arms (video)
  114. TED | Talks | Tom Rielly: A comic send-up of TED2006 (video)
  115. TED | Talks | Thomas Dolby: With Rachelle Garniez, "La Vie en Rose" (video)
  116. TED | Talks | Dan Dennett: Ants, terrorism, and the awesome power of memes (video)
  117. TED | Talks | Natalie MacMaster, Thomas Dolby: Fiddling in reel time (video)
  118. TED | Talks | Sergey Brin and Larry Page: Inside the Google machine (video)
  119. TED | Talks | Stew: "Black Men Ski" (video)
  120. TED | Talks
  121. TED | Talks | James Howard Kunstler: The tragedy of suburbia (video)
  122. TED | Talks | David Kelley: The future of design is human-centered (video)
  123. TED | Talks | Stewart Brand: Why squatter cities are a good thing (video)
  124. TED | Talks
  125. TED | Talks | Jeff Hawkins: Brain science is about to fundamentally change computing (video)
  126. TED | Talks | Tierney Thys: Swim with giant sunfish in the open ocean (video)
  127. TED | Talks | Ngozi Okonjo-Iweala: How to help Africa? Do business there (video)
  128. TED | Talks | John Doerr: Seeking salvation and profit in greentech (video)
  129. TED | Talks | Blaise Aguera y Arcas: Jaw-dropping Photosynth demo (video)
  130. TED | Talks | Bob Thurman: Becoming Buddha -- on the Web (video)
  131. TED | Talks | Anand Agarawala: BumpTop desktop is a beautiful mess (video)
  132. TED | Talks
  133. TED | Talks
  134. TED | Talks
  135. TED | Talks
  136. TED | Talks
  137. TED | Talks
  138. TED | Talks | Ethel: "Blue Room" (video)
  139. TED | Talks | Stephen Lawler: Look! Up in the sky! It's Virtual Earth! (video)
  140. TED | Talks | Hans Rosling: New insights on poverty and life around the world (video)
  141. TED | Talks | Bill Stone: Journey to the center of the Earth ... and beyond! (video)
  142. TED | Talks | Alan Russell: Why can't we grow new body parts? (video)
  143. TED | Talks | Emily Oster: What do we really know about the spread of AIDS? (video)
  144. TED | Talks | Jonathan Harris: The Web's secret stories (video)
  145. TED | Talks
  146. TED | Talks | Will Wright: Toys that make worlds (video)
  147. TED | Talks | David Bolinsky: Fantastic voyage inside a cell (video)
  148. TED | Talks | Rives: Is 4 a.m. the new midnight? (video)
  149. TED | Talks | Allison Hunt: How I got my new hip (video)
  150. TED | Talks
  151. TED | Talks | George Ayittey: Cheetahs vs. Hippos for Africa's future (video)
  152. TED | Talks | Ngozi Okonjo-Iweala: Let's have a deeper discussion on aid (video)
  153. TED | Talks | William Kamkwamba: How I built my family a windmill (video)
  154. TED | Talks | Euvin Naidoo: Africa as an investment (video)
  155. TED | Talks | Chris Abani: Learning the stories of Africa (video)
  156. TED | Talks | Patrick Awuah: Educating a new generation of African leaders (video)
  157. TED | Talks | Jacqueline Novogratz: Tackling poverty with "patient capital" (video)
  158. TED | Talks | Vusi Mahlasela: "Thula Mama" (video)
  159. TED | Talks | Andrew Mwenda: Let's take a new look at African aid (video)
  160. TED | Talks
  161. TED | Talks | Erin McKean: Redefining the dictionary (video)
  162. TED | Talks | Theo Jansen: The art of creating creatures (video)
  163. TED | Talks | Steven Pinker: A brief history of violence (video)
  164. TED | Talks | Steven Pinker: The stuff of thought (video)
  165. TED | Talks | Hod Lipson: Robots that are "self-aware" (video)
  166. TED | Talks
  167. TED | Talks | Stephen Petranek: 10 ways the world could end (video)
  168. TED | Talks | Zeresenay Alemseged: Finding the origins of humanity (video)
  169. TED | Talks | Vusi Mahlasela: "Woza" (video)
  170. TED | Talks | Jeff Skoll: Making movies that make change (video)
  171. TED | Talks | Deborah Scranton: Scenes from "The War Tapes" (video)
  172. TED | Talks | John Maeda: Simplicity patterns (video)
  173. TED | Talks
  174. TED | Talks
  175. TED | Talks
  176. TED | Talks | Paul MacCready: Flying on solar wings (video)
  177. TED | Talks | Larry Brilliant: The case for informed optimism (video)
  178. TED | Talks | Carolyn Porco: Fly me to the moons of Saturn (video)
  179. TED | Talks | Kenichi Ebina: Hip-hop dance and a little magic (video)
  180. TED | Talks
  181. TED | Talks | Richard Branson: Life at 30,000 feet (video)
  182. TED | Talks | Maira Kalman: The illustrated woman (video)
  183. TED | Talks | Paul Rothemund: Casting spells with DNA (video)
  184. TED | Talks | Vilayanur Ramachandran: A journey to the center of your mind (video)
  185. TED | Talks | Eleni Gabre-Madhin: Building a commodities market in Ethiopia (video)
  186. TED | Talks
  187. TED | Talks | Larry Lessig: How creativity is being strangled by the law (video)
  188. TED | Talks
  189. TED | Talks | Sherwin Nuland: My history of electroshock therapy (video)
  190. TED | Talks | Jan Chipchase: Our cell phones, ourselves (video)
  191. TED | Talks | Matthieu Ricard: Habits of happiness (video)
  192. TED | Talks | David Keith: A surprising idea for "solving" climate change (video)
  193. TED | Talks | Juan Enriquez: Why can't we grow new energy? (video)
  194. TED | Talks | Murray Gell-Mann: Beauty and truth in physics (video)
  195. TED | Talks | Robert Full: Secrets of movement, from geckos and roaches (video)
  196. TED | Talks
  197. TED | Talks | Philippe Starck: Why design? (video)
  198. TED | Talks | Ron Eglash: African fractals, in buildings and braids (video)
  199. TED | Talks | Arthur Benjamin: Lightning calculation and other "Mathemagic" (video)
  200. TED | Talks | Daniel Goleman: Why aren’t we all Good Samaritans? (video)
  201. TED | Talks | Lakshmi Pratury: The lost art of letter-writing (video)

Quick and dirty ruby code:



#!/usr/bin/env ruby



require 'rubygems'

require 'mechanize'



html = "<ol>"



agent = WWW::Mechanize.new



201.times do |i|

  url = "http://www.ted.com/talks/view/id/#{i+1}"

  begin

    page = agent.get url

    line = "<li><a href='#{url}'>#{page.title}</a></li>"

  rescue Exception => e

    line = "<li>Couldn't fetch #{i+1}</li>"

  end

  html += line

  puts line # show me where you are

end



html += "</ol>"



o = File.open('ted.html', "w")

o.write(html)

o.close

( I was looking in the rdoc for a way to do a HEAD request instead of a GET to save some time, but couldn’t find out how. Didn’t feel like messing with curl, so I just stuck with the GET. )