ICE Portal
Help
Travel Distribution Partner Portal
FAQ (Frequently Asked Questions)
Distributor settings
Distributor brochures
To
Find Digital Brochures
To
Map a Hotel’s Property ID
Edit
brochure or enable / disable brochure
Preview
Brochure
Get
Smart Link
Advanced
Use of Smart links
Brochure Media (Content
a la carte)
Sample smart link
Sample XML service
User Profile
Reports
Sample Search Form |
Distributor
brochures
Advanced
Use of Smart links
Note: Understanding
of Web development basics is required for understanding this section.
Smart Link defined
By default, a SmartLink is a client side script which
shows or hides a link based on its status. If content is "available"
the link would be displayed on website, if not available, it will be hidden.
Do I have to use
Smart Links?
Yes, the smart link verifies the availability of the
brochure, and delivers content with your settings. There are other
ways this can be done on the client side as well as on the server
side (below).
How else I can implement SmartLink?
First do a GET on verification link:
http://www.iceportal.com/ice/WTVPortal/Pages/
BrochureView/BrochureAvailable.aspx?did=XXX&
brochureid=YYY -- where XXX
is your "did" "distributor
ID" and YYY
is the "brochureid" or PID (property ID) of the brochure you
want.
If brochure is available you'll get a gif image (1x1 pixel). In this case
you can show the link to the brochure as you have verified its availability.
If brochure is not available. the a link to brochure will not work, and
is hidden.
Linking multiple brochures on one web page?
Can
I copy and paste the client script & copy it over & over only
modifying brochure IDs ?
Yes. Make sure you change brochure IDs, not only in the
brochure URLs but also for the name
of the images loaded to verify brochure availability. If you
keep image name the same it will not work correctly - the links in the
list will be checking availability against this image instead of checking
availability against its own image.
To implement SmartLinks
on server side:
There are many server side technologies so
we are not able to list solutions for all of them here.
The general concept is:
1) Make a server to server call with GET on
brochure verification URL with correct Distributor
and Brochure ID
2) If you get a valid response from the call (gif
image of size 1 pixel) write out HTML with the
link of the brochure you just verified.
3) If you don’t get a valid response – do not write out HTML
to show the link of this brochure as it
will not be functional.
Why should I only look for valid response
from verification link?
Always check for valid response because it is only the time when you are
guaranteed that this is when the brochure link is going to be functional.
There may be a number of invalid responses and if you only check for one
you may show a link to brochure when it is not available.
Other ways to verify brochure status
You can use XML interfaces see ICE WebService.
Need more Help?
If you do not feel comfortable implementing smart links on your Website
an engineer from ICE Portal can do this for you for an additional fee.
Please contact support@iceportal.com
for more details.
|