Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

You may or may not realize it but there is a good chance that those "stores" already have an API for sharing pricing data. A good example of this would be EBay. I posted some things for sale there and I noticed when I searched for similar items I ended up getting several web sites that were displaying my item for sale!

Chances are that someone is just selling a kit of some sort that gets the information for them. That being said it can be difficult to write your own even using their API. EBay has modules on CPAN for doing this stuff, I looked at it and it is written completely in EBay techno babble. (God forbid they write something simple and comprehensible to the average joe).

Basically, I am suggesting that you might be better off trying those published API's instead of rolling your own. You can very easily encounter a lack of conformity for the information that you want to get, as well as invalid HTML. That is not even touching JS issues.

In reply to Re: Reading multiple web sites by Herkum
in thread Reading multiple web sites by davies

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (4)
    As of 2020-08-06 10:41 GMT
    Find Nodes?
      Voting Booth?
      Which rocket would you take to Mars?

      Results (39 votes). Check out past polls.