Giter Site home page Giter Site logo

hiccup-bridge's People

Contributors

kevincolyar 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

hiccup-bridge's Issues

Fails on minimal complete HTML page

I try this:

 (hicv/html->hiccup "<!DOCTYPE html><html><body>Hello</body></html>")

I get

NullPointerException   clojure.core/name (core.clj:1518)

I had expected, of course, that it be OK with that HTML page and return a nice bit of hiccup.

Without the Doctype, it works fine.

What is the lein and command line syntax

Hi Takahiro,

Sorry, I don't know how this works.

I tried running it with an index.html file, in the hiccup-bridge project folder,

 lein hicv 2clj index.html

and I just get an 'hicv is not a task' error.

In my profiles.clj, in the :plugins section, there is a [org.clojars.hozumi/hiccup-bridge "1.0.1"]

I tried generating a standalone version of Hiccup-bridge, going to the project/target folder, and then

 java -jar hiccup-bridge-1.0.1-standalone.jar hicv 2clj index.html

, and get a file not found error.

I then tried

 java -jar hiccup-bridge-1.0.1-standalone.jar index.html

, and it doesn't understand the <!doctype> tag.

If I remove the tag, then it's unable to resolve the symbol.

Clueless, here. How should this be run, standalone?

Work with leiningen 2

Hello, just installed as leinengen 2 plugin via file:
~/.lein/profiles.clj

And getting this error:

$ lein hicv 2clj 1.html
Could not locate to_hiccup/core__init.class or to_hiccup/core.clj on classpath:

Couldn't find project.clj

elliottw% mkdir hicv
elliottw% curl https://github.com/ > hicv/github.html
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 22830  100 22830    0     0  33825      0 --:--:-- --:--:-- --:--:-- 83626
elliottw% ls -l hicv 
total 24
-rw-r--r-- 1 elliottw elliottw 22830 Sep 14 19:35 github.html
elliottw% lein hicv 2clj
Couldn't find project.clj, which is needed for hicv

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.