Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Developer Outlook Addins > How to get RSS-...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1632 of 1746
Post > Topic >>

How to get RSS-specific properties from a PostItem (with message class IPM.Post.Rss)?

by "Iliyan Georgiev" <iliyan@[EMAIL PROTECTED] > Dec 8, 2007 at 07:09 PM

Hi,

I have the following question - how do I get RSS-specific properties of an

RSS item, which I get as a PostItem using the object model? I'm using C#
and 
Visual Studio 2008 to create an Outlook 2007 addin.

More specifically, I want to get access to the RSS feed name and the URL
of 
the article web page which is accossiated with the RSS item. The object 
model does not provide direct access to them, but they are there! I
tracked 
them down using MFCMAPI. The tags of these properties are, respectively, 
0x842F001E and 0x842B001E. But the following throws an exception:

Outlook.PostItem rssItem = ....;
string articleURL = 
rssItem.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x842B001E").ToString();

None of the tags I found which are specific to the RSS feed work. However,

the tag corresponding to the Subject property exposed through the object 
model, 0x0037001E, works, so that the following is correct:

Outlook.PostItem rssItem = ....;
string articleSubject = 
rssItem.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0037001E").ToString();

I really want to get direct access from these properties, because they are

there! I don't want to hack some stuff like regex parsing, etc. to guess 
them.

Any help is greatly appreciated!


Best,
Iliyan Georgiev
 




 2 Posts in Topic:
How to get RSS-specific properties from a PostItem (with message
"Iliyan Georgiev&quo  2007-12-08 19:09:06 
Re: How to get RSS-specific properties from a PostItem (with mes
"Dmitry Streblechenk  2007-12-08 12:39:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 15:55:41 CST 2008.