It's normally done with whatever you feel comfortable in.

Lots of people use xml these days, or some more specific XML formats (like RDF/RSS/Atom, etc)

I have no idea what it is that you're trying to do, and what sort of info you're trying to pass. XML can be a very inefficient interchange format. If you're passing around a lot of small values, you can end up using more bandwidth for your structures than for your actual values. (especially for RPC/Encoded SOAP).

You know how likely the information that you need is going to change, and how much control you have over both ends of the process. I would assume that you'd want to work in something that you can easily work with to serialize and deserialize your data.

Some people will pass plain text, and parse it. Others will use a data exchange format (LDIF, XML, whatever), and others will pass along formatting information, too (HTML, etc.)

Yes, this could be a good learning experience, for you to force yourself to learn something new, but depending on how important the process is, it might be better to stick with the familiar.


In reply to Re: Desktop program getting web data by jhourcle
in thread Desktop program getting web data by kiat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.