[jdev] Simple JavaScript XMPP client example

Chris Fortmüller chritsche at gmail.com
Sat Sep 6 20:07:30 UTC 2014


Hi Steven, I managed to get a workaround running, so it is ok now. Is there
some kind of event going on in Berlin? Or are you located there?

I am located in Hamburg, so Berlin wouldn't be too far, but my current
workaround is fine for now. Thanks for the invite though!

Best regards,

Chris


On Sat, Sep 6, 2014 at 12:15 PM, Steven Lloyd Watkin <
lloyd at evilprofessor.co.uk> wrote:

> There's lots of tools you can use to spin up a quick server, grunt-connect
> (nodejs), simplehttpserver (IIRC - python), etc.
>
> Assuming your surname is German Chris if you can make it to Berlin for
> Wed/Thurs next week we can help you out with your code in person if you'd
> like.
>
> _____________________________________________________
>
> Steven Lloyd Watkin
> Software Engineer
> PHP ::: Java ::: Ruby ::: Node.js ::: XMPP
> lloyd at evilprofessor.co.uk (email+jid) ::: http://www.evilprofessor.co.uk
> Facebook / Twitter / Flickr: lloydwatkin
>
> Organiser of WORLD RECORD breaking charity event:
> Scuba Santas ::: http://www.scuba-santas.co.uk
> Supporting the RNLI & DDRC - 15th December 2013 - NDAC, Chepstow
>
>
> On 5 September 2014 10:23, Chris Fortmüller <chritsche at gmail.com> wrote:
>
>> Yep, I meant file:///. Just saw tape as well, will use that for now!
>> Thanks
>>
>>
>> On Fri, Sep 5, 2014 at 8:51 AM, Dave Cridland <dave at cridland.net> wrote:
>>
>>> On 4 September 2014 23:05, Chris Fortmüller <chritsche at gmail.com> wrote:
>>>
>>>> Ok, so I have experimented a bit more, and as Steven said, if I host
>>>> the code on a server, the code works, but if I just access it locally, the
>>>> code does not work. I still don't quite understand why. If I access the
>>>> code locally from my machine, and then try to connect to a server on the
>>>> web, the domain where the code is hosted (my local machine) and the server
>>>> domain are different, but this is also the case if I host the code on a
>>>> server and try to connect to a server in another domain, which does work.
>>>> So I don't quite understand what is the problem then when I access the code
>>>> locally
>>>>
>>>>
>>> By "locally", do you mean file://? I reckon the browser folk broke
>>> file:// completely for almost anything useful.
>>>
>>> Jack Moffit wrote a thing called Tape years back to handle problems like
>>> this - a microserver for development you can run quickly out of any
>>> directory. There's Node based stuff for this kind of thing too.
>>>
>>> Dave.
>>>
>>> _______________________________________________
>>> JDev mailing list
>>> Info: http://mail.jabber.org/mailman/listinfo/jdev
>>> Unsubscribe: JDev-unsubscribe at jabber.org
>>> _______________________________________________
>>>
>>>
>>
>> _______________________________________________
>> JDev mailing list
>> Info: http://mail.jabber.org/mailman/listinfo/jdev
>> Unsubscribe: JDev-unsubscribe at jabber.org
>> _______________________________________________
>>
>>
>
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20140906/d0d1434d/attachment.html>


More information about the JDev mailing list