Home
Widgets
Source
Translate this page
Powered by
Microsoft® Translator
WQ.LT url shortner
A simple url shortener from wq.lt
by Povilas and Mindaugas
This uses Xtgem template classes
Enter your url
Custom name
wq.lt quick Xtscript
<!--parser:xtscript--> include gnw-widgets.xtgem.com/wqlt/wqlt.xt <!--/parser:xtscript-->
wq.lt full Xtscript
<!--parser:xtscript--> get url if not $url assign $url=http:// endif get lid get show_result print {{ <div class="xt_container" style="max-width:320px;text-align:left;margin:4px auto"> <form id="wqltf" action="<xt:url/>#wqltf" method="post"> <div class="xt_input"> <div class="xt_label" style="display:block"> <label for="url">Enter your url </label> </div> <input style="max-width:20em" type="url" id="url" name="url" value="$url" /> <div class="xt_label" style="display:block"> <label for="lid">Custom name</label> </div> <input style="max-width:8em" id="lid" name="lid" value="$lid" /> </div> <input type="hidden" name="show_result" value="1" /> <div class="xt_submit"> <input class="xt_button" type="submit" value="Shrink my url"/> </div> </form> }} if $show_result print {{ <div class="xt_label" style="display:block"> <label>Shortened Url </label> </div> <iframe class="xt_button" src="http://wq.lt/api?url=$url&lid=$lid&mob=$mob" frameborder="0" scrollling="no" style="background:#bcd;height:3em;max-width:15em;margin:0;padding:0" > <a class="xt_button" href="http://wq.lt/api?url=$url&lid=$lid&mob=$mob">CLICK HERE</a> </iframe> }} endif print </div> <!--/parser:xtscript-->
Home
Forum
Tutorial
Tweet
Log in