Live data from Hacker News

Introducing Syte, An open sourced personal site that has social integrations

rigoneri.com

11–20 of 81 posts

Re: Introducing Syte, An open sourced personal site that has social integrations

#11

JavaScript required to view the blog postings is a slight turn-off. What is the reasoning for it?

Good point. The reason was so I can swap from Django to Node easily if I wanted to without to much work and so the page can load faster on first request... I can probably change that eventually or just wait for a pull request :)

Re: Introducing Syte, An open sourced personal site that has social integrations

#13

{"meta":{"status":200,"msg":"OK"},"response":{"blog":{"title":"rigoneri's blog","posts":11,"name":"rigoneri","url":"http:\/\/blog.rigoneri.com\/","updated":1339467147,"description":"","ask":false,"likes":0},"posts":[ ... ]} How does Google take to this? As far as I can tell it has to evaluate the JS before it can crawl the site; I got a few seconds of "Loading..." after the page had finished loading while it was pull…

https://www.google.com/search?q=google+bot+is+chrome edit: when I click on an external link and then click the back button, I get the JSON too even with chrome. This is bad.

This is a known issue with Chrome. See: http://code.google.com/p/chromium/issues/detail?id=94369

The best way to circumvent the issue is to prevent the browser from caching the request (ex. cache busting via random querystring parameters), or to use different URLs for the HTML and JSON response (ex. appending '.json' to the end of the path).

Re: Introducing Syte, An open sourced personal site that has social integrations

#14

Spotted a bug on this. If you go back or forward in your browser to a blog post, it just shows a bunch of JSON code. You have to reload to get the site to properly show.

Also noticed this bug and wanted to mention it in case it wasn't just myself.

Re: Introducing Syte, An open sourced personal site that has social integrations

#15

Spotted a bug on this. If you go back or forward in your browser to a blog post, it just shows a bunch of JSON code. You have to reload to get the site to properly show.

Noticed this as well. Throw this in your JS file somewhere:

$.ajaxSetup({ cache: false });

Re: Introducing Syte, An open sourced personal site that has social integrations

#16

Spotted a bug on this. If you go back or forward in your browser to a blog post, it just shows a bunch of JSON code. You have to reload to get the site to properly show.

Great catch, I'll fix it... The reason is that it uses the same URL for a regular HTTP request and a XMLHttpRequest...

Re: Introducing Syte, An open sourced personal site that has social integrations

#18
This looks really cool, the world needs more stuff like this.

One minor complaint is with the scrollable slide-outs. When you scroll down through a slide-out like the Instagram one, and reach the bottom, the page behind starts scrolling.

This is a common problem, and why I dislike using scrollable areas on web pages in the first place. There must be a good way to fix this. I just don't want the outside area to scroll when my context is inside the small scrollable area.

Re: Introducing Syte, An open sourced personal site that has social integrations

#19

The author's web site ( http://rigoneri.com/ ) is cited as an example "Syte", but when I view that page on my iPad the right-hand side of the page is chopped off. Doesn't seem to be all that responsive (despite the author's claims).

It's at specific widths. I've seen other responsive sites behave like this and I presume it's just something with the media queries in the style sheet. If you continue to narrow your browser you'll see that it does respond correctly.

Re: Introducing Syte, An open sourced personal site that has social integrations

#20

Spotted a bug on this. If you go back or forward in your browser to a blog post, it just shows a bunch of JSON code. You have to reload to get the site to properly show.

Also, middle-clicking a link opens it in the same tab/window. Is that intentional?
Post reply on HN