Difficulty & Time Involved – minimal
I have a PHP script that grabs ebay feedback and displays it as an image. I need a couple tweaks done to it. I will include a copy of the code with some sample images in it and files. So you get an understanding of how it works. Each txt file is used individually and part of a cron command individually. The include and exclude words filter a scrape from eBay’s feedback and turn it into an image.
-Currently is hosted in company web directory, since scraping ebay is against the TOS, needs to be hosted on separate web address which “sends” pictures to current web address.
i.e scraping needs to be done on [url removed, login to view] and pictures be hosted on [url removed, login to view]
-Currently displays negative feedback, when it should exclude negative feedback from image generation. Will need to identify by the image preceding feedback txt. Different images are used for negative and positive feedback. Currently it just displays a positive feedback image over negative feedback. Though the image URLs should clearly mark which feedback should be excluded.
-Currently a CRON job must be setup for each image to be made. A text file is created using a certain schema, it is uploaded then the CRON job is created including that file with the PHP program producing the image. This is time consuming, which limits the effectiveness of this program.
In order for this to be effective, there must be only one text file which is the only cron job. That text file must be able to be edited through a web interface which has the ability to display the images created in realtime. A link to the direct picture will also be visible to copy and paste with IMG tags wrapped around it.
-need to add global excludes for feedback comments (bad, broken, etc etc)
-global off (the ability to turn all images into 1x1 pictures should there be a change in ebay search paths)
Basically I like the functionality of the script currently, but the work flow is very bad.
I have included the files in the current scraper so you can estimate your work load.