Click here to Skip to main content
15,897,704 members
Articles / Web Development / HTML

Screen scraping using YQL and AJAX

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
30 Sep 2013CPOL5 min read 53.3K   1K   23  
A simple application to scrap HTML data in JSON format.
/* @override 
	http://iviewsource.com/exercises/json/mystyle.css */
	
body {
	background: EEE7D5;
	font-family: 'Libre Baskerville';
}

#speakerbox {
	width: 400px;
	margin: 0 auto;
	background: #93A1A1;
	padding: 1px 20px;
	border-radius: 10px;
	overflow: hidden;
}

#speakerbox h3, #speakerbox h4 {
	font-weight: normal;
	margin: 0;
	padding: 0;
} 

#speakerbox h3 {
	font-size: 2em;
	line-height: .9em;
	font-family: 'Wendy One';
	color: #115F79;
}

#speakerbox h4 {
	color: #973C26;
	font-weight: bold;
	margin-bottom: 5px;
	line-height: 1.2em;
}

#speakerbox img {
	float: right;
	margin-left: 10px;
	border-radius: 10px;
	width: 120px;
    height: 150px;
}

#speakerbox p {
	color: #1E3A40;
	font-size: .9em;
}

#speakerbox #next_btn, #speakerbox #prev_btn {
	background: #d33682;
	padding: 5px 10px;
	border-radius: 10px;
	margin: 10px 0;
	display: inline-block;
}

#speakerbox a#next_btn, #speakerbox a#prev_btn {
	text-decoration: none;
	color: #FFF;
}


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Cefalo
Bangladesh Bangladesh
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions