NameSilo

Calling a URL

Spacemail by SpaceshipSpacemail by Spaceship
Watch

combs84

Established Member
Impact
23
Here is the explanation I am given on what to do with something.

Once you know the URL, retrieving the code for your page is simple: You may either use this URL as the src attribute for a <script language=″javascript″></script> tag, or you can call the URL using serverside code and write the HTML to your page before returning it to the browser. In the latter case, you will need to append the name/value pair “html=true” to the URL so that the code you receive will not be javascript, but html.

an example of a src java code I use is this:

HTML:
<script language="JavaScript" src="http://www.tickettransaction.com/?brokerid=1448&sitenumber=1&plugin=event_results&event=Chicago Bulls&sortcol=&sortord=" type="text/javascript">
</script>

so what exactly would I have to do to "call the url using serverside code" ETC that it is talking about? What would I need to do to convert this java code to html? I notice in my source code all I get is that ugly java. While when I look at others, they use the same software and their source code is loaded with all of the event text of the information that the code produses etc. If anybody could lead me in the right direction i'd be appreciated. Note that if use non-everyday web words to describe something I might get lost!

Thanks tho!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
Anybody?

If anybody can help soon, can send $$
 
0
•••
Can you be more specific? The javascript you gave as an example really doesn't give much to go on.

Try to explain in better detail exactly what you are trying to achieve.
 
0
•••
Hmm.

Well here is an example page of what the code calls:
Detroit Tigers MLB Tickets at Comerica Park

the information on the right is what is displayed because of the javascript code of:

<script language="JavaScript" src="http://www.tickettransaction.com/?brokerid=1448&sitenumber=1&plugin=event_results&event=Cleveland Cavaliers&sortcol=&sortord=" type="text/javascript">
</script>

But this document: www.yaytickets.com/about!.doc Page 4?

says this(among other things:

There are two ways to call a plug-in on a web page in your website: using javascript or HTML. In either case, you must first formulate the URL that will be called to retrieve the plug-in code. There are four parts to the URL: the Plug-In Service, the Broker Id, the Template ID, and the Template Parameters.
The Plug-In Service and the Broker Id (bid) will always be the same (the former will always be tickettransaction.com and the latter is your TicketNetwork Exchange ID). The Template ID (tid) and the Template Parameters will vary, depending on the plug-in you wish to call. Both are listed under required parameters for each plug-in below.
Once you know the URL, retrieving the code for your page is simple: You may either use this URL as the src attribute for a <script language=″javascript″></script> tag, or you can call the URL using serverside code and write the HTML to your page before returning it to the browser. In the latter case, you will need to append the name/value pair “html=true” to the URL so that the code you receive will not be javascript, but html.

As you can see, I currently use the javascript code. And I wanna start using the HTML option it says it offers, but it sounds very vague on how to do it. I'm hoping that somebody here knows how what this document I liked to is talking about?
 
Last edited:
0
•••
check you PM.

and i can help you on this one

---------- Post added 05-01-2010 at 12:10 AM ---------- Previous post was 04-30-2010 at 11:01 PM ----------

solution Part 1

use this as your javascript source

HTML:
http://www.tickettransaction.com/?brokerid=1448&sitenumber=1&plugin=event_results&event=Cleveland%20Cavaliers&sortcol=&sortord=

if you want to have HTML directly embedded.

you can have following code
PHP:
<?php

include("http://www.tickettransaction.com/?brokerid=1448&sitenumber=1&plugin=event_results&event=Cleveland%20Cavaliers&sortcol=&sortord=&html=true");

?>

Hope this helps you

if it does don't forget to close this thread.
 
0
•••
Thanks, this pretty much solved what I was looking for. I see now option to close thread tho!
 
0
•••
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back