Re: [Hypercontent-users] Structuring HTML View
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2006-04-06 08:36:55
|
Hi Alex, The apply_source_formatting option did the trick. It may be useful to have this option in the code as default, but I'd probably set it to false as default. It's easy enough to turn on if it's required. Cheers Carl Alex Vigdor wrote: > Hi Carl, > OK, I understand what you're after now! There are a couple things > that will help here. First, in the pipeline definition for the XML > editor (mode=xml-edit), take out the final "TrimStage" if it is still > there; this gobbles up whitespace and can adversely affect structure > in the html source. There's also a TinyMCE setting which by default > strips line breaks; you'll want to make sure it's turned off in > /screens/modal-xml-tiny-mce.xsl with this bit in the config block: > > remove_linebreaks : false > > There's another TinyMCE config option I haven't tried that might also > help: > > apply_source_formatting : true > > I'm happy to make all the above settings default; I was planning > already on doing so with the trimming and line breaks, and if you > think the formatting is helpful I can put that in the default as well. > > Cheers, > Alex > > On Apr 5, 2006, at 9:08 AM, Carl Barrow wrote: > >> Hi Alex, >> >> Yes, I have tested on Firefox. I've been suggesting that my users >> use Firefox for some time since it's far better, even though the Uni >> won't support it! Perhaps I should test with IE a bit more. >> >> What I was asking was when editing a piece of content using tinyMCE >> and clicking on the 'edit HTML Source' Icon, could the HTML code be >> more structured, with tabs, linebreaks etc so it makes it easier to >> read. >> >> Cheers, >> Carl >> >> Alex Vigdor wrote: >>> Hi Carl, >>> I'm glad the testing has gone well. You must be Firefox users, >>> because I still seem to have a couple of unresolved issues with the >>> new file browser in IE, but I think they're pretty close to worked >>> out. I'm not sure I get what you're after with the structured view; >>> could you describe what you're looking for in more detail? >>> >>> Cheers, >>> Alex >>> >>> On Apr 5, 2006, at 7:22 AM, Carl Barrow wrote: >>> >>>> Hi Alex, >>>> >>>> I have got on very well with configuring HyperContent 2.0 here in >>>> Hull and the users I have tested it with are very happy with the >>>> way things now work, especially the links and images. One comment I >>>> had yesterday which came from the two web designers who look after >>>> our public site was that they would like a structured view of the >>>> HTML content rather than just a wrapped view. Is this something >>>> that might be configurable? >>>> >>>> Cheers >>>> Carl >>>> >>>> --************************************ >>>> >>>> Carl Barrow >>>> Systems Integrator >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> ************************************ >>>> >>>> -- >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by xPML, a groundbreaking scripting >>>> language >>>> that extends applications into web and mobile media. Attend the >>>> live webcast >>>> and join the prime developer group breaking into this new coding >>>> territory! >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>>> >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by xPML, a groundbreaking scripting >>> language >>> that extends applications into web and mobile media. Attend the live >>> webcast >>> and join the prime developer group breaking into this new coding >>> territory! >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>> >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> --************************************ >> >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> -- >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ -- |