Gossamer Forum
Home : Products : Links 2.0 : Customization :

Mapquest

(Page 1 of 2)
> >
Quote Reply
Mapquest
Mr. Wells had brought up a good idea.

Has anyone here tried to get Mapquest or Tripquest to personally interact with the link system. If so could you post that information here. I would be greatly appreciative.

James L. Murray
Quote Reply
Re: Mapquest In reply to
So you want to steal meterial from another site and use it on yours. If you want to, just use LWP and format the results yourself


------------------
Sincerely,

Netoo! Support
Netoo! Internet Services Of America.
http://www.netoo.phiberoptix.com
Quote Reply
Re: Mapquest In reply to
Steal??? ... little bit of cheap shot wasn't that.

Please Jimmy, I'm a professional or at least I make every effort to be professional.

Perhaps you're a bit confused so let me paint a better picture. I'm known for always writing in short hand ... and it often confuses people.

The type of linking or interfacing I'm taking about is a simple link, but with a neat feature. It has the ability to pass params to the site. For instance, Street address, Town and State. When the map would come up it would:

1) "most definalty be from from their URL
2) Show their logo and all copywrite info

... and it would be no different than the person actually going to the web site and doing a cut and paste into their data entry box.

I'm suggestioning that we just save them a step and carry them and the info over there for them, while sending them directly to the driving Map via a link. Very much like what we do day in and day out with Links. Only we're bringing data with us.

There are several reason I suggest this:

1) Most novicies don't know then can get free driving instructions from the internet.

2) some people still don't know how to do something as simple as "cut & paste"

3) The internet scares a lot of people and any thing you or I can do to make their life on the internet a little easier will benifit us all.

4) and the last is, just the ability to add a bit more wazzle dazzle to our sites

So for as for stealing, you completely misunderstood me and I hope this claifies my goal.

Best Regards,
Jeff


[This message has been edited by JWells (edited June 14, 1999).]
Quote Reply
Re: Mapquest In reply to
Hello,

I'm not to familiar with LWP. How would I do that?

Thanks

------------------
James L. Murray
VirtueTech, Inc.
http://www.virtuetech.com
Quote Reply
Re: Mapquest In reply to
Here is the link to LWP:

http://www.opensourceit.com/tutorials/990517perl.html

JEff
Quote Reply
Re: Mapquest In reply to
I've tried it and it works. This gives me some great ideas to do now. Thanks

------------------
______________
XanthisHP
http://boom.home.dhs.org
BOOM! Flash 3 Resource - When there's a Flash, there's a BOOM!
Quote Reply
Re: Mapquest In reply to
Hey Jeff,

I think I might have something that would work for you if mapquest or whoever uses GET. let me mess with it and I'll post it here.

Right now I'm using the script at http://www.hotrodding.net to access links, UBB, and Amazon searches with a drop down box to select what search you want.

If you want a hard link just copy the results of a search and replace the variables with what you want to search.

------------------
JRM Studios www.jrmstudios.com
The Hotrodding Network www.hotrodding.net
Web discuss Free speech newsgroups - www.webdiscuss.com



Quote Reply
Re: Mapquest In reply to
Forget the script. That is not what your talking about. Smile

If you want a map to the place in your listing. Try this.

In link.html
Replace:
Code:
<small class="date"><font face="Verdana, Arial, Helvetica" size="-1">
(Added: <%Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%> )
<a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a></font></small>

with

Code:
<small class="date"><font face="Verdana, Arial, Helvetica" size="-1">
(Added: <%Date%> Hits: <%Hits%> Rating: <%Rating%> Votes: <%Votes%> )
<a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>
<a href="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=<%address%>&csz=<%city%>%2C+<%state%>&Get+Map=Get+Map">Map It!</a>
</font></small>

For this to work you need to have the address, city, and state fields in your database.

It will send them off the site to the results on Yahoo! Maps.

HTH!
<note> This has not been tested </note>
<note class="one_more_thing"> Boy do I have a good idea how to use this! Smile</note>


------------------
JRM Studios www.jrmstudios.com
The Hotrodding Network www.hotrodding.net
Web discuss Free speech newsgroups - www.webdiscuss.com


[This message has been edited by John R Marshall (edited June 15, 1999).]
Quote Reply
Re: Mapquest In reply to
John,
You're the man of the hour!!! Thanks Smile
I can't belive you made it so simple to use, great!

I haven't had a chance to test it yet, but when I get back later today I surely will Smile

Thanks again and WOW ... this will really add some razzle dazzle!

Best Regards,
Jeff

Quote Reply
Re: Mapquest In reply to
John,

Have you tried it yet?

HAMweather rocks.

Thanks buddy


------------------
James L. Murray
VirtueTech, Inc.
http://www.virtuetech.com
Quote Reply
Re: Mapquest In reply to
John,

Have you tried it yet?

HAMweather rocks.

Thanks buddy


------------------
James L. Murray
VirtueTech, Inc.
http://www.virtuetech.com
Quote Reply
Re: Mapquest In reply to
The only problem is that you have to now leave your site and go to Yahoo's.

