<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="Link Leecher" 
     title_url="http://linkleecher.com" 
     height="110" 
	 screenshot="http://linkleecher.com/images/googlemodscreenshot.png" 
	 thumbnail="http://linkleecher.com/images/googlemodthumbnail.png" 
     author="Tom Churm" 
	 author_affiliation="linkleecher.com" 
	 description="Leech all the links from a web page using the free online tool at linkleecher.com." 
	 scaling="false" 
     author_email="tchurm@gmail.com" />
	<UserPref name="url" display_name="URL of Website" required="false" default_value="" />
	<UserPref name="onefilter" display_name="Results Filter (optional)" default_value="" datatype="enum">
	   <EnumValue value="" />
	   <EnumValue value=".mp3" />
	   <EnumValue value=".avi" />
	   <EnumValue value=".jpg" />
	   <EnumValue value=".zip" />
	   <EnumValue value=".rar" />
	   <EnumValue value=".tar" />
	   <EnumValue value=".pdf" />
	   <EnumValue value=".doc" />
	   <EnumValue value=".xls" />
	   <EnumValue value=".ppt" />
	   <EnumValue value=".htm" />
	   <EnumValue value=".php" />
	   <EnumValue value=".asp" />
	   <EnumValue value=".jsp" />
	</UserPref> 
	<UserPref name="output" display_name="Output To.." datatype="enum">
	   <EnumValue value="browser" />
	   <EnumValue value="rss" />
	   <EnumValue value="text" />
	   <EnumValue value="csv" />
	</UserPref> 
<Content type="html"><![CDATA[
<!-- Link Leecher by Tom Churm, tchurm@gmail.com -->
<link rel="stylesheet" type="text/css" href="http://linkleecher.com/css/xmlmod.css">
<form action="http://linkleecher.com" name="linkleecherform" id="linkleecherform" target="_blank">
<table border="0" cellspacing="0" cellpadding="0" width="224">
<tr><td width="50" align="center" valign="middle">
<a href="http://linkleecher.com" target="_blank" title="Link Leecher - linkleecher.com"><img src="http://linkleecher.com/images/linkleech50x63.gif" alt="Link Leecher - linkleecher.com" title="Link Leecher - linkleecher.com" width="50" height="63" vspace="0" border="0" title="Link Leecher"></a></td><td>
<table border="0" cellspacing="0" cellpadding="1" width="174"><tr><td colspan="8" align="center"><input type="text" name="url" id="url" size="50" maxlength="5000" value=">> Enter URL of Website" onFocus="if(this.value=='>> Enter URL of Website')this.value=''" class="url" style="width: 170px;font-size: 10px;" title=">> Enter URL of Website"></td>
</tr><tr>
<td width="22"><input type="radio" name="output" value="browser" checked title="Output to Browser"></td>
<td>To<br>Web</td>
<td width="22"><input type="radio" name="output" value="rss" title="Output to RSS"></td>
<td>To<br>RSS</td>
<td width="22"><input type="radio" name="output" value="text" title="Output to Text File"></td>
<td>To<br>.TXT</td>
<td width="22"><input type="radio" name="output" value="csv" title="Output to .CSV File"></td>
<td>To<br>.CSV</td>
</tr><tr>
<td colspan="8" align="center">
Optional Results Filter:</td>
</tr><tr>
<td colspan="8" align="center">
<input type="text" name="onefilter" id="onefilter" value="" size="50" maxlength="5000" style="width: 170px;font-size: 10px;" title="Optional Results Filter">
<script>
  // Must be constructed using the __MODULE_ID__ token. It gets replaced
  // at runtime with the actual ID of your module.
  var prefs = new _IG_Prefs(__MODULE_ID__);
  var prefs_onefilter = prefs.getString("onefilter");
  //set the onefilter field value to the module preference
  if (prefs_onefilter) {
  	document.linkleecherform.onefilter.value = prefs_onefilter;
  }
  var prefs_url = prefs.getString("url");
  //set the url field value to the module preference
  if (prefs_url) {
  	document.linkleecherform.url.value = prefs_url;
  }
  var prefs_output = prefs.getString("output");
  //set the url field value to the module preference
  if (prefs_output) {
  	if(prefs_output=="rss"){
	document.linkleecherform.output[0].checked = false;
	document.linkleecherform.output[1].checked = true;
	document.linkleecherform.output[2].checked = false;
	document.linkleecherform.output[3].checked = false;
	}
  	else if(prefs_output=="text"){
	document.linkleecherform.output[0].checked = false;
	document.linkleecherform.output[1].checked = false;
	document.linkleecherform.output[2].checked = true;
	document.linkleecherform.output[3].checked = false;
	}
  	else if(prefs_output=="csv"){
	document.linkleecherform.output[0].checked = false;
	document.linkleecherform.output[1].checked = false;
	document.linkleecherform.output[2].checked = false;
	document.linkleecherform.output[3].checked = true;
	}
  	else{
	document.linkleecherform.output[0].checked = true;
	document.linkleecherform.output[1].checked = false;
	document.linkleecherform.output[2].checked = false;
	document.linkleecherform.output[3].checked = false;
	}
  }
</script>
</td>
</tr><tr>
<td colspan="8" width="174" align="center">
<input type="submit" value="Leech Links!" title="Leech Links!">
</td>
</tr>
</table>
<!-- Please visit rss2pdf.com -->
</form>
]]></Content>
</Module>