From d5dc3ccaab9e2cdd0bedfb314430a5dc0f1484d0 Mon Sep 17 00:00:00 2001 From: nefigcas Date: Fri, 15 Jul 2016 03:23:52 -0400 Subject: [PATCH] Fix some slightly errors in README and namespaces updated in core, also in project using updated dependencies --- README.markdown | 6 +++--- project.clj | 6 +++--- src/feedparser_clj/core.clj | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.markdown b/README.markdown index da5ea78..a2c636c 100644 --- a/README.markdown +++ b/README.markdown @@ -33,11 +33,11 @@ The following REPL session should give an idea about the capabilities and usage Load the package into your namespace: - user=> (ns user (:use feedparser-clj.core) (:require [clojure.contrib.string :as string])) + user=> (ns user (:use feedparser-clj.core) (:require [clojure.string :as string])) Retrieve and parse a feed: - user=> (def f (parse-feed "http://gregheartsfield.com/atom.xml")) + user=> (def f (parse-feed "https://gregheartsfield.com/atom.xml")) `parse-feed` also accepts a java.io.InputStream for reading from a file or other sources (see [clojure.java.io/input-stream](http://richhickey.github.com/clojure/clojure.java.io-api.html#clojure.java.io/input-stream)): @@ -117,4 +117,4 @@ Distributed under the BSD-3 License. Copyright --------- -Copyright (C) 2010 Greg Heartsfield \ No newline at end of file +Copyright (C) 2010 Greg Heartsfield diff --git a/project.clj b/project.clj index 8035fe9..5f41c57 100644 --- a/project.clj +++ b/project.clj @@ -1,6 +1,6 @@ (defproject org.clojars.scsibug/feedparser-clj "0.5.0" :description "Parse RSS/Atom feeds with a simple, clojure-friendly API." - :dependencies [[org.clojure/clojure "1.6.0"] - [org.jdom/jdom "2.0.2"] - [net.java.dev.rome/rome "1.0.0"]] + :dependencies [[org.clojure/clojure "1.8.0"] + [org.jdom/jdom2 "2.0.5"] + [com.rometools/rome "1.6.0"]] :main feedparser-clj.core) diff --git a/src/feedparser_clj/core.clj b/src/feedparser_clj/core.clj index 56a810d..77d9555 100644 --- a/src/feedparser_clj/core.clj +++ b/src/feedparser_clj/core.clj @@ -1,8 +1,8 @@ (ns feedparser-clj.core - (:import (com.sun.syndication.io SyndFeedInput XmlReader) + (:import (com.rometools.rome.io SyndFeedInput XmlReader) (java.net URL) (java.io InputStreamReader) - (com.sun.syndication.feed.synd SyndFeed)) + (com.rometools.rome.feed.synd SyndFeed)) (:gen-class))