RE: Homesite Comment Command

2010-11-15 Thread Robert Harrison

 I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---  
 ---
 Where can I change that to output: !--  -- as W3C doesn't validate with the 
 3 dashes?

You Homesite is probably set-up as a CF Editor and that is a CF comment. If 
it's used on a CF page the comment won't be output in the HTML, thus no W3C 
problem. 


Robert B. Harrison
Director of Interactive Services
Austin  Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be .

Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339229
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command (please read before replying)

2010-11-15 Thread Justin Scott

 I am requesting a way, any way to possibly create a
 keyboard shortcut within Homesite to let me create a
 HTML comment in my pages.

On Homesite+ 5.5, go to the Options menu, then Customize, then the Keyboard
Shortcuts tab.  There should be an option on the list for HTML Comment.
On mine it is Shift+Ctrl+M but I don't recall if that is the default setting
or not.  You can assign it whatever key combination you like.

Pressing the shortcut without any code selected will insert a comment with
the cursor in the middle.  Selecting code and pressing the shortcut will
wrap the selection with the comment.


-Justin



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339233
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command (please read before replying)

2010-11-15 Thread Greg Luce

Ding ding ding! We have a winner!

Greg


On Mon, Nov 15, 2010 at 8:42 AM, Justin Scott
jscott-li...@gravityfree.comwrote:


  I am requesting a way, any way to possibly create a
  keyboard shortcut within Homesite to let me create a
  HTML comment in my pages.

 On Homesite+ 5.5, go to the Options menu, then Customize, then the Keyboard
 Shortcuts tab.  There should be an option on the list for HTML Comment.
 On mine it is Shift+Ctrl+M but I don't recall if that is the default
 setting
 or not.  You can assign it whatever key combination you like.

 Pressing the shortcut without any code selected will insert a comment with
 the cursor in the middle.  Selecting code and pressing the shortcut will
 wrap the selection with the comment.


 -Justin



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339234
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Homesite Comment Command

2010-11-14 Thread Terry Troxel

I don't know if this is OT or not.
I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---
---
Where can I change that to output: !--  -- as W3C doesn't validate with
the 3 dashes?

Terry


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339213
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Russ Michaels

Terry,

!--- This is a ColdFusion Comment ---
!-- This is a HTML comment --

If you put an HTML comment around CFML it will do nothing and the code will
still execute.
CFML comments do not appear in the source code so any HTML validation will
not see it, if you are running the validation on the CFML source then just
ignore the comments.

Russ

-Original Message-
From: Terry Troxel [mailto:terry.tro...@gmail.com] 
Sent: 14 November 2010 22:21
To: cf-talk
Subject: Homesite Comment Command


I don't know if this is OT or not.
I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---
---
Where can I change that to output: !--  -- as W3C doesn't validate with
the 3 dashes?

Terry




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339215
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Terry Troxel

Russ thanks for answering.
I guess I wasn't specific enough.
Is there a keyboard shortcut command to do the html comment in Homesite?
I use Coldfusion in my Site Admin for my clients to design their pages and
then 
When they update it writes all the pages to plain html for SEO as well as
speed.
If there is a command it would save me a bunch of time programming instead
of
Deleting the extra dashes by hand.

Terry

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Sunday, November 14, 2010 2:36 PM
To: cf-talk
Subject: RE: Homesite Comment Command


Terry,

!--- This is a ColdFusion Comment ---
!-- This is a HTML comment --

If you put an HTML comment around CFML it will do nothing and the code will
still execute.
CFML comments do not appear in the source code so any HTML validation will
not see it, if you are running the validation on the CFML source then just
ignore the comments.

Russ

-Original Message-
From: Terry Troxel [mailto:terry.tro...@gmail.com] 
Sent: 14 November 2010 22:21
To: cf-talk
Subject: Homesite Comment Command


I don't know if this is OT or not.
I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---
---
Where can I change that to output: !--  -- as W3C doesn't validate with
the 3 dashes?

Terry






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339216
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command

2010-11-14 Thread Kym Kovan

On 15/11/2010 10:54, Terry Troxel wrote:

 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?

ctrl-shift-M works here


-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339217
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command

2010-11-14 Thread Azadi Saryev

iirc, the 3-dash cf comment does not trip html validation. the 3rd dash 
is considered the first character of comment text.
i do not ever remember having trouble with cf comments in W3C validator.

Azadi

