Giter Site home page Giter Site logo

error on fetcher example about clj-rome HOT 3 CLOSED

 avatar commented on August 17, 2024
error on fetcher example

from clj-rome.

Comments (3)

 avatar commented on August 17, 2024

After some experimentation I got the fetcher example working by:

  • copying the reader.clj register-converters to fetcher.clj
  • changing the fetcher.clj ns macro to (require ... :as) rather than (use ... :as) (not sure if that was a problem?)
  • changing the retrieve-feed fn so that gav/translate takes a :nspace like it does in reader.clj

However I'm not sure if this is really the solution, though I'd be happy to make a pull request if this looks right to you.

from clj-rome.

ngrunwald avatar ngrunwald commented on August 17, 2024

yes, sorry about this, the gavagai API has been somewhat in flux lately as it is nearing it's first stable release and I have failed to keep the rome fetcher in sync. The commit 5c4ebfb should fix this. Actually, only your third modification was really necessary, it fits the new gavagai API where translation are namespace local. I have pushed a new snapshot to Clojars and I hope to get a stable 0.3 soon (as soon as I have a stable gavagai release really). Tell me if this fixes it for you!

from clj-rome.

 avatar commented on August 17, 2024

Thanks for the prompt fix, pulled down the new snapshot and it works great. Also I like what you've done with clj-rome + gavagai, nice work.

from clj-rome.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.