Giter VIP home page Giter VIP logo

Comments (3)

glennjones avatar glennjones commented on July 23, 2024

Hi, I do not get this problem. I tried both in code and directly using the online version at http://tools.transmat.io and it works with both. It's a common pattern with the indieweb stuff, in fact its in my own transmat site

html: http://beta.transmat.io/glennjones/notes/2014-07-21/
json: http://beta.transmat.io/glennjones/notes/2014-07-21/json

Not sure why you would have a different result ?

from microformat-node.

mko avatar mko commented on July 23, 2024

Strange. I got the error described above specifically using the http://tools.transmat.io parser. I'll investigate it more and let you know.

from microformat-node.

glennjones avatar glennjones commented on July 23, 2024

That is strange, I really want to track this down and fix it

So if I make a request to the API using that HTML string it works, here the url with the HTML in the querystring

http://tools.transmat.io:80/microformats/html/?html=%3Carticle%20class%3D%22h-entry%22%3E%20%20%20%3Ch1%20class%3D%22p-name%22%3EMicroformats%20are%20amazing%3C%2Fh1%3E%20%20%20%3Cp%3EPublished%20by%20%3Ca%20class%3D%22p-author%20h-card%22%20href%3D%22http%3A%2F%2Fexample.com%22%3EW.%20Developer%3C%2Fa%3E%20%20%20%20%20%20on%20%3Ctime%20class%3D%22dt-published%22%20datetime%3D%222013-06-13%2012%3A00%3A00%22%3E13%3Csup%3Eth%3C%2Fsup%3E%20June%202013%3C%2Ftime%3E%20%20%20%20%20%3Cp%20class%3D%22p-summary%22%3EIn%20which%20I%20extoll%20the%20virtues%20of%20using%20microformats.%3C%2Fp%3E%20%20%20%20%20%3Cdiv%20class%3D%22e-content%22%3E%20%20%20%20%20%3Cp%3EBlah%20blah%20blah%3C%2Fp%3E%20%20%20%3C%2Fdiv%3E%20%3C%2Farticle%3E&

If you can give me an example either as a URL to the API or as code using the module that fails I will track down the issue and fix it

Cheers Glenn

from microformat-node.

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.