On 15/11/2010 07:54 , Terry Troxel wrote:
 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?
 I use Coldfusion in my Site Admin for my clients to design their pages and
 then
 When they update it writes all the pages to plain html for SEO as well as
 speed.
 If there is a command it would save me a bunch of time programming instead
 of
 Deleting the extra dashes by hand.

 Terry

 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Sunday, November 14, 2010 2:36 PM
 To: cf-talk
 Subject: RE: Homesite Comment Command


 Terry,

 !--- This is a ColdFusion Comment ---
 !-- This is a HTML comment --

 If you put an HTML comment around CFML it will do nothing and the code will
 still execute.
 CFML comments do not appear in the source code so any HTML validation will
 not see it, if you are running the validation on the CFML source then just
 ignore the comments.

 Russ

 -Original Message-
 From: Terry Troxel [mailto:terry.tro...@gmail.com]
 Sent: 14 November 2010 22:21
 To: cf-talk
 Subject: Homesite Comment Command


 I don't know if this is OT or not.
 I Homesite 5+ in CFML Basic the!--- comment command gives you this:!---
 ---
 Where can I change that to output:!--  --  as W3C doesn't validate with
 the 3 dashes?

 Terry






 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339219
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command

2010-11-14 Thread Kym Kovan

On 15/11/2010 11:22, Azadi Saryev wrote:

 iirc, the 3-dash cf comment does not trip html validation. the 3rd dash
 is considered the first character of comment text.
 i do not ever remember having trouble with cf comments in W3C validator.

If you are being strict the comment is actually, in quotes, !-- , 
note the space at the end. So the third dash is wrong in that context.


-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339220
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Terry Troxel

These are the errors I get with XHTML Transitional
Line 10, Column 27: invalid comment declaration: found name character
outside comment but inside comment declaration 
!--- this is a comment --- 
 Line 10, Column 1: comment declaration started here 
!--- this is a comment ---

Terry

-Original Message-
From: Azadi Saryev [mailto:azadi.sar...@gmail.com] 
Sent: Sunday, November 14, 2010 4:22 PM
To: cf-talk
Subject: Re: Homesite Comment Command


iirc, the 3-dash cf comment does not trip html validation. the 3rd dash 
is considered the first character of comment text.
i do not ever remember having trouble with cf comments in W3C validator.

Azadi

On 15/11/2010 07:54 , Terry Troxel wrote:
 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?
 I use Coldfusion in my Site Admin for my clients to design their pages and
 then
 When they update it writes all the pages to plain html for SEO as well as
 speed.
 If there is a command it would save me a bunch of time programming instead
 of
 Deleting the extra dashes by hand.

 Terry

 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Sunday, November 14, 2010 2:36 PM
 To: cf-talk
 Subject: RE: Homesite Comment Command


 Terry,

 !--- This is a ColdFusion Comment ---
 !-- This is a HTML comment --

 If you put an HTML comment around CFML it will do nothing and the code
will
 still execute.
 CFML comments do not appear in the source code so any HTML validation will
 not see it, if you are running the validation on the CFML source then just
 ignore the comments.

 Russ

 -Original Message-
 From: Terry Troxel [mailto:terry.tro...@gmail.com]
 Sent: 14 November 2010 22:21
 To: cf-talk
 Subject: Homesite Comment Command


 I don't know if this is OT or not.
 I Homesite 5+ in CFML Basic the!--- comment command gives you this:!---
 ---
 Where can I change that to output:!--  --  as W3C doesn't validate with
 the 3 dashes?

 Terry






 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339221
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command

2010-11-14 Thread Dave Merrill

Haven't followed this whole thread, not sure what you're doing, but
the CFML comment sequence should never print through to the output at
all, ***when interpreted by a CFML engine***. If you're reading the
file somehow, then it's not being handled as CFML, and you'll have to
deal wiht it according to your circumstances. But as CFML, the
validator hsould never see it, because it doesn't render on the page.
It's a comment, not HTML.

Dave

