Printable Version of Topic

Click here to view this topic in its original format

914World.com _ 914World Garage _ SirAndy, The Magician

Posted by: McMark Jan 13 2004, 01:02 AM

Can you add a feature to the BBS? I'm sure it's simple rolleyes.gif

I'd like all posts that contain a link to eBay to automatically add the main listing image for that item to the thread. That way I can always see something about what I'm clicking over to.

Thanks! givemebeer.gif

Posted by: Gint Jan 13 2004, 01:08 AM

Andy's gonna love that... blink.gif

Posted by: SirAndy Jan 13 2004, 01:37 AM

QUOTE(markd@mac.com @ Jan 12 2004, 11:02 PM)
I'm sure it's simple  rolleyes.gif

hmmm, let's see ...

//--------------------------------------------------------
void MarksEbayRequest(Post* aPost) {
Image* thePic = NULL;

 if (scan_post_for_a_ebay_link(aPost) == true) {

   thePic = leech_main_Picture(aPost);
 }

 if (thePic != NULL) {

   addPicToPost(aPost,thePic);
 }
}

Posted by: McMark Jan 13 2004, 02:31 PM

Yer almost there. Here's some help. smile.gif

Parse the eBay page for:
eBayUser_SelfHosted_image.src = '

The image URL follows.

Posted by: SirAndy Jan 13 2004, 02:32 PM

QUOTE(markd@mac.com @ Jan 13 2004, 12:31 PM)
Parse the eBay page for:
eBayUser_SelfHosted_image.src = '

naaa, that would be JavaScript, my example is C++ wink.gif

Posted by: McMark Jan 13 2004, 05:41 PM

You should use Pascal. It's good shit.

Posted by: SirAndy Jan 13 2004, 05:53 PM

QUOTE(markd@mac.com @ Jan 13 2004, 03:41 PM)
You should use Pascal. It's good shit.

icon8.gif barf.gif

btdt, there was a time when pascal was "good shit" ...

yes, i am that old! laugh.gif
Andy

Posted by: fiid Jan 13 2004, 07:12 PM

Pascal designed as an educational language. There have been very few serious commercial things done with it, although one of them was the Mac OS (before X).

Posted by: SirAndy Jan 13 2004, 08:10 PM

QUOTE(fiid @ Jan 13 2004, 05:12 PM)
Pascal designed as an educational language. There have been very few serious commercial things done with it, although one of them was the Mac OS (before X).

still very widely used in the scientific community, along with cobol and basic and others ...

Posted by: vortrex Jan 13 2004, 08:53 PM

oh man, did all my college projects on turbo pascal!

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)