Author: fmantek
Date: Wed Oct 17 06:46:38 2007
New Revision: 302
Modified:
trunk/clients/cs/RELEASE_NOTES.HTML
trunk/clients/cs/src/gphotos/picasaquery.cs
Log:
created CreatePicasaUri helper
Modified: trunk/clients/cs/RELEASE_NOTES.HTML
==============================================================================
--- trunk/clients/cs/RELEASE_NOTES.HTML (original)
+++ trunk/clients/cs/RELEASE_NOTES.HTML Wed Oct 17 06:46:38 2007
@@ -13,6 +13,8 @@
<li>Added QueryAuthToken() on the service. If the Service is a
Google authenticated service, you can use this to obtain an
authentication token for ClientLogin</li>
+ <li>Added CreatePicasaUri helper on the PicasaQuery classes to
+ create a Uri based on a userID</li>
</ul>
<li>Bugfixes/Changes</li>
Modified: trunk/clients/cs/src/gphotos/picasaquery.cs
==============================================================================
--- trunk/clients/cs/src/gphotos/picasaquery.cs (original)
+++ trunk/clients/cs/src/gphotos/picasaquery.cs Wed Oct 17 06:46:38 2007
@@ -115,7 +115,8 @@
/// <summary>
/// picasa base URI
/// </summary>
- public static string picasaBaseUri =
"http://picasaweb.google.com/data/feed/";
+ public static string picasaBaseUri =
"http://picasaweb.google.com/data/feed/api/user/";
+
/// <summary>
/// base constructor
@@ -138,6 +139,16 @@
{
this.kinds[0] = Kinds.tag;
this.kinds[1] = Kinds.none;
+ }
+
+ /// <summary>
+ /// convienience method to create an URI based on a userID for
a picasafeed
+ /// </summary>
+ /// <param name="userID"></param>
+ /// <returns>string</returns>
+ public static string CreatePicasaUri(string userID)
+ {
+ return PicasaQuery.picasaBaseUri + userID;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---