
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
Status
This gem successfully creates a snapshot of your site on your local server and properly serves it up with escaped fragement. However, I am unsure if the escaped fragment pattern is exactly correct and if this will actually work with Google.
Additionally, hashbang urls are really ugly, so I'd like for the router to determine if the request is from a Google bot and only then use hashbangs.
Introduction
This gem helps make Ember sites SEO friendly by:
_escaped_fragment_Add it to your Gemfile:
gem 'ember-seo'
Run the generator:
rails g ember_seo:install
This creates Rails routes, a Rails controller to display your static site, and app/models/hashbang.js which has a hashbang location helper. If you're not using Ember Appkit Rails then you should move hashbang.js to app/assets/javascripts/models.
Modify your Ember router to use hashbang:
var Router = Ember.Router.extend({
  location: 'hashbang'
});
Set the starting paths for the crawler in your environment file:
config.ember_seo_starting_paths = ['/', '/posts', '/etc']
Make sure your server is running on localhost:3000 then run the crawler:
rake ember_seo:scrape
This takes a snapshot of your site and saves it to public/static.
Now visit a url in your app, for example:
http://localhost:3000/#!/posts, and replace #! with ?_escaped_fragment= like so:
http://localhost:3000/?_escaped_fragment_=posts and you should see the correct static file. View
the source of the page to ensure that you are viewing the static file and not your Ember
application.
FAQs
Unknown package
We found that ember-seo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.