On Thursday 09 July 2009 6:22:32 am Artur Duque de Souza wrote: > SVN commit 993753 by asouza: > > TinyURL support on pastebin > > Now if you drop an http url on pastebin it will give you back a > tinyurl. Right now I didn't implement this as a backend as we do > not have others for tinyurl, but we may want this to be a backend > for the sake of cleaness. > > CCMAIL:plasma-devel@kde.org
It looks like you're using screen-scraping to grab the url which isn't- A) future proof (what if they change their site design?) and B) wastes their bandwidth (perhaps marginal, but still a waste). They prefer you to use the api which returns a small amount of plaintext where you just need to take the final line and that's your URL. I've done this for the Konversation tinyurl shell script found here: http://lxr.kde.org/source/extragear/network/konversation/data/scripts/tinyurl Travis McHenry _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel