Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Search another site

Participant ,
Jan 19, 2009 Jan 19, 2009
Hello, I am looking for a way to search another site for a specific phrase.

People are linking to my site and I have to ask them for the page where they linked and go validate that it's there. I'd like to automate this process.

Any ideas?
373
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 19, 2009 Jan 19, 2009
use <cfhttp> and then look for the phrase (and probably a url as well)
in the returned filecontent.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 19, 2009 Jan 19, 2009
Ok I'll give that a try. Thanks Azadi.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 19, 2009 Jan 19, 2009
Some of us solved this dilemma for another user at some point in the last six months. Search the forums and I am sure you will uncover it. CFHTTP is at the root of the solution, though.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 19, 2009 Jan 19, 2009
Will do. I've never used the cfhttp tag so I'm going to have to do some homework before I can post again.

My first thought is "will I be able to use this without a login for the other ip" but I'm sure I will find out soon.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 21, 2009 Jan 21, 2009
LATEST
Needing a login is dependent on the other site. With CFHTTP, you are retrieving whatever content is returned to the browser. The other web site "sees" this visit as just another visitor on the web. If the page you are visiting is unprotected, you wont need a login.

Once you use CFHTTP, the contents of the page in question are returned to you as a variable. Use your string functions to parse or search that variable for whatever word or words you like. If your search finds your string, you can be reasonably sure that your link appears on the other site. I say "reasonably sure" because the other site may be capable of "fooling the system" and not actually displaying the link correctly, or hiding it in the same font color as the background color, etc. etc.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources