Live data from Hacker News

I built this 'HN inspired' site. What do you think?

news.thejobhill.com

21–29 of 29 posts

Re: I built this 'HN inspired' site. What do you think?

#21

http://www.news.thejobhill.com/ajax/tag_search.php?query=tes... You seem to have rudimentary protection against XSS, but it's not complete. You should escape properly. Backslashes aren't for escaping characters in html

Thanks mike. i always knew that could be a problem, but was a bit lax cos the results didnt stay on the site. Have a look now anyways, the google logo doesnt show anymore.

Re: I built this 'HN inspired' site. What do you think?

#23
post #7

The first thing I spotted was that full domains weren't showing next to the links, so for example, story 3 is currently: Hosni Mubarak has resigned (co.uk) Showing just the last two sections of the domain is clearly unexpected behaviour. :) The intention is clearly "TLD plus one more section", but not all TLDs are as short as ".com". This reminds me of the difficulties with cookie domain validation - Mozilla actually…

You got me there. Plus i noticed that also. My solution was some crappy regex thing. i obviously need to do better.

Re: I built this 'HN inspired' site. What do you think?

#29
post #13

Looks garbled on FF 3.6 under Linux (tags are not aligned, items below title bar start on a new line...)

Thanks. Funnily, i developed this running linux and a gecko browser. BTW what is your screen size?

Small, 800 px wide, Asus EEE PC (may not be typical, but still a common resolution)...
Post reply on HN