Reading XML Without a webserver - html

I've got a small experimental project on the go that uses an embedded system to show web pages.
The major draw back is that the embedded system doesn't have any form of server on it (No lovely web server languages allowed).
My current setup for testing any potential winning solution is locally (Just in a document C:/users/me/test/index.html) and then also testing it in wamp.
I've looked into using JS or JQuery but evey resource i've found only ever works when I test it within wamp, which isn't a viable solution for me.
I have a couple of questions:
Is it even possible to read an XML document without any form of
server technology?
If so, could someone post some resources please? I've found a lot of similar topics to mine, but none really cover my predicament.
If this isn't possible, are there any other technologies I could use to give the same output?
Thanks

Related

Integrated EJabberd Login with existing Script1

I have quiet decent knowledge how to use Ejabberd. Have used a lot with Smack Library for android so am quiet comfortable as a user. However I face use case that I have not faced before.
There exists as system with its users and login interfaces both using forms and another using API. Now I need to integrate it with ejabberd. The most common and documented way is to use ejabberd OAuth2 but now am supposed to do the opposite.
Reading the docs the best I found is this link talking about external script. However there are no enough information to help build something. Linked examples are old and links are dead.
Can anyone help me get into right direction with external script login? I would prefer PHP based solution but any other language will help.
However there are no enough information to help build something.
Brief protocol description, and example in Python:
https://docs.ejabberd.im/developer/guide/#external
Perl example included with ejabberd. Notice this file was last modified 11 years ago, and it still works correctly:
https://github.com/processone/ejabberd/tree/master/examples/extauth
Linked examples are old and links are dead.
Right, those other examples are very old too, but they could work (as long as you can get them, and use the ancient language versions they used):
https://ejabberd.im/extauth
Why are those so old? Because that page has not been updated since years ago (back when git was not yet mainstream). Quite probably, if you search, you may find other examples.

How do I open a directory using Html when the files and html are all on a DVD

I work for a large company with agents all over the U.S. We want to upgrade our agents to Open Source office suite (Apache Open Office) from the chaotic mismatch of different versions used now. Problem is many of our people are barely computer literate.
I need to build a menu in Html to install the proper version on their systems from a DVD I have downloaded the files onto.
I can code some Html and some java but not a lot. It would help if it were cross browser since some use Macs but most use PCs.
I have researched for days and find many references to no access from the Web bit surely there is a way to do it offline?
Thanks in Advance.
I'm not sure that HTML is really what you want here. HTML is used to create web pages, but it's not a programming language and is not well suited to executing commands or performing tasks. JavaScript is the most common programming language used in web browsers, but you will have problems accessing a user's local file system for security reasons.
The best option I can think of is to give the installers appropriate names based on OS, and include documentation that clearly explains to users what they need to do. HTML may or may not be suitable for the documentation depending on your needs.
I want to thank everyone for their help.
Do to time restraints I believe the fastest solution is to do a simple text document in several forms describing the file choices and links to the files.
This way may not be eloquent but it is efficient.
Thanks for your time.

XSLT from the web - Needing the right dev/test environment

Mostly for learning and testing-purposes, I need an environment/software where I can apply XSL Transformations on websites (html).
It needs to support Sessions and Cookies because of a login required to actually reach the pages I want to transform via XSL.
The manual method aka calling the page in the browser and download it and copy into Eclipse for example, is too slow. I need an automated system.. if possible one which can call multiple pages via a script.
I know that this could be realized with a lot of coding in Java, but I hoped for a simpler solution...
Any ideas?
Thanks in advance!
No clue why people have downed this question -_-', but I've found a sufficing solution:
Using "wget" for downloading the files and Saxon HE (NET) for actually applying the transformations. Those programs can be easily called from windows CMD :)

jQMobi documentation mirror

Just got started and running with jqMobi, which is now called 'intel's application framework' (cheesy name eh)
Along with intel's porting to their new site, they forgot to put the full docs online (at least I can't find it). Now there's only minimal documentation, like the getting started. I'd like to get on with it.
Anyone knows where the (full) docs are hosted? I really hate to go look for another framework again.
The documentation is all there. The only thing they did not add was the "testdrive", which is just the kitchen sink sample found in github
In my opinion the docs are somewhat scattered, but there's some helpful stuff if you can find it. I keep bookmarks for these links. There are some links from those that get you to more stuff.
http://html5dev-software.intel.com/documentation/jqmobiapis/index.html
http://app-framework-software.intel.com/documentation.php?r=9057
http://developer.html5dev-software.intel.com/
http://www.html5dev-software.intel.com/documentation/
Actually they split off where appMobi is a cloud services company to support apps, and Intel took the part to build the apps. So you may still need/want appMobi. Their docs are on their site of course. There is still some duplication on the appMobi site.
Technically I don't think jqMobi is the same thing as the Intel App Framework, but at the same time I have a hard time understanding what's called what anymore. I'm sure they'll clear this up over time. I hope they find names that can be useful tags on stackoverflow.com!

Zotonic- where can a quickstart be found

I have been to the zotonic docs, but well, they have not really been helpful because everything is in bits and pieces over there. I am an averagely good erlang programmer and i guess what i need is a full example of a web site or web app, however simple, but from ground up. Usually, an example built ground up would be used to illustrate all the basic concepts of a library. Forexample, how is a site arranged ? how and where do i put these files ? what does this config mean ? which options are there for this task ? e.t.c.
Zotonic looks great on the outside and i would love to dive into it. It looks like the only Erlang easy-way of building a web site and managing a web site using erlang.Question: Has anyone come across a full-fledged Zotonic-built web site or web app, whose source he can share or a tutorial coming from ground up, especially for Erlang programmers, that can get one really started ? Something similar to this Django introduction Also, are there any builds for Zotonic that can install on a windows Server ?
I'm developing (in my spare time, which hasn't been much lately) a project/issue tracker in zotonic. Code is available here: https://github.com/kaos/trackz and a demo site running the code here: http://trackz.astekk.se/
It's in it's early stages, so it won't be too hard to follow the progress from scratch by looking at the commits made, to that end, it's not much to look at either, yet.
It is developed against 0.8.x, so it probably won't be without issues to run it on 0.9-dev.
I also have some articles about zotonic internals (how to write modules for zotonic) and other related topics here: http://blog.astekk.se/en/by_keyword/318/zotonic
Hope this fills in at least some of your questions :)
Hint:
Study the data model and directory structure. Once you grok that, the rest will come easy.