[whatwg] What will not work when we do not have server ?
narendra.sisodiya at gmail.com
Mon Mar 29 09:50:02 PDT 2010
On Mon, Mar 29, 2010 at 9:08 PM, Philip Taylor
<excors+whatwg at gmail.com<excors%2Bwhatwg at gmail.com>
> On Mon, Mar 29, 2010 at 4:27 PM, Tab Atkins Jr. <jackalmage at gmail.com>
> > On Mon, Mar 29, 2010 at 7:05 AM, narendra sisodiya
> > <narendra.sisodiya at gmail.com> wrote:
> >> Dear all,
> >> I am making a (uff from long time) some e-learning modules using
> >> The idea is just to make a full interactive lectures (audio, video, svg
> >> ),
> >> But there is a little problem. Student will be able to download as a zip
> >> file. When they want to watch those html5 based interactive tutorials,
> >> they need to click on index.html which will open the tutorial.
> >> I want to ask that what will not work in this mode.
> >> for example, I have cheked that some basic jQuery ajax demos are working
> >> well in both url
> >> http://localhost/narendra/demo.html OR
> >> I want to know the list for all the such drafts which will not work
> >> server. So that I will avoid them Or try to get some workaround.
> > Anything that requires a server-side language (PHP, ASP, Python, Ruby,
> > etc.) won't work. Anything that requires only client-side languages
> But you also need to be careful about security rules for file://
> differing from http://, e.g. Firefox 3 apparently considers files in
> parent directories to be non-same-origin, so you can't use
> XMLHttpRequest to get "../foo/bar.txt", and if you have an <img
> src="../images/example.png"> and draw it on a <canvas> then you won't
> be able to call toDataURL or getImageData, whereas it would be fine if
> the files were on an http:// site.
> Philip Taylor
> excors at gmail.com
Thanks a lot, what about server-sent, websocket ?
At the same time I am thinking for using webshare command too.
alias *webshare*='*python* -c "import
this command will start simple server at current directory. If i am unable
to do something using file:/// , I will try to use this simple server.
│ Narendra Sisodiya ( नरेन्द्र सिसोदिया )
│ Society for Knowledge Commons
│ Web : http://narendra.techfandu.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg