Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add a RSS Reader code template

  • Loading branch information...
commit f12a1b8b313a658c4d502d38a39fbb94b5f9f3e6 1 parent 0d79b00
@lvjian700 authored
Showing with 26 additions and 0 deletions.
  1. +12 −0 public/js/reader.js
  2. +14 −0 public/reader.html
View
12 public/js/reader.js
@@ -0,0 +1,12 @@
+$(function() {
+ var login = "https://www.google.com/accounts/ClientLogin";
+ $.post(login, {
+ accountType: "HOSTED_OR_GOOGLE",
+ Email: "lvjian700@gmail.com",
+ Passwd: "Sorcerer",
+ service: "reader",
+ source: 'lv_reader'
+ }, function(data) {
+ console.log(data);
+ })
+});
View
14 public/reader.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <title>Google Reader Client</title>
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" title="no title" charset="utf-8">
+</head>
+<body id="reader">
+ <h1 id="">Google Reader API</h1>
+
+ <script src="js/libs/jquery-1.7.1.js"></script>
+
+ <script src="js/reader.js" type="text/javascript" charset="utf-8"></script>
+</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.