I have URL defined as variable in code:
var s = "www.google.com";
What is the best way to get title of this page ?
Updated
Well, I understand my mistake :) I am using meteor.js and can execute server side code.
Updated 2
This is bookmarking service. An user add URL and I want to get the page title from my code.