URI protocol for invoking pidgin (Mohamed Hamed)

Robert Runyon robertrunyon at gmail.com
Thu Aug 30 14:16:49 EDT 2012


>
>
>
> Message: 6
> Date: Thu, 30 Aug 2012 00:34:53 -0700 (PDT)
> From: Mohamed Hamed <mohamed.sayed at oracle.com>
> To: Dave Warren <lists at hireahit.com>, support at pidgin.im
> Subject: RE: URI protocol for invoking pidgin
> Message-ID: <c68a2193-52e5-47fe-a3d7-8811a1ef6d48 at default>
> Content-Type: text/plain; charset=us-ascii
>
> I'm sorry,
>  I already encoded the space with %20 and still has the problem
>
>  javascript:(function(){window.location='
> xmpp:user.name at oracle.com?message;body=SR%2012345';;})()<http://xmpp:user.name@oracle.com?message;body=SR%2012345';;%7D)()>
> ;;
>
> Regards
>
> Mohamed Sayed | Principal Analyst
> Phone: +202 3535 0342 | Fax: +202 3535 0342 | Mobile: +2010 7215722
> Oracle Global Customer Support | Fusion Applications | Application
> Technology - AppsDev
>
> ORACLE Egypt | KM 28 Cairo-Alex. Desert Road | Oracle building | Smart
> Village | 12577 Giza
>
> Oracle is committed to developing practices and products that help protect
> the environment
>
>
>
> -----Original Message-----
> From: Dave Warren [mailto:lists at hireahit.com]
> Sent: Thursday, August 30, 2012 2:25 AM
> To: support at pidgin.im
> Subject: Re: URI protocol for invoking pidgin
>
> On 8/29/2012 3:32 PM, Mohamed Hamed wrote:
> > Thank you Daniel for the quick response.
> > It is working fine now after adding the message command.
> >
> > However I had another problem. If the body has a space, nothing come
> after the space.
> > For ex:
> >   I created a bookmark as the following :
> >
> >   javascript:(function(){window.location='
> xmpp:user.name at oracle.com?message;body=SR 12345';;})();;
> >
> >   This successfully open the chat window for user.name with a body as
> "SR" and any text after the space is ignored.
> >
>
> Since we're talking URIs, shouldn't a space be encoded as %20 or similar?
>
> --
> Dave Warren
> http://www.hireahit.com/
> http://ca.linkedin.com/in/davejwarren
>
> _______________________________________________
> Support at pidgin.im mailing list
> Want to unsubscribe?  Use this link:
> http://pidgin.im/cgi-bin/mailman/<http://pidgin.im/cgi-bin/mailman/listinfo/support><http://pidgin.im/pipermail/support/attachments/20120830/05726bfe/attachment-0001.html>


Is it possible that you need to surround your message text with quotation
marks?  ie:

javascript:(function(){window.location='
xmpp:user.name at oracle.com?message;body="SR<http://xmpp:user.name@oracle.com/?message;body=SR>
 12345"';;})();;

But I am just guessing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/support/attachments/20120830/5bc8f53e/attachment-0002.html>


More information about the Support mailing list