Google Desktop API: The un-documented Truth! Posted on May 11, 2007 @ 13:48 csharp
However, there's a catch.... not all the properties work for all the different schemas.... The documented schemas are:
- "web"
- "text"
- "media"
- "office"
- "file"
- "calendar"
- "contact"
- "email"
- "im"
- "note"
- "journal"
- "task"
- "shortcut"
public class GoogleSchema
{
private GoogleSchema( ) {}
public const String Text = "Google.Desktop.TextFile";
public const String File = "Google.Desktop.File";
public const String Media = "Google.Desktop.MediaFile";
}
public class MediaSchemaProperty
{
private MediaSchemaProperty( ) {}
public const String Author = "author";
public const String InfoTip = "info_tip";
public const String Title = "title";
public const String Uri = "uri";
}
public class TextSchemaProperty
{
public const String Content = "content";
public const String TextContent = "text_content";
public const String Uri = "uri";
}
public class FileSchemaProperty : TextSchemaProperty
{
private FileSchemaProperty( ) {}
}
Attached is the source code... enjoy!
DesktopSearch.zip (751.27 KB)