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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||