Google Talk Notification Extensions

This document describes the XMPP extensions that notify clients about email in their Gmail account. Google does not intend for this extension to become a standard and so it is subject to change.

Element or Attribute

Translation

<mailbox> Outer wrapper element for all email information.
result-time The time these results were generated, in milliseconds since the UNIX epoch. This value should be cached and sent as the newer-than-time attribute in the next email query.
total-matched The number of emails that matched the q attribute search string in the email query, or the number of unread emails if no query was specified. If total-estimate is 1, this will be just an estimate of the number of emails retrieved.
total-estimate A number indicating whether total-matched is just an estimate: 1 indicates it is; 0 or omitted indicates that it is not.
url The URL of the Gmail inbox.
<mail-thread-info> Element that wraps an email thread.
tid The thread id of this thread.
participation A number indicating the user’s participation level in this thread: 0 indicates that the user has not participated; 1 indicates that the user is one of many recipients listed in the thread; 2 indicates that the user is the sole recipient for messages in this thread.
messages The number of messages in the thread.
date A timestamp of the most recent message, in milliseconds since the UNIX epoch.
url The URL linking to this thread
<senders> Contains one or more <sender> elements, each of which describes an email.
<sender> Describes a single email.
address The email address of the sender.
name The display name of the sender.
originator A number indicating whether this sender originated this thread: 1 means that this person originated this thread; 0 or omitted means that another person originated this thread.
unread A number indicating whether or not the thread includes an unread message: 1 means yes; 0 or omitted means no.
<labels> A tag that contains a pipe (‘|’) delimited list of labels applied to this thread.
<subject> The subject of this email.
<snippet> A snippet from the body of the email. This must be HTML-encoded.

Check out Google’s Gmail and Google Talk Notifications page for examples of how to use Google Gmail extensions.

Youtube Query String Arguments

These are the query string parameters (also called arguments) that get tagged at the end of a Youtube URL.

They are the ampersands (“&”) and text at the end of a web address (URL). In the case of Youtube, this string of of code is the query string parameters and it adds functionality to what is presented. This is a comprehensive guide of Youtube’s query string arguments.

Query

Translation

&hl= hl stands for Host Language (thank you MapKi!) It is followed by “hl Parameter Values” which correspond to “Language/Locales” ex. en-US means English (United States and Canada).It also can stand for hoc loco, which is Latin for “in this place” or hl stands for “human language”, but not in this case.
&video_id= Youtube video ID – used in conjunction with &get_video? to embed a Youtube video into another application. Not supported by Youtubes terms of service and may no longer work.
&t= Youtube video tag – used in conjunction with Youtube video ID.
&fmt= &fmt=6 is good quality, &fmt=18 is better, and &fmt=22 is the best. Video must originally be in high definition (HD) to work. May not work regardless as this feature is in beta and not available for all videos.
&rel= Rel stands for related. In relation to youtube, rel=1 means show related feeds and rel=0 means don’t.
&fs= Allows the fullscreen button to show up or not. 1 means it will show up, 0 means it is disabled.
&start=225 Starts the video 225 seconds into the video.
&end=230 Stops the video 230 seconds into the video.

I recommend this extensive post on Youtube plugins and tools for more information and for advanced users, check out the Youtube Reference Guide.

Google Mail (Gmail) Query String Parameters

Gmail Query String Parameters

To pass these Gmail query string parameters on to Google Mail, simply paste the query into Gmail’s search box.

Query

Translation

from: Used to specify the sender.
to: Used to specify a recipient.
subject: Search for words in the subject line
OR Search for messages matching term A or term B (OR must be in all caps).
The hyphen (the “minus” sign) is used to exclude messages from your search
label: Search for messages by label (There isn’t a search operator for unlabeled messages)
has:attachment Search for messages with an attachment.
list: Search for messages on mailing lists.
filename: Search for an attachment by name or type.
” “ Used to search for an exact phrase (Capitalization isn’t taken into consideration)
( ) Used to group words or used to specify terms that shouldn’t be excluded
in:anywhere Search for messages anywhere in Gmail (Messages in Spam and Trash are excluded from searches by default)
in:inboxin:trashin:spam Search for messages in Inbox, Trash, or Spam.
is:starredis:unreadis:read Search for messages that are starred, unread or read.
cc:bcc: Used to specify recipients in the cc: or bcc: fields (Search on bcc: cannot retrieve messages on which you were blind carbon copied)
after:before: Search for messages sent during a certain period of time (Dates must be in yyyy/mm/dd format.)
is:chat Search for chat message.
deliveredto: Search for messages within a particular email address in the Delivered-To line of the message header.

Check out Google’s Advanced Gmail Search page for examples of how to use Google Gmail search.