PDA

View Full Version : need help pulling data from site


greatkid1984
02-05-2006, 11:19 PM
Hi,

I need help pulling data from my site into an auction description in an auction site. The problem with the site is, it only allows a maximum of 7,000 characters in the html code, and some of my auctions go over this limit. The other reason why i want to pull code from my site into the auction description, is because sometimes we change our shipping price or need to add important info to the description, and we have to go back and edit the html code for over 2,000 auctions which is a major process and very time consuming. Unfortunately the auction site is not ebay, and doesnt have such automation tools.

The auction is split up into 4 sections:
1. description
2. images
3. payment
4. shipping

If i could make some type of table for each and pull the data in for each table from my site, it would save me a massive amount of time

Any help would be great
Cheers,
Chris:)

mlse
02-06-2006, 12:01 AM
What do you mean "pull data from your site"? What is the nature of the data? Is it HTML? RSS? ASCII? In what context and by which mechanism do you wish to "pull" the data?

greatkid1984
02-06-2006, 07:42 PM
hi,

what i mean by "pulling data" is copying text from a section of my site, and inserting it into the auction description. For example, lets say i made some type of table for the auction description, shipping, payment and then uploaded them to my site. Would there be any way for me to call that data from the specific table in my site and showing it on the auction.

example:
show (auction description table)

show (shipping table)

show (payment options)

*By the way the data will be just text and may have some images on it, so i assume html will be the type of data i will be calling*

Cheers,
Chris

mlse
02-07-2006, 12:32 AM
Assuming I understand you correctly (which I may not!) ... if you only want a sub-section of a web page, you could either:

(a) display the source page in an iframe and provide it with an alternative style sheet (to the one that you'd usually use for the page) which doesn't display the unwanted parts of the page for that particular component, or

(b) Display the aution, shipping and payment details is separate iFrames in both contexts, or

(c) Write some PHP to read the appropriate page sections and display them, or store and retrieve the data from a database. There are numerous ways to do this.

Personally, I would go for option c.