While playing around with the tutorial I noticed some odd printouts:
=> (print-headlines-and-points)
Porting dl.google.com from C++ to Go (153 points)
DoorDash (YC S13) Delivers Food Quickly In South Bay, Hopes To Expand Beyond Food (23 points)
Free email address validation API for web forms (144 points)
Big-O notation explained by a self-taught programmer (69 points)
The Financial Times on Edward Tufte (61 points)
Apple’s Developer Center Is Back After Over a Week Offline (39 points)
Scientist banned from revealing codes used to start luxury cars (46 points)
They Know Much More Than You Think (18 points)
Superbrothers: Sword & Sworcery sales statistics (62 points)
Simple API with Nginx and PostgreSQL (124 points)
Sellbox – Sell your files from Dropbox and Google Drive with Paypal (68 points)
Hacker Barnaby Jack has died (188 points)
Ashton Kutcher annotates Steve Jobs' 1982 Academy of Achievement speech (16 points)
Did Frank Lloyd Wright create America's greatest office? (61 points)
Kindergarten coders can program before they can read (35 points)
ChessBoardJS (119 points)
Spy agencies ban Lenovo PCs on security grounds (86 points)
My RabbitMQ setup for notifications (78 points)
New edX courses (46 points)
Chinese firm Huawei controls net filter praised by PM (238 points)
Lawmakers Who Upheld NSA Phone Spying Received Double the Defense Industry Cash (79 points)
Donate to Replicant and support free software on mobile devices (31 points)
Android Bug Superior to Master Key (87 points)
How to kill an unresponsive SSH session (165 points)
Report Invalid Whois Contact Information to ICANN? (18 points)
How to slaughter a patent troll in 5 steps (6 points)
Court grants Chevron access to 9 years of email data of activists, critics [pdf] (scribd)
111 points (Feds tell web firms to turn over user passwords)
209 points (Hidden “App Ops” Feature in Android 4.3 Lets You Disable Permissions From Apps)
55 points (Distributed Actors in Java and Clojure)
60 points (More)
nil
It seems like the composite selector, #{[:td.title :a] [:td.subtext html/first-child]}, is incorrectly selecting bits of the page. By itself it seems fine:
While playing around with the tutorial I noticed some odd printouts:
It seems like the composite selector,
#{[:td.title :a] [:td.subtext html/first-child]}
, is incorrectly selecting bits of the page. By itself it seems fine:But with the additional selector:
I'm using Enlive 1.1.1 and Clojure 1.4.0.