Hacker News new | comments | show | ask | jobs | submit login
Show HN: Tool to turn your HTML into a collapsible tree (peterbe.com)
36 points by peterbe 1225 days ago | hide | past | web | 22 comments | favorite



Neat idea. At first it wasn't completely obvious to me that you could click on a node to expand it. You might want to add just a little bit of text to help people out there.

Additionally, it seems that as the graph spreads to the right it disappears outside of the div and I can't find any way to click or scroll to keep following it horizontally.


This perfectly illustrates the table-hell the hackernews is designed on.


Is it because of tables, or because the HTML is not valid?

I had reported this sometime back, but was turned down: https://github.com/HackerNews/HN/issues/78


Yeah won't even open the tables for me, and wow 38.1kb.


Nice project. Very smooth. You should make a todo list app out of this. The tree layout would make it very easy to organize projects and tasks.

One thing: you should increase the minimum size of the smallest sized clickable circles. They're hard to click on to expand.


A minimum is coming. I have a friend and colleague who's hopefully going to help me make the area of the circles be proportional to the size instead of the radius. Then we'll give it a minimum.


Just take the radius to be the square root of the size and then multiply it by a suitable scaling constant.

This will ensure that the area, which is proportional to the square of the radius, remains proportional to the size.


Tree based todo list: http://todo.yt


Woah thank you. Did you make this? My only problem is that when I check off a task the loading icon stays up forever.





Entered http://www.google.com, got infinite loading spinner.


Worked now http://htmltree.peterbe.com/?url=www.google.com Could have just been a dead squirrel in the pipes. All cleared.


nice, i'd prefer more to be unfolded from the get-go. maybe 3 levels


I kinda like the idea of starting gently so you can see what's going on.


smooth. Though, for some reason it couldn't parse my top-level address. Worked fine if I provided a second level URL


What was the URL so I can debug?


I checked again. It's working now.


Cool! Can't scroll right though? :(


What browser?


firefox 29 on ubuntu 14.04. Unable to scroll right when the tree expands past the windows width.




Applications are open for YC Winter 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: