www.webdeveloper.com
Results 1 to 6 of 6

Thread: News Feed

  1. #1
    Join Date
    Nov 2003
    Posts
    39

    News Feed

    hi,
    pls i need help. am building a web application that dynamically retrieves news from different sources e.g stock exchange news, headlines news etc and displays the title, description and a link to the site.

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    RSS? maybe this will be of some use.

    wait, never mind. You can grab html source code from other sites and parse through it, that would involve system.net.sockets, but you could always parse through their rss feeds, they most likely have them and that would be easier.

  3. #3
    Join Date
    Nov 2003
    Posts
    39

    News Feed

    thanx

  4. #4
    Join Date
    Nov 2003
    Posts
    39

    News Feed

    How do i grab html source code from other sites and display the information in my own site

  5. #5
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    http://aspnet.4guysfromrolla.com/articles/031903-1.aspx well that article can get remote rss, you specify a url, so I would imagine it would work with an rss feed from another site. You can parse through the html, but the problem is that would be a lot of stuff for the server to sift though and you would have to do it on page load for every visiter. It is not the most efficient way, an rss feed is organized xml so you can get data from it much easier.
    c# - >http://msdn.microsoft.com/library/de...ssw-aspnet.asp

    here is how to parse remote html in c# though:
    http://www.ftponline.com/xmlmag/2002...efault_pf.aspx
    Ill keep my eyes peeled for vb.net example. I have seen it done before.

    What language do you use?
    Last edited by PeOfEo; 08-27-2004 at 09:17 PM.

  6. #6
    Join Date
    Nov 2003
    Posts
    39
    hi,

    i use vb.net and am also embracing c#

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles