URLs for BXE for multiple users
F Baube <[email protected]> Thu, 19 May 2005 13:40:05 +0300
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I'm tinkering with BXE 1.0, trying to set it up so that
multiple users can use it at the same time, each editing
their own stuff.
So.. I guess I want to set up config.xml so that it uses
the "URL-Parameter" method to load the file it will edit.
In the examples, file "config.xml" has this long passage
(I've reformatted it):
If you want to provide the location via an URL-Parameter:
<file name="BX_xmlfile" isParam="true">xml-url</file>
and the request "index.html?xml-url=xml/article.xml"
leads to the same as the above example.
If you want to provide the location via an URL-Parameter:
<file name="BX_xmlfile" isConfigParam="true">
keyNameOfArrayElement</file>
and the request
bxe_start("config.xml", true/false,
array("keyNameOfArrayElement"=>"xml/article.xml"))
leads to the same as the above example. (note: the example
doesn't work, you have to create your array in another way...
Furthermore you have the option "prefix", which just prefixes
the url with this value. The following example would do the
same as above again (postfix is currently missing)
<file name="BX_xmlfile" prefix="xml/">article.xml</file>
So, if I understand this correctly, I cannot use
the "isParam" and "prefix" attributes _together_.
In that case ...
Because I need to be able to specify the base
file name, I should use the "isParam" attribute.
So I wonder.. can I use an absolute path, rather
than a relative path as in the example.
For example:
(config.xml)
<file name="BX_xmlfile" isParam="true">theFilepath</file>
(URL)
"[etc]/index.html?theFilepath=/pathto/myarticles/myarticle1357.xml"
Does this seem correct ? And, will this URL also work
when I attempt to PUT the file back to the server ?
thanks much !
fred
--
F.Baube * "I propose that we should set a course
Georgetown/MSFS/1988 * from 'the free world' of the Cold War,
email fbaube#welho.com * which no longer exists, towards _a_
gsm +358 41 536 8192 * free world." -- Timothy Garton Ash
wmd 60°11'10.8"N 24°57'36.9"E
--
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users