DySE::StubHub Script : Documentation

 

Home > DySE::StubHub > Documentation

DySE::StubHub Script Documentation

Browse DySE::StubHub Script Documentation
 


Introduction

The DySE::StubHub script (make.pl) is a Perl script program that works in conjunction with the generic DySE™ viewer script (view.pl) to display products offered by StubHub.com. The DySE::StubHub script and the DySE™ viewer script run on your web server.

When you run the DySE::StubHub script (make.pl), it downloads and processes the product datafeed file from StubHub.com and creates a products database file. When a user visits your website, the DySE™ viewer script (view.pl) is run and it displays product pages, category pages, or the home page.

A live example website that uses DySE::StubHub is www.bime.com.com/tickets


Installation

For detailed instructions on how to install and use DySE::StubHub make.pland the DySE™ view.pl, click here.

Important:   ID Time Sharing
StubHub.com has a one-tier affiliate program; they do not offer a sub-affiliate commission. The DySE::StubHub script uses ID time sharing. On average, your ID is used in links 3/4 of the time, and our ID (Cusimano.Com Corporation is an affiliate of StubHub.com) is used the remaining 1/4 of the time. Because your ID is not used 100% of the time, your effective commission rate is reduced to on average 3/4 of the full rate (e.g.: from 8% to on average 6%).


Sample Template Sets

The following are live examples of the sample template sets that are included with the DySE::StubHub script.


www.bime.com/tickets/set1
(templates "set1")

 


www.bime.com/tickets/set2
(templates "set2")


www.bime.com/tickets/set3
(templates "set3")

 


www.bime.com/tickets/set4
(templates "set4")


www.bime.com/tickets/set5
(templates "set5")

 


www.bime.com/tickets/set6
(templates "set6")


Template Substitution Variables

The following item.* substitution variables can be used in an items.html item template file. Variables specific to DySE::StubHub are indicated with a + sign. For the standard item.* variables, see item.*

+

Variable

Description

  item.category

Category name.

+

item.city

City where event is to occur.

+

item.date

Date when event is to occur. Format: dd-Mmm-yyyy

+

item.date.ymd

Date when event is to occur. Format: yymmdd

Note: You can use this variable to check if the event has past. Example:

<!--if item.date.ymd < date.ymd-->
    Event has past!
<!--elsif item.date.ymd = date.ymd-->
    Event is today!
<!--else-->
    Event coming soon!
<!--endif-->

+

item.date.yyyymmdd

Date when event is to occur. Format: yyyy/mm/dd

  item.desc

Description of event.

  item.img

Undefined. Always "".

  item.name

Name of event. Format: yyyy/mm/dd - Description - Region, State

  item.price

Price range of tickets. Note: Undefined for some events. Format: $MinPrice - $MaxPrice

+

item.region

Region where event is to occur.

  item.sku

Event ID.

+

item.state

State where event is to occur.

  item.url

"Buy URL" for this event.

+

item.venue

Venue name.

+

item.venue.config

Venue configuration, e.g.: Baseball

+

item.venue.img

Venue seating map, large image. Note: Undefined for some events.

+

item.venue.img.thumb

Venue seating map, thumbnail image. Note: Undefined for some events.


http://www.c3scripts.com/stubhub/