News for hackers. Stuff that matters.
Re:AngularJS versus Ember by EvilTrout on Sunday June 16, 2013 @04:43PM (#5889886)
> However, the discussion forums are horrible. They're using Discourse, which was written in Ember, and it's nearly impossible to find answers to anything previously posted. Because it's in Ember it's all JavaScript, so nothing is indexed on Google, and the built-in search is awful.

Not true. All Discourse content has been indexed by Google since day one. Even though it's a Javascript app it's search engine friendly.

Secondly, Stack Overflow is the official place for Ember questions. The forums are for general discussion about features and other Ember related topics. Go to SO if you have a question and tag it as ember!

Re:AngularJS versus Ember by saurabhnanda on Monday June 17, 2013 @05:22AM (#5892179)
How do you ensure that Google is able to index it? Do you sniff the user-agent and serve it a pre-rendered view of the discussion thread?
Re:AngularJS versus Ember by ludwigvan on Monday June 17, 2013 @06:00AM (#5892273)
See https://news.ycombinator.com/item?id=5198934

> Our site is indexable by Google and it doesn't do much fancy. On certain URLs, we generate a small HTML view of the content in the <noscript> tag. You can see this by viewing source or disabling JS in your browser. It's just a simple ERB template in Rails, and uses the same object graph that we serialize via Active Model Serializers.

> Google can see it and index it, we've confirmed by searching post launch.

> As time goes on we'll probably work more on it to make the SEO even better. As you can imagine it was tough to do when we were in stealth mode ;)

Maybe we could get an update from eviltrout on that.

Re:AngularJS versus Ember by EvilTrout on Monday June 17, 2013 @01:39PM (#5894584)
Honestly the reason I haven't written about it is because I didn't write it! Sam did a great job, and he did it in a super short period of time.

I was leaving it to him to explain how it works :)