Giter Club home page Giter Club logo

Comments (7)

sritchie avatar sritchie commented on August 21, 2024

This would be great for porting enlive over to ClojureScript. (@cgrand, do you know if anyone's tried enlive + clojurescript yet?)

from enlive.

mamciek avatar mamciek commented on August 21, 2024

Any developments on this?

from enlive.

ifesdjeen avatar ifesdjeen commented on August 21, 2024

@robertpfeiffer could you show a more elaborate example of an alternative HTML parser?

from enlive.

cgrand avatar cgrand commented on August 21, 2024

@ifesdjeen being implicitly tied to TagSoup is no good.
The real problem is the implicit reference to html-resource. *ml-resource fns do two things: get the resource and parse it. These two should be cleanly "decomplected" and composable: pluggable way to get resources (eg full-fledged http agent) and pluggable parsers.

from enlive.

ifesdjeen avatar ifesdjeen commented on August 21, 2024

I see the point, right. I've seen at least 2 more tickets/discussions about pluggable backends and stuff.
I'll try to throw in some prototype, it sounds like something possible.

from enlive.

cgrand avatar cgrand commented on August 21, 2024

The hardest part is API design, not implementation. So example code is
enough of a prototype to me. Don't wade time on a working prototype.

Le vendredi 11 janvier 2013, Alex P a Γ©crit :

I see the point, right. I've seen at least 2 more tickets/discussions
about pluggable backends and stuff.
I'll try to throw in some prototype, it sounds like something possible.

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-12141180.

On Clojure http://clj-me.cgrand.net/
Clojure Programming http://clojurebook.com
Training, Consulting & Contracting http://lambdanext.eu/

from enlive.

cgrand avatar cgrand commented on August 21, 2024

Ok, pluggable parsers are on the main branch now. See https://groups.google.com/d/topic/enlive-clj/snlJmmi5M7k/discussion

from enlive.

Related Issues (20)

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.