Re: A little confused on how to view pages

Christian Stocker <[email protected]>
Newsgroups gmane.editors.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>
On Thu, 2002-11-28 at 02:24, Quinn Perkins wrote:
> I love the editor. Looks very interesting. I have played with it and just
> have a few  questions...
> 
> 1) Once you have edited an xml page with it, how can you then let anyone
> view the xml page? Short of actually viewing the xml as xml in IE or
> Mozilla, is there a way to actually have a file that is usable as a web
> page? Do you have to install something like Axkit to act as a conversion
> on the webserver or write a complicated PHP conversion script? Surely if
> anyone is using this for website CMS then there is an easier way...

Yep, you got it right. You need something, which translates the XML to
XHTML on the server side. There are some tricks to actually use the XML
together with an XSLT, send that to the client and let it transform
there. But this works only with recent Browsers (IE,Moz,NS>5). With this
approach, you wouldn't need any serverside conversion (and by the way,
xml/xsl -> html conversion with php can be done with ~5 lines of code,
as long as you have some xslt-extensions in your PHP engine, but that's
another issue, I assume in Perl it would also not need more than that :)
)

The other idea is to edit XHTML in the Editor, we never did any Schema
for XHTML, but it's on the TODO list. 

> 2) What does the transform link on the menu bar do?

It transforms the xml again. It just does, what happens if you would
save and load a page (without actually sending the page to the server).
This is more for debugging or if the layout looks weird (sometimes
mozilla does strange things) and a fresh transform could help.

> 3) Elsewhere on the Bitflux site I see the editor with buttons that seem
> to provide the ability to center, right or left justify text/itmes. Is
> this available for the open source bitflux editor? Is this functionality
> on the way?

Where did you see that? We never provided it :) There is no such thing
as a non-open-source-bitflux-editor. Every feature, we write for BXE
will be also in the downloadable Version.

christian


> 
> All in all, some very exciting stuff. I'm just in need of an answer to
> number 1 above to be able to do anything with it.
> 
> Thanks for your efforts and for deciding to share it with others.
> 
> Quinn Perkins
-- 
christian stocker | bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 |  fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB

-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.