Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a HTML to function-style view tool ? #13

Open
devcrafting opened this issue Feb 19, 2021 · 5 comments
Open

Is there a HTML to function-style view tool ? #13

devcrafting opened this issue Feb 19, 2021 · 5 comments
Labels
question Further information is requested

Comments

@devcrafting
Copy link

I am converting a HTML hard coded website to Giraffe (for layout, data templating...). It is quite boring to transform HTML to function-style view. I thought a tool could help, an XSLT stylesheet would do the job, any ideas about that ? existing tool in other equiv framework ?

@devcrafting
Copy link
Author

@dustinmoris
Copy link
Member

I don't know of such a tool but if you do find something please let me know as it would be nice to link it in the repo!

@dustinmoris dustinmoris added the question Further information is requested label Feb 28, 2021
@devcrafting
Copy link
Author

I started a fork of html-to-elm https://github.com/devcrafting/html-to-giraffeview
A bit of effort to upgrade to last ELM, and very few modifications to adapt to GiraffeView (very close to ELM view). Far from perfect but working. For example I had to disable all tests, still work to be done to propose a merge

@dustinmoris
Copy link
Member

Nice!

@devcrafting
Copy link
Author

Even better, directly online : https://www.devcrafting.com/html-to-giraffeview/ (probably still some issues, I just changed obvious syntax : list, attributes prefixed with _)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants