Get the title of a referral url with Javascript

get title of a referral url
If there is a need to retrieve the title by just passing the url to one of your applications this can be done with this tiny jQuery plugin I wrote. It uses yql to bypass the cors restriction and its really easy to use.

Requirements

*jQuery library

Installation

*Include getTitle.js in your html

Usage

*$(‘#box’).getTitle(‘www.google.com’); It fills element box with the google’s title

Todo

*At the moment is working only synchronously, which is lame 🙁

DEMO

Get it from here

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.