GithubHelp home page GithubHelp logo

feedparser-clj's People

Contributors

daniel-gagnon avatar gonzih avatar neotyk avatar ogrim avatar pyr avatar scsibug avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

feedparser-clj's Issues

Readme example rss feed broken.

Trying to run the example command (parse-feed "http://gregheartsfield.com/atom.xml")

throws following error:

SAXParseException The element type "hr" must be terminated by the matching end-tag "". com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException (ErrorHandlerWrapper.java:203)

I've verified that other feeds work as expected.

-main function present

Having a -main function in core.clj means that I am not able to have my own -main function where ever I :use the feedparser.

Is this ok? I'm new to Clojure so I might be wrong about this

HTML titles

In order to support entry titles with HTML markup, feedparser-clj should somehow expose ROME's getTitleEx. I can't say whether it would be better to replace or to supplement the existing :title attribute, though.

parse-feed does not follow HTTP 302 redirects

For example running (parse-feed "http://engineering.tumblr.com/rss") throws:

SAXParseException Premature end of file. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException (ErrorHandlerWrapper.java:203)

$ curl -I http://engineering.tumblr.com/rss
HTTP/1.1 302 Found
Server: openresty
Date: Wed, 26 Jul 2017 14:01:55 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Strict-Transport-Security: max-age=15552001
Location: https://engineering.tumblr.com/rss#_=_

Clojars

Would you consider publishing this library on clojars?
Installing from local source makes usage more cumbersome in deployment scenarios.
Thank you in advance.

Parser does not respect xml encoding.

Hi, I'm using your amazing lib in my feeds2imap.clj project. Recently one person reported issue with this feed http://ibash.org.ru/rss.xml. Looks like feed is using windows-1251 encoding (which is horrible), but still. Is there any way to make parser respect encoding specified in xml and convert everything to unicode?

Thanks!

Support id/guid

Could you add support for the id/guid tag? Not all feeds include them, but when they do it's quite handy.

It would be nice to have a built-in way to access entries by id too, but all I really need is an :id key in the entry struct.

Ability to control user-agent would be just swell

Some RSS feed providers refuse connections according to user-agent strings (one, two)

It sure would be real nice to be able to pass in a custom user-agent string so that I'm able to use feedparser-clj to consume feeds that I'm already able to consume from the browser or curl.

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.