Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: (jeffa) Re: Offline Previewing

by chunlou (Curate)
on Jun 28, 2003 at 23:14 UTC ( #269944=note: print w/replies, xml ) Need Help??


in reply to (jeffa) Re: Offline Previewing
in thread Offline Previewing

Ok. Actually it's not too hard to emulate Preview ourselves via XSL. Mostly we just have to take care of special tags like code or readmore and kinda ignore stuff like square brackets.

Was just wondering why not let people preview offline so as to lessen the load on PM server. Some online survey apps did that. Using their proprietory apps, people create survey completely offline and upload the survey when done.

Thanks for explaining.

Replies are listed 'Best First'.
Re: Re: (jeffa) Re: Offline Previewing
by AssFace (Pilgrim) on Jun 30, 2003 at 16:44 UTC
    If we were all using IE, then I think it would be pretty easy to do via DHTML/XSL/XML, but since everyone is coming in on a variety of browsers that do or don't do various things (or at least not easily), it increases the complexity (and annoyance) of writing such a thing.

    That said, it would really be nice for people over a slow dial-up connection (I suppose that phrase is redundant) to not have to send it all up twice.

    I have written many DHTML apps in the past that did similar things, many manipulations and example renderings on this side, and then sends it all upstream at the end when things are finalized. It is "easy" on IE, but for us it was a series of custom apps for clients, so we could require IE - for a public website, you can't really require one type over another.

    Would have to grab the data out of the form, then just build the preview on the page via DHTML (or dump it out to an XML DOM and then run an XSL translation over it)... not too bad at all, and not a security risk at all to answer your question.

    -------------------------------------------------------------------
    There are some odd things afoot now, in the Villa Straylight.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://269944]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2021-01-21 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?