Remote Render API Not Displaying TRS Info

Status
Not open for further replies.

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,835
Location
Fredericksburg, VA
The Remote Render API is not displaying TRS info for the Prince George's County (MD) 700 MHz P25 trunked system. This is the line of code I'm using:

<script language="JavaScript" src="http://api.radioreference.com/js/?key=69072372&sid=6341"></script>

The page where I'm trying to get this to work is at:

Prince George's County

The line of code is in the page (above where the sites are displayed), but no system information is displayed.

The system information is displaying properly on other pages I have (such as Baltimore), so I wonder if it's just a bug with the PG system?

Thanks,
Dave
 

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,835
Location
Fredericksburg, VA
I believe I've figured out the problem. The apostrophe in "Prince George's County" is messing up the JavaScript, because apparently apostrophes are used in the script. When the apostrophe is removed from the system title (as well as the trunked system county), the system information renders properly on my site. I guess something needs to be done about cities/counties/agencies that use apostrophes in their names.

Dave
 

MFD4305

Member
Joined
Mar 8, 2004
Messages
374
Location
Ypsilanti, MI
yes

Dave,
Yep - it's there for me. Do you run 'No Script'? I have to set it to allow everything on that page in order to see the trunked system information....
 

MtnBiker2005

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
3,565
Location
San Diego County, California

dtscho

Member
Database Admin
Joined
Aug 7, 2001
Messages
1,835
Location
Fredericksburg, VA
I think he is talking about this system info not showing up on the page.
System Name:
Location:
County:
System Type:
System Voice:
Last Updated:


Like on this page.
Baltimore

It doesn't show the "System Info" on this page he is talking about
Prince George's County

Right - that's what I'm talking about. System info displays on Baltimore page, but not on Prince George's page.

Dave
 

blantonl

Founder and CEO
Staff member
Super Moderator
Joined
Dec 9, 2000
Messages
11,262
Location
San Antonio, Whitefish, New Orleans
Luckily this piece of code isn't in our main branch which is undergoing major renovations and updates, so I was able to push out a quick fix for this just now.

Thanks,
 
Status
Not open for further replies.
Top