-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (1) . 

TinyURL

   1.3  

KDE Chat Application

Score 65%
TinyURL
zoom


Link:  http://
Downloads:  1306
Submitted:  Jun 15 2007
Updated:  Jun 26 2007

Description:

Konversation script that makes a TinyURL (http://tinyurl.com) from a given URL.

Note: No longer needs curl, works with Curl and wget
(Thanks Billy Oliva)

Just copy it to /usr/share/apps/konversation/scripts/ (system wide) or to ~/.kde/share/apps/konversation/scripts/ (for just your user)




Changelog:

v1.0
  • 1st release


  • V1.1
  • Now uses env

  • Now checks for an argument (URL)

  • Now alerts user if it fails to get a URL


  • V1.1.1
    (Minor update)
  • Added ability to use a NickName in the message.


  • V1.2
  • Doesn't depend on Curl any more, works with Curl or Wget

  • Displays and error and usage when no URL is given

  • Included README and INSTALL files


  • V1.3
  • Rewritten so that you can include a message/description with the link



  • LicenseGPL
    Source(TinyURL)
    (Just the script v1.3)
    (.diff from 1.2)
    (.diff from 1.1.1)
    Send to a friend
    Subscribe
    Other  Apps  from stdin
    Report inappropriate content



    -

     + nick

     
     by aerdogan on: Jun 19 2007
     
    Score 50%

    #!/bin/bash
    PORT=$1
    SERVER=$2
    TARGET=$3

    NICK=$5

    export URL="$4"
    TINYURL="$(curl -s -i http://tinyurl.com/create.php?url=$URL|grep "The following URL" -A3|tail -1|awk -F\> '{print $3}'|sed 's,</b,,')"
    echo $@
    echo $TINYURL
    dcop $PORT default say $SERVER "$TARGET" "$5: $TINYURL"


    Reply to this

    -

     Re: + nick

     
     by stdin on: Jun 20 2007
     
    Score 50%

    Thanks for the idea, it's now been added to the script :)


    Reply to this

    -

     Re: + nick

     
     by op4latino on: Jun 21 2007
     
    Score 50%

    Heh, nice. I don't have curl installed and I didn't feel like install it, so I changed the curl command for wget and it worked

    wget -T10 -t2 -qO- http://tinyurl.com/create.php?url=$URL|grep "The following URL" -A3|ta.....


    Reply to this

    -

     Re: Re: + nick

     
     by stdin on: Jun 22 2007
     
    Score 50%

    The script now checks for curl and used wget if it's not found, thanks :)


    Reply to this

    -

     nifty

     
     by lemoicavalier on: Jun 28 2007
     
    Score 50%

    A few other places where I'd love to be able to use this: Kopete, Konqueror, probably KMail and maybe KNode (newsgroup users tend to be a little paranoic :D)


    Reply to this

    Add commentBack






    -
    -
    Do you like or dislike Ubuntu Unity?
     Yes, unity is alien technology!
     It is less confusing than Gnome 3 default, shell.
     Granny thinks it is much more usable than Gnome 2
     Canonical is embarrasing itself with this split project
     Gnome 3 default shell is much better
     I dislike Unity, Gnome 3 default shell is alien technology!
     None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

    resultmore
     
     
     Who we are
    Contact
    More about us
    Frequently Asked Questions
    Register
    Twitter
    Blog
    Explore
    Apps
    Jobs
    Knowledge
    Events
    People
    Updates on identi.ca
    Updates on Twitter
    Facebook App
    Content RSS   
    Events RSS   

    Participate
    Groups
    Forum
    Add App
    Public API
    About KDE-Apps.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Advertising
    Sponsor us
    Report Abuse
     

    Copyright 2003-2014 KDE-Apps.org Team  
    All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    KDE and K Desktop Environment are trademarks of KDE e.V.