Friday, May 12, 2006

I used to think that blogs were the most idiotic thing in the world. That was not so long ago.

Nowadays I'd rather read blogs that surf web sites. Yes, I am the real idiot.

Who would've thought then, that I would be having fun building a VFP RSS Reader.
I will be posting more as I make progress, but here are a few pictures.

You may want to know from what I've done so far it took me less lines of code with Visual foxpro than with our, ahem rich cousin,  .NET.

[Update: forgot to mention that Calvin Hsia has built one also, using a different approach though]

5/13/2006 11:58:47 AM (Eastern Daylight Time, UTC-04:00)
One correction. Doing a blog reader in VB8 is as easy as:

Dim MyFeed As MyBlogs.Feed
MyFeed = My.Blogs.Read("http://blogs.msdn.com/yag/Rss.aspx")
Me.BlogEntries.DataSource = MyFeed.Entries

where BlogEntries is a grid on your form. I'm hoping that with Sedna's "MY" feature the code will be similar.

Welcome to the blogosphere!
5/13/2006 4:08:19 PM (Eastern Daylight Time, UTC-04:00)
Thanks YAG, I appreciate your comment; for what is worth, you are correct.

I saw an example at a Touchdown Briefing event a few days ago and thought about doing something similar using VFP.

I saw also the example you pointed out, since the My namespace is not available (yet?) for VFP, I used the same approach this first example I mentioned used: the new IE7 rss api.

Probably if I wrapped all the functionality this api exposes in a dll, such as in MyBlogs.dll, maybe I could match up the number of lines of code to populate blog entries in a foxpro grid ;)

But indeed is very easy to do it in VB.NET with MY.

Thanks for the welcoming and also good luck in your new position.

Juan Calcagno
5/15/2006 3:21:39 PM (Eastern Daylight Time, UTC-04:00)
Thanks, Juan - today's my first day in the new position. Drinking from a firehose.

Are you thinking of posting your code online? I think that would be awesome. I know lots of folks would benefit.

yag

p.s. I add a (less than)g(greater than) above and got an ASP.NET error. You may want to strip them.
5/15/2006 7:03:43 PM (Eastern Daylight Time, UTC-04:00)
Yes, definitely, I am posting the code as soon as I finish.

p.s./ thanks for the tip about the error.
Juan Calcagno
5/18/2006 9:31:27 AM (Eastern Daylight Time, UTC-04:00)
Hola Juan: Muy practica la aplicacion en VFP. ¿Podriamos disponer de esas pocas lineas de codigo para publicarlo en PortalFox?

Muchas gracias amigo.

Saludos desde tu recordada Argentina :-)

Luis Maria
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):