then you are refering output from yahoo or google site. there are a lots of technologies where you can parse data from other site. hmmm
you can use coldfusion cfhttp for just a seconds bro.
then you are refering output from yahoo or google site. there are a lots of technologies where you can parse data from other site. hmmm
you can use coldfusion cfhttp for just a seconds bro.
Tell me how do you do that in seconds?Originally Posted by pronelgraine
I just told you the easiest way on how to do. I pointed you the Web API. You receive the response in Raw XML format not in HTML format and it's legal to use if you attribute the search engine company.
It is legal to refer yahoo and google search engine thru your Web API,
then you are claiming that the result content from yahoo and google is yours.
I don't think so.
cfhttp is just a simple as this :
<cfhttp method="Get" url="your search engine site" resolveurl="Yes">
<cfoutput>
#cfhttp.FileContent# <br>
</cfoutput>
daghan kaayo method bro. so dli nalang ta mag istorya about ana. :o
murag wla na may kapaingnan ato gi istoryahan bro hehehe, dli man sad ta maka sapi ani :idea:
Kasabot ka ug 'attribute'? Yahoo! and Google are just asking the developer to give credits to them.Originally Posted by pronelgraine
Now, your are just fetching website. It's inefficient because you download some garbage data.
hmm ic daghan kaayo mga API bro mau na ang pina ka saun hehehe, just telling you the best way kon unsa lain method kay kon mo refer ka ug wla pa Web API like yahoo and google maka kalot ta sa ulo ana. garbage data can manage thru your web parsing heheh.
Thats all folks bro.
Of course, if the web API is not there, it's the only way (not the best way) -- using HTTP libs or just sockets.Originally Posted by pronelgraine
I was asking you if you heard those API coz it seems you assumed that I dont know how to do it.
ok
ako ning idonate sa opensource
Code:import sys from yahoo.search.webservices import create_search svc = sys.argv[1] query = " ".join(sys.argv[2:]) search = create_search(svc, "glory hunter guapo", query=query, results=5) if search is None: search = create_search("Web", app_id, query=query, results=5) dom = search.get_results() results = search.parse_results(dom) for item in results: url = item.Url summary = item['Summary'] print "%s -> %s" % (summary, url)
Similar Threads |
|