I need to stay within my site.

Any suggestions.

------------------
James L. Murray
VirtueTech, Inc.
http://www.virtuetech.com
Quote Reply
Re: Mapquest In reply to
Well you could add target=_blank to the link to open in a new window. Or a javascript window with no browser controls. (you did not hear that from me, I hate those things! Smile )

------------------
JRM Studios www.jrmstudios.com
The Hotrodding Network www.hotrodding.net
Web discuss Free speech newsgroups - www.webdiscuss.com



Quote Reply
Re: Mapquest In reply to
John,

If the address is pulled from the database as it was entered, it won't work.When you pass an address string to Yahoo, you need have the "+" sign in between words. Otherwise it won't work.

I also tried Mapblast. Same problem there. I dont' know of any ohter mapping services. Most sites license their maps from these two companies.
Quote Reply
Re: Mapquest In reply to
Not sure what you are talkin about. Frown
the only +'s I have omited where the ones that replaces the spaces in two word city's.

If you have the following fields in your database.

address = 1150 Main
city = South Bend
state = IN
The link will be in this form.

http://maps.yahoo.com/...&Get+Map=Get+Map

Click it yourself, you will see a location on the bad side of town here Wink

Looks like the UBB wont take the spaces in the above URL just cut and paste.
------------------
JRM Studios www.jrmstudios.com
The Hotrodding Network www.hotrodding.net
Web discuss Free speech newsgroups - www.webdiscuss.com





[This message has been edited by John R Marshall (edited June 15, 1999).]
Quote Reply
Re: Mapquest In reply to
Hello,

I want to use Johns idea about putting "get map" next to "rate it" under each link, but I want to use it for only some categories.

Is this possible?



------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Mapquest In reply to
John,

That's awesome. I just wish that there was a free service that allowed us to get those maps and driving directions on our own web sites.

Beggers can't be choosers.

Thanks John for finding this...



------------------
James L. Murray
VirtueTech, Inc.
http://www.virtuetech.com
Quote Reply
Re: Mapquest In reply to
I think you could use the else if mod, but I havent had time to look at it so I don't know for sure.

------------------
JRM Studios www.jrmstudios.com
The Hotrodding Network www.hotrodding.net
Web discuss Free speech newsgroups - www.webdiscuss.com



Quote Reply
Re: Mapquest In reply to
Read next message...


[This message has been edited by kobe (edited June 19, 1999).]
Quote Reply
Re: Mapquest In reply to
ISSUE: If someone enters a address like:

1620 Roe Crest Drive #5

The "#" sign causes a problem for Yahoo and then drops the city and state.

How can I edit the "#" out of my database or convert "#" to "No." when it is first entered.
Quote Reply
Re: Mapquest In reply to
In response to Ground Zero. I made my database to do just that. I used the if else mod in my page template files. Here's the code I used:

Code:
<%if Details%>
<a href="<%build_detail_url%>/<%ID%>.shtml"><%Title%></a>
<%endif%>
<%ifnot Details%>
<a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
<%endif%>

This is the code for link.html. What is does is check to see if there is a detail field filled in. If so, build the <a href""> code. If not, use the the jump.cgi script. In your case, I think your code should be something like this:

Code:
<%if Address%>
<a href="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=<%address%>&csz=<%city%>%2C+<%state%>&Get+Map=Get+Map">Map It!</a><%endif%>
<%ifnot Address%>
<%endif%>

This will check to see if your Adress field is filled in the database, if so, shows the Map It! hyperlink. If not, shows nothing. You should place this code beside the rate code. Hope this helps.

------------------
XanthisHP
http://boom.home.dhs.org
BOOM! Flash 3 Resource - When there's a Flash, there's a BOOM!
Quote Reply
Re: Mapquest In reply to
Hey,

Thanks alot. This forum rocks.

I won't be able to try it until later, but, Thanks.

James L. Murray

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Mapquest In reply to
I added the following code to my links.html page to go to Yahoo Map It and give users directions to the link:

Code:
<small class="date"><font face="Verdana, Arial,
Helvetica" size="-1">
(Added: <%Date%> Hits:
<%Hits%> Rating: <%Rating%> Votes: <%Votes%> )
<a
href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate
It</a>
<a
href="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=<%address%>&csz=<%city%>%2C+<%state%>&Get+Map=Get+Map">Map
It!</a>
</font></small>

I need your help, if you could. I need to figure out how to define the variables: address, city, and state in links 2.0.

I added them in links.def, and in the globals in site_html_templates.pl but when I click on "Map it" by a link, the variables were unknown tags. How do I make them known tags?

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
Quote Reply
Re: Mapquest In reply to
You shouldn't need to include them in %globals if they are defined in %db_def of links.def.

If you are getting an unknown tag error, be sure that if the field is City, then the tag should be <%City%> not <%city%>. The tags are case-sensitive.

I hope this helps.
Quote Reply
Re: Mapquest In reply to
That was the problem.

Thanks.

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com
> >