-1

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.

ceth
  • 44,198
  • 62
  • 180
  • 289

1 Answers1

0

There is no good way of doing this except a remote web service. Please check out this post. http://forums.asp.net/t/1453746.aspx