Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit

Started by readmanr at 11-15-2010 11:28 . Topic has 2 replies.

Print Search
Sort Posts:    
   11-15-2010, 11:28
readmanr is not online. Last active: 25.04.2012 12:28:25 readmanr

Top 150 Posts
Joined on 11-15-2010
Posts 7
No [N] PinEdit HTML layout
Reply Quote
Hello,

PinEdit is used for content managed regions of our frontend backend solution so all text on the site comes from PinEdit generated content.

The problem is the huge amount of unnecessary code PinEdit adds, making pages 10KiB larger that if it didn't do it.

Below is a short example of a small paragraph...
<h1>
  Returns Procedure
</h1>
<p>
  This is my paragraph with multiple lines with in the paragraph.
<br />
  This is line 2.
<br />
  This is line 3.
<br />
</p>
<p>
<strong>
  So what do I do next?
</strong>
 Well this is the next part.
</p>

PinEdit adds spaces in the code and newlines (displayed as CRLF (carriage return line feed) in the code. This all adds up on medium to large pages, increasing website load time and using bandwidth.

The code above should be displayed in the HTML view as follows...

<h1>Returns Procedure</h1>
<p>This is my paragraph with multiple lines with in the paragraph.<br />This is line 2.<br />This is line 3.<br /></p>
<p><strong>So what do I do next?</strong>Well this is the next part.</p>

Laying the code out like above saves 40bytes! That's just one one small section, when on large pages the saving is huge!
This would make the code smaller and more readable.

Is there anyway to get development to take a look at this?

Many thanks and kind regards,

Robert Readman.


   Report 
   11-16-2010, 5:26
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.914
Re: PinEdit HTML layout
Reply Quote
Hello,

how do you reád content from pinEdit: HTML or XHTML?
Which version do you use ?

Regards,
Hans-Peter
   Report 
   12-05-2011, 7:37
sonnyp is not online. Last active: 02.05.2012 15:06:01 sonnyp

Top 150 Posts
Joined on 02-18-2011
Cranston, RI
Posts 5
Re: PinEdit HTML layout
Reply Quote
Hi Hans-Peter,

I'm just curious myself as I do noticed the same issue as the original poster.

PinEdit1.UserMode = pinEdit.enUserMode.HTML
PinEdit1.HtmlMode = pinEdit.enHtmlMode.Body

I read it in HTML. using PinEdit 7.2

Thanks,
Sonny

   Report 
Pintexx Forum » Developer Produ... » pinEdit » Re: PinEdit HTML layout