View Full Version : "Call" "push/pull" "parsing"

03-09-2010, 10:48 AM
Please bear with me as I am not very good with code but I need some help.

I have a website that I sell books on. I have created a button that gives the customer an option to "click" and go to eBay to bid on that book instead of buying it on my site.

I would like to "pull" the ISBN from the page/item that they are viewing and have it entered into and eBay "search" when the button is clicked.

What is this called that I am trying to do? Where can I find code or tutorial information?

Thank you for your help.

03-09-2010, 02:30 PM
We need to know more about "the page they are viewing", so we know
how to pull the ISBN. Not sure if you have a database of some kind?

When you say you created a button to go to Ebay, did you just create
a generic link to Ebay? Or are you using some sort of scripting to make
the button(s)?

To create a link manually, for example, the book "Under the Dome", by Stephen King ...
The ISBN is 1439148503

This is what that link would look like in your HTML.
Use the same Ebay URL for all searches, just change the ISBN number ...

<a href="http://search.ebay.com/1439148503">Search Ebay</a>


03-09-2010, 06:01 PM
Below is a sample of the source code for the items on the "page they're viewing" It is Amazon API (i guess thats what you call it...please remember I am very new with this stuff). The button that I made was just an image that I want to make into a hyperlink. I hope this is ok...here is a link to an item (http://thebookdork.com/ISBN/0805088024/Review.aspx) (you'll see my button on the right)

Here is the source code:
<img src="http://ecx.images-amazon.com/images/I/21Wp4MwV%2BPL._SL160_.jpg" alt="Tested: One American School Struggles to Make the Grade"><br><a class="smlLinks" href="http://ecx.images-amazon.com/images/I/21Wp4MwV%2BPL.jpg" target="blank" >(Larger Image)</a>
<td class="DetailCenterItem" valign="top" align="left">
<H2 class="DetailCenterItem">Tested: One American School Struggles to Make the Grade</H2>
<b>Product Group: </b>Book<br>
<b>Publisher: </b>Holt Paperbacks (2008-07-22)<br>
<b>ISBN: </b>0805088024<br>
<b>EAN: </b>9780805088021<br>
<b>Dewey Decimal #: </b>379<br>
<b>Paperback</b>: 320 pages<br>
<b>Edition: </b>Reprint<br>
<b>Release Date: </b>2008-07-22<br>
<td align="center" valign="middle" colspan="2">
<p align="center"><hr class="short"></p>
<h2 class="DetailReview">Editorial Reviews</h2><br>

03-09-2010, 07:38 PM
How is that source code you showed in post #3 created?
Do you program that HTML by hand for each page (or each book)?

It looks to me like you have some ASP scripting that generates each page
along with the HTML for each Amazon link ... is that correct?

If so, we need to see the entire scripting for the file called: review.aspx
Somewhere along the way, you've been able to get that Ebay button
to appear with every book ... that's what we need to see.

We can't see any of your scripting, code, or files ... we're blind to what you're doing.


03-09-2010, 10:10 PM
It looks to me like you have some ASP scripting that generates each page
along with the HTML for each Amazon link ... is that correct?


I think this is correct. The service I use has most of the HTML and the core of the site built. Then I can go in and edit/tweek things (like adding that button/image to all product pages) I do not know how or where to find the "review" file as I don't do any FTP.

I really appreciate you taking the time to look at this...please let me know where I might be able find that file so that I can show you the code/script.

03-10-2010, 01:26 AM
It sounds like you can't ...
You probably don't have a normal webhost account, so you won't have access to those files.

You'll either have to hire someone that might be able to go into your accounts and
figure it out, or contact your web host.