ASP Google API - How To Run Function
How would I add a form, text field and submit button, to handle the query and run the function. The code from the above link has a few syntax errors, Any ideas?? Code:
View RepliesHow would I add a form, text field and submit button, to handle the query and run the function. The code from the above link has a few syntax errors, Any ideas?? Code:
View RepliesI need to get an asp version of the google search api working for my job, they don't allow php on their servers which is a bummer because it would be a piece of cake in PHP.
I have tried using code available on the internet and the simplist one I got is below, it's called google.asp, however it's giving me a internal 500 error, here is the message from IIS. Code:
Anybody have any experience with plotting map points with Google Maps
API from an Access DB?
I have a database with about 90 locations that I would like positioned
in the Google Maps. I found a cool tool to get the long and latitudes
to complete the database, now just need to figure out how to get all
that data to appear on the maps.
I have a database which has the start address and end address. Is it possible to get the Google Maps to work with this data so that when I click on an image, I get the driving directions from the start address all the way to the end address.
View Replies View RelatedI have some pictures in database.now i am printing it using response.write in one page.It is working properly.I want to print it in such away(it should follows google page)like every page it should print 2 and then another page.
View Replies View Relateddoes asp files retrieved from database come to google search? how to give mete keywords for that ?
View Replies View RelatedI am trying to use google checkout and paypal checkout for the shopping cart.
I have searched on googles website ways to do it but i have a question if i use google checkout ihave to redirect to googles page for the credit card information once the user hits the submit button is there a way i can have that data added in my table.
Is there any way to determine a website's Google page rank programatically? I can see the pagerank using Google's tool bar when I visit a website but does Google have hooks into this feature?
View Replies View RelatedI'd like to know how can I work with Google (or any other Search Engine's search result).
I'd like to develop an application that takes in a keyword, searches Google, and based on results, it says how many results were produced.. Or what was the rank (PR) of a particular site, and so on..
I just logged onto Google sitemaps to check since I haven't logged on for a few weeks and I noticed a few new features.
One of these is a verification process and I tried to verify my site by following the instructions but I was then shown a message below...
"We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header."
I was then sent to this page (3rd paragraph from the bottom)
https://www.google.com/webmasters/si...ileconfigerror
It reads as follows:
------------------
We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.
this configuration presents a security risk for site verification and therefore, we can't verify your site. If your web server is configured to return a status of 200 in the header of 404 pages, and we enabled you to verify your site with this configuration, others would be able to take advantage of this and verify your site as well. This would allow others to see your site statistics. To ensure that no one can take advantage of this configuration to view statistics to sites they don't own, we only verify sites that return a status of 404 in the header of 404 pages.
Please modify your web server configuration to return a status of 404 in the header of 404 pages. Once your web server is configured correctly, try to verify the site again. If your web server is configured this way and you receive this error, click Check Status
What I would like to know is how I could set the status, whats the correct way to write this in the header of the 404 error page I made?
If I want to include google search in my asp page,i.e.with a text box and a submit button but it will link to google.How to do that?
View Replies View RelatedI have been searching for a search engine script done using CLASSIC ASP that uses the google data api but I could not find anything. I tried using a lot of codes (tutorials) but no one was effective with me.
View Replies View RelatedI am integrating google checkout in my shopping cart. I am able to submit my cart on google. But i want that the user should be able to update the cart even after that.
For that we have to specify the url where user can do so. But i am stuck and not getting how the cart is updated after that and what should i do so that user can update while being on google itself.
I have dates, in the format: "dd/mm/yyyy" AND - for newwer entries in the db, the format is "dd/mm/yyyy h:mm:ss PM"
I need to convert this via a vbscript function, whether it has the time stamp on the end or not, for use in an xml file. the format has to be:
yyyy-mm-ddThh:mm:ss+00:00
...the "T" is constant, and the +00:00 would be the same.
I having trouble with some of my classic asp pages being dropped from google.Specifically, a set of four pages reused many times with the content identified via query strings (max 3 variables). I was under the impression that google no longer has a problem with urls appended with query strings. Does anyone know if it is possible to incur penalties for the "over use" of such pages? My product detail page for example is used to display 230 seperate products.
if using static urls may help get my pages re-indexed, but I have had difficulty finding a way to do this with classic asp. Could anyone suggest a suitable method or advise possible reasons for my google disaster?
i want to make my site to be displayed in the first page of google.can it possible?
View Replies View RelatedI would like to know how I can do to avoid that Google index some doc files that are on a specified folder.
View Replies View RelatedI`ve got a site that is built with this structure: www.theurl.com/Default.asp?page=archive&id=31
When I search Google for information that is in the article with id 31, Google shows the correct information but the link to it is wrong. It shows the link to the default.asp....
Any ideas...?
i get the ref url that come to my site and i want to convert it to find
out what was the query in (google or other searcher sites)
foe example : if someone goes to google and search some text and my
site was in his resaults and he click on it , in my site i see his link
ref like
http://www.google.co.il/search?hl=i...91-Google&meta=
i want to know (in asp and save it to DB) what was the word or words
that the user write in search engine.
Whenever I do a site that is mostly static but with some semi-dynamic
sections, I've struggled to find a good site search solution without
paying for a hosted search service.
I like the FSO-based search engines, but they fail to pick up on some of
the dynamic part.
I was just creating a Google sitemap and it made me wonder: has anyone
created or seen a script that uses the XML Google sitemap to power a
search engine for your own site?
Seems like if you were keeping it updated for Google, why not use it for
your own site?
What's the difference between private and public functions in ASP? When should I use either?
I am using a simple guestbook /portal and i want script to send mail to the thread owner when someone reply his message.
this is the send message code ....
Can I define a function inside a function. e.g;
function abc()
function xyz()
....some code.....
End Function
End Function
I googled this but can't find any related topic.
I want to use the instr function, but return results from it depending on surtain functions, I can't realy explain so I'll show my example:
I have a string in wich some word I want to find might be in diffrent Capital Letters order, I want the Instr function to return all the values of the place of that word (avcourse I'll run a for and increase the starting point of the Instr func until it returns 0). The instinct thought is to use the Lcase or the Ucase functions, but in this case I don't know how to use them. In the same Idea I wanted to use the Instr Func with the trim Func, But Its realy the same principle if I just understood how to do so.
I am trying to call a function in asp to check to see if a varibale has a value stored in it if there is nothing wite the value NA into it. My code is
<%
Function NullValues(userField)
if userField = "" then userField = "NA"
end function
AccountNo = ""
Name = "sam clowes"
email = ""
AccountNo = (NullValues(AccountNo))
Name = (NullValues(Name))
email = (NullValues(email))
response.Write AccountNo & "<br>"
response.Write Name & "<br>"
response.Write email & "<br>"
%>
When I run this code ALL the variables are blank and nothing is output
the function
<%
Dim objXML, objXSL
Function ShowXML(strXML,strStyleSheet)
Set objXML = CreateObject("MSXML.DOMDocument")
Set objXSL = CreateObject("MSXML.DOMDocument")
objXML.load(Server.MapPath(strXML))
objXSL.load(Server.MapPath(strStyleSheet))
Response.Write objXML.transformNode(objXSL)
Set objXML = Nothing
Set objXSL = Nothing
End Function
%>
calling the function in an asp file
<%Call ShowXML("http://msn.foxsports.com/feedout/syndicatedContent?categoryId=142","nhl/xsl/news/teamNews.xsl")%>
the errors
1. the http:// part
2. and the ? mark
the error message says that the path has been typed wrong.
the user can key in variable A and B
then C is auto generated by C = A / B
so how and where should i write the C function??
Possibly a very simple question but how do I get a value out of an XML document so I can play with it in ASP
E.G: <Name>Tom</Name
How do I pull the work tom into asp
I am using the now() function to be displayed on an email after a form submission has been sent. The problem is that the server is not in the same timezone as I am for the result. How do I adjust the hours on the now() to allow for this please ?
View Replies View RelatedI know the basic difference between a subroutine and a function is a
subroutine performs a task and a function performs a task and returns a
value. The Call keyword is required when using parens with subs with more
than 1 parameters. Parens around values passed are ByVal vs ByRef and is a
waste of processing if passed ByRef for no reason.
I am told there is no reason to ever use a subroutine as a function can be
used even if it doesn't return a value. While this appears to be true, is
there any reason why it's ever a bad idea to use a function, instead of a
subroutine, that doesn't return a value? Are there memory, performance,
etc. issues?
I am trying to locate information on how to call a sub within VBScript on an
ASP page but I can't locate generic information. What I want to do is
generate a page that will stay up but the information on it will change
based on a series of drop down boxes. I need the first drop down box to call
a second dropped down box based on the state that is chosen then city and so
on.
I have a column in the table which contains 2 full names seperated by "&" (e.g: Joe Smith & Jeff Scott) I want to display only the first names of the whole record in an asp page. Is there an asp function using which i can do this?
View Replies View Relatedim using the mod function to create a calendar for me, which everything works perfectly, all is totally well with that!
but...when i use the mod function it churns out this loooooooooong string which is the whole table...
if there is some way that i can insert hard breaks IN THE CODE ITSELF.