Is this the correct way to use title, description, keyword tags?

6 views
Skip to first unread message

Indiver Nagpal

unread,
Oct 28, 2010, 12:56:46 AM10/28/10
to spla...@googlegroups.com
Hi guys

I'm doing this in the head tag on a layout.

        <title><s:title /></title>
        <meta name="description" content="<s:description />" />
        <meta name="keywords" content="<s:keywords />" />

But it comes out in the rendered HTML as:

		<title>


Home Page

</title>
<meta name="description" content="


Base Home Page

"
/>
<meta name="keywords" content="


keyword1, keyword2

"
/>

The spaces in the line are exactly as above. So not sure if I'm using the tags correctly.

Any thoughts?

Indy

raulriera

unread,
Oct 28, 2010, 2:22:24 PM10/28/10
to Splash CMS
Hi, the tags are correct.. you might want to enable whitespace
supression in your ColdFusion settings :)

Indiver Nagpal

unread,
Oct 28, 2010, 2:53:27 PM10/28/10
to spla...@googlegroups.com
Thanks Raul.

I'm using Railo.

I have turned that off for now due to an earlier issue I mentioned, where layouts/snippets, etc. lose their formatting when you save as Railo removes all tabs and empty line breaks once it reads data from the DB, and makes it available for wheels to display in rich textbox.

But even then, the title/description etc. were on a separate line, and not inside the the HTML tag.

raulriera

unread,
Oct 28, 2010, 2:57:41 PM10/28/10
to Splash CMS
This is what I always get

<meta name="keywords" content=" " />
<meta name="description" content=" Base Home Page " />

just space between the data

Indiver Nagpal

unread,
Oct 28, 2010, 3:02:01 PM10/28/10
to spla...@googlegroups.com
Then probably the Railo version.

Thanks for that. Will try and let you know.

raulriera

unread,
Oct 28, 2010, 3:05:01 PM10/28/10
to Splash CMS
wait no! hehe... that site uses ColdFusion 9... I am not using Railo
on Splash yet :(

Indiver Nagpal

unread,
Oct 28, 2010, 3:09:15 PM10/28/10
to spla...@googlegroups.com
That'd explain it.

And how come no Splash on CF? The combination rocks! Blazing fast. Except for these couple of issues that is...

I noticed that Railo even has a built in extension to install CFWheels straight from the Railo server administrator now!

raulriera

unread,
Oct 28, 2010, 4:47:36 PM10/28/10
to Splash CMS
Actually I have it on a SplashCMS express version I made when SQLite
was supported in Wheels... I don't think I saw any issues... could you
upgrade your Railo to see if the problem persists?
Reply all
Reply to author
Forward
0 new messages