Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-04-27 Thread justinhj
Neat project, have you looked into using their web service API (http://developer.rottentomatoes.com/) rather than scraping? Hi Yeah that is a good idea. The purpose of this project was that I was finding my feet with Clojure and wanted to do something that retrieved and parsed html pages.

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-04-26 Thread justinhj
An update on this little side project to grab movie ratings from popular a movie website: I've add it to github and included the project file and updated the README https://github.com/justinhj/movieratings Also fixed it so it works with a recent change their page format. Justin -- You

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-04-26 Thread Aaron Cohen
On Tue, Apr 26, 2011 at 3:19 PM, justinhj justi...@gmail.com wrote: An update on this little side project to grab movie ratings from popular a movie website: I've add it to github and included the project file and updated the README https://github.com/justinhj/movieratings Also fixed it so

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-20 Thread Anders Rune Jensen
You might have a look at this code I wrote a while ago: https://mocomp.googlecode.com/hg/rotten-tomatoes.clj It's written using enlive :) I'm using google to search, sadly the google ajax api returns different results than normal google and they are not to keen on being hammered (fair warning

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-20 Thread justinhj
Interesting. Enliven looks way more concise for this sort of thing. Justin On Jan 20, 11:26 am, Anders Rune Jensen anders.rune.jen...@gmail.com wrote: You might have a look at this code I wrote a while ago: https://mocomp.googlecode.com/hg/rotten-tomatoes.clj It's written using enlive :)

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-19 Thread Mark Nutter
Let me also recommend swannodette's excellent Enlive tutorial: https://github.com/swannodette/enlive-tutorial It's a great way to jump into the meat and potatoes. m On Tue, Jan 18, 2011 at 7:05 PM, justinhj justi...@gmail.com wrote: Thanks for the feedback Stuart I'll check out Enliven. I'm

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-18 Thread Eric Lavigne
I'll check out Enliven. I'm currently writing an app using Compojure, Ring and Hiccup, so it would fit nicely with that too by the sound of it. I was in a small Enlive vs Hiccup discussion at the conj. Enlive was preferred by developers who worked with designers, because it allows designers to

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-16 Thread Stuart Campbell
Hi, Have you used Enlive[1]? It's a nice tool for HTML scraping and templating - it might be more robust than your regexp-based solution. It takes a bit of learning, though. Regards, Stuart [1] https://github.com/cgrand/enlive On 16 January 2011 05:57, justinhj justi...@gmail.com wrote:

Grabbing Rotten Tomatoes movie ratings in clojure

2011-01-15 Thread justinhj
Sharing my first useful Clojure program. Feedback welcome. http://bit.ly/clojure-rotten-tomatoes -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are