Author Topic: Read this.  (Read 811 times)

Triple OG Rapsodie

Re: Read this.
« Reply #30 on: February 15, 2012, 10:43:25 PM »
Funny how NIK was nowhere to be found in this thread.
 

JStarks

  • Lil Geezy
  • *
  • Posts: 0
  • Karma: 0
Read this
« Reply #31 on: February 18, 2012, 02:23:57 AM »
Hi

I am looking to have country by country shipping charges.  However, I cant figure out how to get it to read the file on the website/ in a folder that contains this info.
How did you get it to read the results data?

Currently its all manual, so the code is something like:

<area title="AUSTRALIA" mc_name="AU" text_box_width="300" text_box_height="220"><description>
        <CDATA<b>Standard rate</b><br></br>
£7.50 per parcel under 600g<br></br>
£15.00 per parcel from 600g up to 1500g<br></br>
£20.00 per parcel from 1500g up to 2kg<br></br>
£35.00 per parcel from 2kg up to 4kg<br></br>
£40.00 per parcel from 4kg up to 6kg<br></br>
£45.00 per parcel from 6kg up to 7.5kg>
       </description></area>

What I want is for that data to be read from a single file on our website, so that we can update that file alone and amMap will automatically retrieve the new data when it is loaded.

Obviously it will need a few things: be able to read the file most likely it will be a .php or .html file although possibly an .xml, to be able to find the data within the file which hopefully will be labaled using the same area_title, be able to display this info in a self-sizing text box depending on the number of lines it finds.

Is this possible, or is there a simple way to make it do this?

thanks in advance.
 

JStarks

  • Lil Geezy
  • *
  • Posts: 0
  • Karma: 0
Read this
« Reply #32 on: February 18, 2012, 11:36:58 PM »
Hi

I am looking to have country by country shipping charges.  However, I cant figure out how to get it to read the file on the website/ in a folder that contains this info.
How did you get it to read the results data?

Currently its all manual, so the code is something like:

<area title="AUSTRALIA" mc_name="AU" text_box_width="300" text_box_height="220"><description>
        <CDATA<b>Standard rate</b><br></br>
£7.50 per parcel under 600g<br></br>
£15.00 per parcel from 600g up to 1500g<br></br>
£20.00 per parcel from 1500g up to 2kg<br></br>
£35.00 per parcel from 2kg up to 4kg<br></br>
£40.00 per parcel from 4kg up to 6kg<br></br>
£45.00 per parcel from 6kg up to 7.5kg>
       </description></area>

What I want is for that data to be read from a single file on our website, so that we can update that file alone and amMap will automatically retrieve the new data when it is loaded.

Obviously it will need a few things: be able to read the file most likely it will be a .php or .html file although possibly an .xml, to be able to find the data within the file which hopefully will be labaled using the same area_title, be able to display this info in a self-sizing text box depending on the number of lines it finds.

Is this possible, or is there a simple way to make it do this?

thanks in advance.
Original Levitra
 

Hack Wilson - real

Re: Read this.
« Reply #33 on: February 18, 2012, 11:52:21 PM »
hahahahahahahahahahahahaha
 

Sikotic™

Re: Read this.
« Reply #34 on: February 20, 2012, 12:50:26 PM »
This is gold.
My Chihuahuas Are Eternal

THA SAUCE HOUSE
 

rayallen0

  • Guest
Re: Read this.
« Reply #35 on: February 20, 2012, 08:00:53 PM »
lol the bots just love to bring up threads to shit on nik.

oh shit eden got mad fire
http://soundcloud.com/edenshizzle/no-duhhh-ft-kniivess-awkward


"I mean I wasn't tryna say "I think you should paperbag me"
I'm the closest thing to 'YES HOMO', but I ain't that faggy
Karma's bad for your health, So I'll feed it to a drag queen
Hope that shit's dosed with some cyanid, cuz I don't like drag queens"

"Awkward Presents mother fucker here's a lil one for you,
and if you tryna throw it back, well faggot fuck you too"
« Last Edit: February 20, 2012, 08:04:04 PM by rayallen0 »