#!/usr/bin/perl # Blah blah blah legel stuff yada yada yada # ################### # #Your index page is at cgi-bin/auctions.cgi?index #Your CJ number by your name at the top of the CJ page - ACCOUNT: YOUR NAME (NUMBER) $track = "576969"; #Tracking ID, if you want to use one, (just letters and numbers). $sid = "ebayperlscript"; #How many items do you want to have show up? $num = "50"; #How do you want the links to show up? Same window (n) or a new window (y), and lower case. $popup = "y"; #How wide do you want the ebay product table to be? $width = "800"; #Colors of your store. $hdrcolor = "FFFFCC"; $endcolor = "FF0000"; $tlecolor = "FFCE63"; $bdrcolor = "FFCC00"; $fntcolor = "000000"; #Place your header HTML here. $header = ' This is where the header stuff goes. '; #meta tag code for sub-category pages. Keep ##category## and ##category2## in the meta tags if you want the category names to show up. $metatags = ' '; #Place your footer HTML here. $footer = 'This is where the footer stuff goes. '; #Other Options. $endtime = "y"; $img = "y"; $srchdesc = "y"; $numbid = "y"; $sortdir = "asc"; $sortby = "endtime"; $fs = "0"; $cid = "0"; $siteid = "0"; $ai = "amzq%7ey%7eq%7b%7eiz"; $prvd = "1"; $sort = "MetaEndSort"; #Don't edit anything below here unless you know perl!! if (length ($ENV{'QUERY_STRING'}) > 0){ $buffer = $ENV{'QUERY_STRING'}; @pairs = split(/&/, $buffer); foreach $pair (@pairs){ ($name, $value) = split(/=/, $pair); $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $in{$name} = $value; } } $product = $in{'product'}; $id = $in{'id'}; $category = $in{'category'}; $subcategory = $in{'subcategory'}; $category =~ s*-* *g; $product =~ s*-* *g; $subcategory =~ s*-* *g; $subcategory2 = ": $subcategory: "; $subcategory2 =~ s*: : *: *g; $html =~ s*: : *: *g; $html =~ s*: , *, *g; $html =~ s*, : *, *g; $title = "Auctions: $category$subcategory2 $product"; $title =~ s*: \<*\<*g; $title =~ s* * *g; $h2 = "Get $subcategory / $product Products at ebay"; $h2 =~ s* / Products at ebay* Products at ebay*g; $metatags =~ s*##category##*$category $subcategory2 $product*g; $metatags =~ s*##category2##*$category, $subcategory2, $product*g; $metatags =~ s* : *, *g; $metatags =~ s*: *, *g; $metatags =~ s*: , *, *g; $metatags =~ s*: *, and *g; $metatags =~ s* * *g; $metatags =~ s*,,*,*g; $metatags =~ s*, ,*,*g; $metatags =~ s*, *, *g; $metatags =~ s*, , *, *g; $JavaScripturl = "http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&popup=$popup&hdrcolor=$hdrcolor&sid=$sid&fs=$fs&endcolor=$endcolor&num=$num&cid=$cid&sortdir=$sortdir&tlecolor=$tlecolor&sortby=$sortby&track=$track&srchdesc=$srchdesc&width=$width&siteid=$siteid&bdrcolor=$bdrcolor&numbid=$numbid&ai=$ai&prvd=$prvd&fntcolor=$fntcolor&sort=$sort&endtime=$endtime&img=$img&catid=$id"; if ($ENV{'QUERY_STRING'} ne '') { $command = "$ENV{'QUERY_STRING'}"; } print "Content-Type: text/html\n\n"; $footer =~ s**
Script by Webmaster HQ
*g; if ($command eq 'index') { print < Get Baby Products from ebay $header

Baby Products from ebay.

Baby Gear Baby Backpacks Baby Carriers & Slings Baby Jumpers Baby Swings Play Pens & Play Yards Play Shades & Tents Vibrating Chairs Walkers & Saucers Other Baby Gear Baby Safety & Health Baby Locks & Latches Baby Monitors Baby Thermometers Babyproofing, Outlet covers Prenatal Heart Monitors Safety Gates Shopping Cart Covers Other Baby Safety Bathing & Grooming Baby Scales Bathing Accessories Bathing Products Health & Grooming Skin Care Towels & Washcloths Other Bathing & Grooming Car Safety Seats Booster to 80lbs Car Seat Accessories Convertible Car Seat 5-40lbs Infant Car Seat 5-20 lbs Infant Head Support Other Car Seats Diapering Baby Wipe Warmers Baby Wipes Changing Pads Cloth Diapers Diaper Bags Diaper Cakes Diaper Covers Diaper Storage, Disposal Disposable Diapers Swim Diapers Other Diapering Feeding Baby Bottles Baby Bottle Warmers Baby Formula Bibs Breastfeeding Supplies Breastpumps Burp Cloths Cups, Dishes & Utensils Feeding, Boppy Pillows Food & Food Grinders High Chairs & Booster Chairs Pacifiers Keepsakes & Baby Announcements Nursery Bedding Blankets Bumpers Cribskirts & Dust Ruffles Nursery Sheet Sets Nursery Sheets Pillows Quilts, Comforters & Duvets Shams Other Nursery Bedding Nursery Decor Lamps & Shades Nursery Mats & Rugs Nursery Mobiles Picture Frames Wall Decor Window Treatments Other Nursery Decor Nursery Furniture Bassinets & Cradles Cribs Crib Mattresess Dressers & Changing Tables Moses Baskets Nursery Furniture Sets Rockers, Gliders Toddler Beds Other Nursery Furniture Potty Training Strollers Bike Trailors Jogging Strollers Pram Strollers Standard Strollers Stroller Accessories Travel Systems Other Strollers Toys Activity Gyms Baby Blocks & Sorters Crib Toys & Accessories Developmental Baby Toys Rattles & Teethers
$footer EOM } else { print < $title $metatags $header

$h2

$footer EOM exit; }