CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2001
    Posts
    323

    Question Consume an RSS feed using syndicationobjects

    I'm trying to consume a RSS feed using the syndicationobject. (I'm using VS 2008)
    my version is very similar to this example here: http://dotnetslackers.com/articles/a...ndication-feed

    I'm facing a number of problems:
    The function DisplayFeedItem never runs!
    The xmlreader always comes up empty! i can't even read a news feed!
    later on I need to know how to pass a username and password through to access the feed?
    I tried using xmlresolver with networkcredentials objects. no luck

    Does anyone have a better way to consume a RSS feed?
    code attached...

    Thanks,
    Attached Files Attached Files
    Best Regards,

    --Zim
    If you find this post useful, please rate it.
    _________________________________
    "Have you the brain worms?!?!?"

  2. #2
    Join Date
    Nov 2001
    Posts
    323

    Re: Consume an RSS feed using syndicationobjects

    ok, I'm not certain, but I think I'm being blocked by design.
    I found a thread that says robots.txt is blocking me from reading a feed programmatically.
    Can anyone confirm this?

    I tried putting in a proxy with a port. no luck
    I also tried putting in networkcredentials (with the current authenticated user) and it always shows up empty.

    No matter what i try, I'm still getting the Forbidden 403 exception.

    Does anyone have any ideas/suggestions?

    Thanks,
    Last edited by Zim327; March 19th, 2010 at 03:25 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured