RSS Feed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Visualbomber@gmail.com

    RSS Feed

    Hi there, I have been reasearching RSS and XML, in order to form a
    program that works with RSS to organize information, such as places on
    a map. Does anyone here have any ideas how I can get this idea off the
    ground. I have a basic sence of XML, RSS, C++ and Visual bascis.
    Another thought is which would be easier, using C++ or Visual Basics?

  • Joe Kesselman

    #2
    Re: RSS Feed

    Visualbomber@gm ail.com wrote:[color=blue]
    > Another thought is which would be easier, using C++ or Visual Basics?[/color]

    Easiest is using the language (a) for which you can find support
    routines, so you don't have to re-code all that yourself, and (b) which
    you understand best. I'd expect there are more good XML manipulation
    libraries for C++ than for VB, but that's just a guess.

    Getting the idea off the ground: Define the problem you're trying to
    solve much more precisely. Design your data structures. Design the
    representation of the data structures in XML, and their transport
    mechanism in RSS. Code. Test. Repeat until it works.

    (From your note, it's pretty clear that you haven't yet gotten through
    the first stage of that process, which makes trying to work on the rest
    somewhat counterproducti ve.)


    --
    () ASCII Ribbon Campaign | Joe Kesselman
    /\ Stamp out HTML e-mail! | System architexture and kinetic poetry

    Comment

    • vbJustin@gmail.com

      #3
      Re: RSS Feed


      Well, what I hope to do is create a updating system of RSS feeds for a
      GEO RSS feed. I need to figure out a way to organmize the data, sort
      it all into the subcatigories in RSS, and be able to have it grow as
      the list of data grows. At this time, I am not sure how much data
      there is, I just know it is a list of Logitudanal and latitude points,
      instead of a URL, ill use the point for the place. Whats your thoughts
      people?

      Comment

      • Greger

        #4
        Re: RSS Feed

        vbJustin@gmail. com wrote:
        [color=blue]
        >
        > Well, what I hope to do is create a updating system of RSS feeds for a
        > GEO RSS feed. I need to figure out a way to organmize the data, sort
        > it all into the subcatigories in RSS, and be able to have it grow as
        > the list of data grows. At this time, I am not sure how much data
        > there is, I just know it is a list of Logitudanal and latitude points,
        > instead of a URL, ill use the point for the place. Whats your thoughts
        > people?[/color]
        what platform?
        --


        Comment

        • vbJustin@gmail.com

          #5
          Re: RSS Feed


          Greger wrote:[color=blue]
          > what platform?
          > --
          > www.gregerhaga.net[/color]

          Windows XP Pro, Im probably going to consider using C++ to write the
          program.

          Comment

          • Andy Dingley

            #6
            Re: RSS Feed


            Visualbomber@gm ail.com wrote:[color=blue]
            > Hi there, I have been reasearching RSS and XML, in order to form a
            > program that works with RSS to organize information, such as places on
            > a map.[/color]

            As always, this is a question of system architecture design, not just
            coding. _What_ information are you organising? Where does it come from?
            Where might it be going?
            [color=blue]
            > Another thought is which would be easier, using C++ or Visual Basics?[/color]

            It makes almost no difference. You might use a DOM, like MSXML, and you
            could use XPath and XSLT to process RSS within this. Your key
            algorithms are thus in one of these languages, and VB/VC++ is just a
            container for them.

            RSS isn't (reliably) in XML, so you might find a need to provide a
            better RSS-friendly parser than a strict XML DOM for it. That's a job
            for C++ or Java, not VB, but you would probably encapsulate that in a
            COM component anyway, through the standard W3C DOM interrface.

            On the M$oft platforms, then choose whichever language you're
            personally happier with.

            Comment

            • vbJustin@gmail.com

              #7
              Re: RSS Feed


              Andy Dingley <dingbat@codesm iths.com> wrote:
              [color=blue]
              > RSS isn't (reliably) in XML, so you might find a need to provide a
              > better RSS-friendly parser than a strict XML DOM for it. That's a job
              > for C++ or Java, not VB, but you would probably encapsulate that in a
              > COM component anyway, through the standard W3C DOM interrface.[/color]

              Would you tell me where I could get W3C DOM?

              Comment

              • Andy Dingley

                #8
                Re: RSS Feed


                vbJustin@gmail. com wrote:
                [color=blue]
                > Would you tell me where I could get W3C DOM?[/color]

                W3C DOM is a standard, not a product. Your easiest way to obtain a
                product that supports this standard would be to use MSXML.

                If MSXML doesn't do everything you need (which for production-grade RSS
                reading it won't) then you'll probably have to write your own
                replacement. It's still a good idea to make this support the same
                standard though.

                Comment

                • vbJustin@gmail.com

                  #9
                  Re: RSS Feed


                  Well, i found this website with a few methods on how to create a XML
                  document, but wich one should I choose for the RSS feed im trying to
                  make?


                  Comment

                  • Greger

                    #10
                    Re: RSS Feed

                    vbJustin@gmail. com wrote:
                    [color=blue]
                    >
                    > http://msdn.microsoft.com/xml/defaul...g/issues/06/06[/color]
                    testrun/default.aspx
                    hmm.
                    outputting xml documents is pretty simple, reading them is more difficult.
                    I create my rss feed at my site with a simple stupid php script. you don't
                    need C++ for that. for reading feeds it is a different matter. I use
                    libxml2 for that ( www.xmlsoft.org ).

                    if you need classes for rss reading and downloading off of the web see my
                    site and QxRSS Reader for some classes I recently wrote. C++ documentation
                    is online.
                    --

                    QxRSS Reader 1.2.3 released

                    Comment

                    • Joe Kesselman

                      #11
                      Re: RSS Feed

                      Andy Dingley <dingbat@codesm iths.com> wrote:[color=blue]
                      > W3C DOM is a standard, not a product. Your easiest way to obtain a
                      > product that supports this standard would be to use MSXML.[/color]

                      Or the Apache Xerces project, which is cross-platform and hews closer to
                      the standards in some places.



                      --
                      () ASCII Ribbon Campaign | Joe Kesselman
                      /\ Stamp out HTML e-mail! | System architexture and kinetic poetry

                      Comment

                      Working...