WebScissors
Instructions
Help

Linking to WebScissors

If you would like to make a link to WebScissors from your own web site or tools page, there are a number of ways that you can do so. The easiest, of course, is just to make a traditional link to the main www.webscissors.com page. But you can also use the following method to link directly to the different portions of the tool.

To prevent other web sites from linking to old versions of the WebScissors script that we no longer update or support, we do not allow outside web sites to link directly to our CGI scripts. Instead, we provide a special redirect page that you can use to forward your request to us, and we'll match it up to the most current CGI script.

The redirect allows you to pass in a number variable (either through the query string of your link or through HTML form fields) so that the script will customize itself to your needs. A description of each variable follows the redirect URL:

url
This is the URL that you want pre-loaded into WebScissors. If it is left blank, you will be sent to the WebScissors front page.

lang
This is the language in which you want the results to be displayed. If it is left blank, or if the value is "en", the results will be displayed in English. Or you can use one of the following values to display the results in the corresponding language:
  es - Spanish
  fr - French
  de - German
  it - Italian
  ja - Japanese

SubmitAction
This is the variable that is used to decide which action WebScissors will take upon the URL you send it. If the value is "vs" or "view", it will go to the View Source script. If the value is "import" or left blank, it will default to the Show Images script.

 

Code Samples
So if you wanted to put a form on your web site that would let users submit URLs into WebScissors, it would look something like this:

<form method="post" action="http://www.webscissors.com/redirect/">
  <input type="hidden" name="en" value= "lang">
  <input type="text" name="url" size="50" value="http://">
  <input type="submit" name="SubmitAction" value="Show Images">
  <input type="submit" name="SubmitAction" value="View Source">
</form>

If you wanted to just make a link that automatically opens your site up in the Show Images mode (for instance, to give people easy access to your free images), you would build the link like this:

<a href="http://www.webscissors.com/redirect/?url=http://www.example.com/MyStuff/">Show Images</a>>

And if you wanted to make a link that would open up your web page in the HTML source viewer (for code examples and the like), the link would look like this:

<a href="http://www.webscissors.com/redirect/?SubmitAction=view&url=http://www.example.com/MyStuff/">View Source</a>

 

Mailing List
If your web site is linking to WebScissors in the above manner, you can send an email to webscissors@hotmail.com and we'll let you know if there are any changes to the system.