ngrunwald / clj-rome Goto Github PK
View Code? Open in Web Editor NEWA Clojure wrapper for the ROME feed parsing and manipulation library
A Clojure wrapper for the ROME feed parsing and manipulation library
I'm looking at wrapping Rome Fetcher (https://rometools.jira.com/wiki/display/FETCHER/Home, API is at http://www.jarvana.com/jarvana/view/net/java/dev/rome/rome-fetcher/1.0.0/rome-fetcher-1.0.0-javadoc.jar!/index.html) for a project and since I found clj-rome, I'm wondering if you like the idea of including the Fetcher wrapper in clj-rome? Or do you think two separate projects are a better idea?
Running this code in the REPL,
(def fetcher (build-url-fetcher :disk "/tmp/cache"))
(def fetched
(with-fetcher fetcher
(retrieve-feed "http://planet-muddev.disinterest.org/rss20.xml")))
results in the error,
ClassCastException clojure.lang.Var$Unbound cannot be cast to clojure.lang.Symbol clojure.core/find-ns (core.clj:3659)
The reader example works as expected.
Do I need to somehow register converters in fetcher?
Which returns maps of links with title, rel, type and href ?
Using rome-fetcher it will convert a feed entry date to a form like this,
:date #inst "..."
However trying to read this date with (read-string ...) returns nil; it seems like this is a malformed instant literal value?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.