Thanks Jian.  Been looking for a Tidy ref like that for ages!

I think we're OK with Tidy - we're probably already using it anyways.  I
thought I had remembered a setting somewhere in the system but apparently my
Alzheimer's is playing up.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Jian Huang
Sent: Thursday, 21 March 2013 12:36 PM
To: [email protected]
Cc: <[email protected]>
Subject: Re: Line endings in CMS

 

Hi Richard,

 

So I have some options for you.

 

I think it is listed as one of the configurations here

 

http://tidy.sourceforge.net/docs/quickref.html





Sorry, don't have jump link to second.  Doing this from iPhone.





Then you also might want tiddy to leave everything else alone.  Tht config
is also available in the forum here or maybe solutionexchange.  Just
remember seeing it somewhere.





If you don't like the tiddy option and your project is publishing to a
directory or something.  You can monitor the directory for file change, read
file, replace LF with CRLF, output file.  Easy using C#, which I think you
are a Jedi at it.  Now, just avoid that directory monitor class in C#.  It
is bugged as hell.  Roll your own or use an existing c or c++ app that
monitors and can invoke another app with param.





Best 

Sent from my iPhone


On Mar 20, 2013, at 8:47 PM, "Richard Hauer" <[email protected]
<mailto:[email protected]> > wrote:

Thanks for the response Tim, but that's not quite what I meant.  Perhaps I
wasn't clear.

The files that are published by the system use LF (Unix-style) line endings
no matter whether the content is from a placeholder or a template.  What I
would like is that the line endings are Windows-style CRLF instead.  I
suspect something internal to the PageBuilder is at work here and there may
actually be no solution.  If anyone's gonna know though, it's you guys so
I'm throwing it out there.

Hope that clears up what I'm looking for.

Thanks.

 

 

From: [email protected]
<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Tim D
Sent: Thursday, 21 March 2013 1:05 AM
To: [email protected]
<mailto:[email protected]> 
Subject: Re: Line endings in CMS

 

Edit your text element for CRLF -> <BR> 

On Tuesday, March 19, 2013 11:56:12 PM UTC-4, Richard Hauer (5 Limes) wrote:

[Sorry if this is a report - I thought I saved it but can't see the item in
the Group any more]

 

Hey group,

 

I'm trying to alter the line endings in published files from LF to CR-LF.  I
can't seem to find the setting for it (and I'm not even 100% sure there is
one).

 

Does anybody know how this is achieved? Can it be done with Tidy, if so how?


 

Thanks,

 

Richard.

 

-- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
<mailto:[email protected]> .
To post to this group, send email to [email protected]
<mailto:[email protected]> .
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
<mailto:[email protected]> .
To post to this group, send email to [email protected]
<mailto:[email protected]> .
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
<mailto:[email protected]> .
To post to this group, send email to [email protected]
<mailto:[email protected]> .
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to