Currently Being Moderated

Running zip/tar.gz SparkWeb HOW-TO for newbies

VERSION 2

Created on: Jul 17, 2008 7:13 AM by wroot - Last Modified:  Jul 17, 2008 7:32 AM by wroot

You need a webserver to run simple zip/tar.gz SparkWeb release

 

You can use Apache or IIS. In case of Apache, extract sparkweb catalog into htdocs dir of apache installation. Then you can access SparkWeb with http://localhost/sparkweb/SparkWeb.html ("localhost" is an example for a local installation, put your domain here). You can also rename SparkWeb.html to index.html, so the address will look like http://domain/sparkweb/

 

SparkWeb settings are in the SparkWeb.html

Edit it with an editor you like, e.g. Notepad. The default settings are such:

 


<script type="text/javascript">
function jive_sparkweb_getConfig()
{
     return {
          server: "igniterealtime.org",
          connectionType: "socket",
          port: "5222",
          autoLogin: "false"
     };

 

Also, there can be more settings (an example from SparkWeb Programmatic Launch Configuration):

 


<script type="text/javascript">
function jive_sparkweb_getConfig()
{
        return {
          server: "localhost",
             & nbsp;  port: "7080",
             & nbsp;  bindPath: "/http-bind/",
          connectionType : "http",
          autologin: "true",
          username: "admin",
          password: "admin",
             & nbsp;  policyFileURL: "http://www.example.com/sub/dir/crossdomain.xml"
             & nbsp;  // policyFileURL: "xmlsocket://foo.com:414"
     };
}
</script>

 

To use SparkWeb on the Internet, you will have to use crossdomain.xml

Which can look like this:

 


<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy 
  SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<!-- http://domain/crossdomain.xml -->
<cross-domain-policy>
  <allow-access-from domain="*.domain1" ></allow-access-from>
  <allow-access-from domain="*.domain2" ></allow-access-from>
</cross-domain-policy>

 

I dont know much about crossdomain.xml and where to put it, so somebody else can edit that part of the document.

Average User Rating
(0 ratings)




wroot wroot  says:

This is only a scratch. You are welcome to improve this document

jtrav jtrav  says in response to wroot:

 

Has anyone attempted to integrate the SparkWeb client within a Clearspace theme?

More Like This

  • Retrieving data ...