Hi Jonathon,

Thanks for your contributions ; I slightly edited them and incorporated them in CVS 
(the'll be in next beta).

You can see them at

http://cvs.dqsd.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/dqsd/searches/smlnkey.xml

http://cvs.dqsd.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/dqsd/searches/smlnk.xml


Cheers,

MLL

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathon
> Marshall
> Sent: Tuesday, September 10, 2002 12:36 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: [DQSD-Users] smLNK support (basic)
> 
> 
> I have written 2 functions for DQSD to support smlnk, at this 
> point they are extremely basic.
> Im hoping at some point to be able to write the shortened, or 
> the long url it refers to, directly
> to the search bar. Where it can be easily copied, or viewed. 
> Any other recommendations?
> 
> If you would like to include these in future builds of DQSD I 
> will gladly keep them up to date with
> all functions realated to smLNK. 
> 
> 
> Here are the 2 scripts:
> 
> // function for creating an smLNK link
> <search function="smlnk">
>   <name>smLNK</name>
>   <description>
>     smLNK is a link-shortening redirector where the URLs are 
> as short as possible.<br/>
>     <div class="helpboxDescLabels">Example:</div>
>     <table class="helpboxDescTable">
>       <tr><td>smlnk http://reallylongurltoannoyyou.com</td></tr>
>     </table>
>   </description>
>   <category>Functions</category>
>   <link>http://smlnk.com/</link>
>   <form name="url"
>         action="http://smlnk.com/index.php";
>         method="post">
>     <input type="text" name="url000"/>
>   </form>
>   <script><![CDATA[
>     function smlnk(q)
>     {
>       if( nullArgs("smlnk", q) )
>         return false;
>       else
>       {
>         document.url.url000.value = q;
>         submitForm(url);
>       }
>     }
>   ]]></script>
> </search>
> 
> 
> 
> --------------
> 
> 
> // function for checking smLNK keys
> 
> <search function="smlnkey">
>   <name>smLNK KEY</name>
>   <description>
>     smLNK is a link-shortening redirector where the URLs are 
> as short as possible.<br/>
>     <div class="helpboxDescLabels">Example:</div>
>     <table class="helpboxDescTable">
>       <tr><td>smlnkey ABCE1234</td></tr>
>     </table>
>   </description>
>   <category>Functions</category>
>   <link>http://smlnk.com/</link>
>   <form name="key"
>         action="http://smlnk.com/index.php";
>         method="post">
>     <input type="text" maxlength="8" name="hash000"/>
>   </form>
>   <script><![CDATA[
>     function smlnkey(q)
>     {
>       if( nullArgs("smlnkey", q) )
>         return false;
>       else
>       {
>         document.key.hash000.value = q;
>         submitForm(key);
>       }
>     }
>   ]]></script>
> </search>
> 
> 
> -------------
> 
> -- 
> +----------------------------+
> | Jonathon Marshall            [EMAIL PROTECTED] +
> | [EMAIL PROTECTED]        smLNK: http://smlnk.com/?info |
> + 9DB8 5D34 55F8 FF4C 096F  00E8 E517 3B52 F687 6AC7 |
>   ^-PGP Key Fingerprint +----------------------------+
> 
> Arthur C. Clarke-
> "Any sufficiently advanced technology is indistinguishable 
> from magic."
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Dqsd-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dqsd-users
> http://sourceforge.net/mailarchive/forum.php?forum_id=8601
> 



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to