Hacking Gmail
Addressing Addresses G mail’s mastery of your e-mail wouldn’t be of much use without an address book. Lucky for us, Gmail provid ...
178 Part III — Conquering Gmail Figure 12-1 The Gmail contacts list Importing Contacts. You’ve got a list of contacts, and you’r ...
Chapter 12 — Addressing Addresses 179 chomp($name); chomp($email); chomp($notes); $gmail->add_contact( name => $name, emai ...
180 Part III — Conquering Gmail Showing Your Current Contacts Once you’ve got your old contacts in there and have added a load m ...
Chapter 12 — Addressing Addresses 181 Exporting Contacts. Gmail is a bit greedy here. There are ample opportunities to import co ...
182 Part III — Conquering Gmail Here is an example of a very simple vCard file: BEGIN:VCARD VERSION:3.0 FN:Ben Hammersley EMAIL; ...
Building an API from the HTML-Only Version of Gmail T he problem with reverse engineering web applications — other than the comp ...
184 Part III — Conquering Gmail FIGURE13-1: The HTML-only version of Gmail It’s easy to see the differences between the JavaScri ...
Chapter 13 — Building an API from the HTML-Only Version 185 line 13 column 41 - Warning: unescaped & or unknown entity “& ...
186 Part III — Conquering Gmail Introducing Basic Scraping Every page on the web can be scraped— it can be downloaded by a scrip ...
Chapter 13 — Building an API from the HTML-Only Version 187 Listing 13-2: A Single Message in the HTML-Only Inbox Source B ...
188 Part III — Conquering Gmail Listing 13-2 (continued) <input type=checkbox name=t value=”101480d8ef5dc74a”> <img src ...
Chapter 13 — Building an API from the HTML-Only Version 189 prints the results out to the screen. You will need to save the Inbo ...
190 Part III — Conquering Gmail Listing 13-3 (continued) $stream->get_tag(“td”); my $sender = $stream->get_trimmed_text(“/ ...
Chapter 13 — Building an API from the HTML-Only Version 191 THREADID 10187696869432e6 STARRED Not Starred SENDER Ben, me (3) LAB ...
192 Part III — Conquering Gmail Listing 13-5 (continued) width=15 height=15 border=0 alt=””> </td> <td width=30%> ...
Chapter 13 — Building an API from the HTML-Only Version 193 There is a lot going on here. You have the entire message, and all o ...
194 Part III — Conquering Gmail Listing 13-6 (continued) $stream->get_tag(“td”); my $dateline = $stream->get_trimmed_text( ...
Chapter 13 — Building an API from the HTML-Only Version 195 Dealing with Threads Here’s the problem, however: Gmail’s individual ...
196 Part III — Conquering Gmail This is a simple matter. When I opened each of these folders, I found these URLS: Inbox:http:// ...
«
6
7
8
9
10
11
12
13
14
15
»
Free download pdf