On Sun, Nov 14, 2010 at 7:47 PM, Terry Troxel terry.tro...@gmail.com wrote:

 These are the errors I get with XHTML Transitional
 Line 10, Column 27: invalid comment declaration: found name character
 outside comment but inside comment declaration
 !--- this is a comment ---
  Line 10, Column 1: comment declaration started here
 !--- this is a comment ---

 Terry

 -Original Message-
 From: Azadi Saryev [mailto:azadi.sar...@gmail.com]
 Sent: Sunday, November 14, 2010 4:22 PM
 To: cf-talk
 Subject: Re: Homesite Comment Command


 iirc, the 3-dash cf comment does not trip html validation. the 3rd dash
 is considered the first character of comment text.
 i do not ever remember having trouble with cf comments in W3C validator.

 Azadi

 On 15/11/2010 07:54 , Terry Troxel wrote:
 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?
 I use Coldfusion in my Site Admin for my clients to design their pages and
 then
 When they update it writes all the pages to plain html for SEO as well as
 speed.
 If there is a command it would save me a bunch of time programming instead
 of
 Deleting the extra dashes by hand.

 Terry

 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Sunday, November 14, 2010 2:36 PM
 To: cf-talk
 Subject: RE: Homesite Comment Command


 Terry,

 !--- This is a ColdFusion Comment ---
 !-- This is a HTML comment --

 If you put an HTML comment around CFML it will do nothing and the code
 will
 still execute.
 CFML comments do not appear in the source code so any HTML validation will
 not see it, if you are running the validation on the CFML source then just
 ignore the comments.

 Russ

 -Original Message-
 From: Terry Troxel [mailto:terry.tro...@gmail.com]
 Sent: 14 November 2010 22:21
 To: cf-talk
 Subject: Homesite Comment Command


 I don't know if this is OT or not.
 I Homesite 5+ in CFML Basic the!--- comment command gives you this:!---
 ---
 Where can I change that to output:!--  --  as W3C doesn't validate with
 the 3 dashes?

 Terry










 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339224
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command (please read before replying)

2010-11-14 Thread Terry Troxel

Ok, let's see if I can clarify my request.

I am requesting a way, any way to possibly create a keyboard shortcut within
Homesite to let me create a HTML comment in my pages.
I do not know how to create this and am asking for help in that regard only.

I have had quite a few replies and thanks for those, but none of them are
addressing my request.

I have written my own CFM that allows me to give a small business person a
website they easily control. I give them a back end that is written in
Coldfusion that I customize to fill each sites needs. There is a command
that updates their pages, which rewrites every page on the front end of
their site to plain jane HTML which runs extremely fast and is very search
engine friendly. I have commented quite a bit of the code to make it easy
for me to add, update, or otherwise grow this contraption from time to time.
I only want to make my life a little easier by not having to do what I've
been doing forever and deleting the extra dashes. Period. If someone could
show me how to write a function in Homesite PLEASE reply. 

Terry


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339225
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Terry Troxel

THANK YOU, Thank you.

Problem solved. You made my day Kym.

Terry

-Original Message-
From: Kym Kovan [mailto:dev-li...@mbcomms.net.au] 
Sent: Sunday, November 14, 2010 4:14 PM
To: cf-talk
Subject: Re: Homesite Comment Command


On 15/11/2010 10:54, Terry Troxel wrote:

 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?

ctrl-shift-M works here


-- 

Yours,

Kym Kovan
mbcomms.net.au




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339226
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Mark A. Kruger

Terry,

You can create your own short cuts using the SNIPPETS panel.

Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com


-Original Message-
From: Terry Troxel [mailto:terry.tro...@gmail.com] 
Sent: Sunday, November 14, 2010 5:55 PM
To: cf-talk
Subject: RE: Homesite Comment Command


Russ thanks for answering.
I guess I wasn't specific enough.
Is there a keyboard shortcut command to do the html comment in Homesite?
I use Coldfusion in my Site Admin for my clients to design their pages and
then 
When they update it writes all the pages to plain html for SEO as well as
speed.
If there is a command it would save me a bunch of time programming instead
of
Deleting the extra dashes by hand.

Terry

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Sunday, November 14, 2010 2:36 PM
To: cf-talk
Subject: RE: Homesite Comment Command


Terry,

!--- This is a ColdFusion Comment ---
!-- This is a HTML comment --

If you put an HTML comment around CFML it will do nothing and the code will
still execute.
CFML comments do not appear in the source code so any HTML validation will
not see it, if you are running the validation on the CFML source then just
ignore the comments.

Russ

-Original Message-
From: Terry Troxel [mailto:terry.tro...@gmail.com] 
Sent: 14 November 2010 22:21
To: cf-talk
Subject: Homesite Comment Command


I don't know if this is OT or not.
I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---
---
Where can I change that to output: !--  -- as W3C doesn't validate with
the 3 dashes?

Terry








~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339227
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm