Picasa Data Provider Documentation

Mar 11, 2008 at 10:01 PM
Hello All,

I have had many requests for the PicasaDataProvider so i created some documentation on the extension. You can view the documentation by going here: http://docs.google.com/Doc?id=dcn34zrg_7hqw5n8g9 . You can view a demo of it in action by going here http://www.wesleyriley.com and clicking on the photos link at the top of the page. :)

PS: Please reply to this post and let me know what you think!!! :) Or just shoot me an email @ rileywesley@gmail.com.

Wes
Mar 18, 2008 at 5:44 PM
Nicely done, Wes!
I ran into some issues when trying to replitate it and I'm not sure why it loads my browser's start-up page (crazy!).
I even tried debugging w/ VS2005, the only msg. I get is:

First-chance exception at 0x7c812a5b in iexplore.exe: 0xE0000001: 0xe0000001.
First-chance exception at 0x7c812a5b in iexplore.exe: 0xE0000001: 0xe0000001.
First-chance exception at 0x7c812a5b in iexplore.exe: 0xE0000001: 0xe0000001.
First-chance exception at 0x7c812a5b in iexplore.exe: 0xE0000001: 0xe0000001.

I'm open to any suggestions at this point!

Thanks for your contributions guys!
Mar 19, 2008 at 1:22 PM
Hmmm.....
You might want to check out your directory structure and make sure that you have your includes in your Configuration XML mapped right. Sounds like it's not finding the PicasaDataProvider.js. Feel free to go to my personal site http://www.wesleyriley.com and copy whatever you need.
Mar 21, 2008 at 4:52 PM
I played with it and get a "access denied" from the silverlight.js line:

--> request.open("GET", url, false);

What's the deal?
I don't have much programming experience, so maybe someone will know better.
Mar 21, 2008 at 8:17 PM
One more thing you might want to do is make sure you are testing the code on your web server. I was getting similar errors before i started testing with the Visual Studio testing server. The http request has a hard time retreiving your albums from Google coming from your local machine.
Jun 12, 2008 at 5:40 PM
Hey Wes - thanks for this. I've combined your work with Danny Douglass' to create a PhotoGallery page on my BlogEngine.NET site...which you can see here:

http://www.birdiebaldy.com/page/PhotoGallery.aspx

Images are sometimes slow to load, but I haven't had too many problems yet. One thing I notice, that I hope to fix in the next few days, is that the dates are off a bit - both on the album properties (looks like the month is being bumped up by 1) and the individual photos (which look to be upload dates). Regardless, great work and thanks again!
Jun 28, 2008 at 5:56 PM
Edited Jun 28, 2008 at 5:56 PM

thanks riley & brandon is right the dates are off by one month - the date variable returs 1-12 for the month, but javascript arrays are 0 based so in prettydate you need to subtract one from the month.

var prettyDate = m_names[curr_month-1]+' '+curr_date+sup+' '+curr_year+' - '+curr_hour+":"+curr_min+a_p;

 

Jun 28, 2008 at 9:36 PM
Right On! LOL! Thanks for the date array pointer. I never even noticed. I'll be sure to make the change to my documentation. Glad everyone is enjoying!
Aug 26, 2008 at 4:46 AM
Looks like some of the API has changed since i last downloaded the release. I have corrected the code to work with the current release. I did not however update my documentation. I have had several emails regarding the Data Provider. So i have published the VS2008 solution with the data provider included at http://wesleyriley.com/Slide.Show.rar. The new sample page is in the Samples directory. And the js for the Picasa Data Provider is now located in the DataProvider.js file. If you have any questions please feel free to shoot me an email. Also, the Data Provider now omits video files stored in Picasa. I am currently working on the ability to embed picasa flv videos within the Slide.Show. I will update as soon as i have something. But, like i said, videos are omitted at this time.  Thanks, Wes