Page 1 of 1

landscape descriptions

Posted: Tue Mar 27, 2012 7:10 am
by ikarus1969
Hi Pavel,

i have a question about the format of the landscape description. Since a few releases we are able to include not only text but also links and/or images in the description.

I am not sure about the format. I have one landscape and want to include a link. So i opened my editor, coded a "<![CDATA[" section with the text (close it with "]]>") and appended my link (html-format) but when i add this landscape to YoWindow and open the landscape properties i do not see the complete description. Furthermore when i press the button to edit the description within YoWindow i get the complete "<about>"-tag section.
What am i doing wrong?
YoWindow - landscape description.jpg
YoWindow - landscape description edit pressed.jpg
YoWindow - landscape description edit pressed.jpg (30.83 KiB) Viewed 2909 times

Re: landscape descriptions

Posted: Tue Mar 27, 2012 10:20 am
by par
Hey, Reinhart!

If you edit description manually all HTML code must be put inside CDATA brackets - in the place of the word HERE
<![CDATA[HERE]]>

In your case

<![CDATA[<a href="http://apple.com">Apple Headquarters in Cupertino, CA</a>]]>

The very purpose of CDATA section is to allow entering special characters as text inside XML. The special characters are these <, >, "

Re: landscape descriptions

Posted: Tue Mar 27, 2012 12:51 pm
by ikarus1969
par wrote:Hey, Reinhart!

If you edit description manually all HTML code must be put inside CDATA brackets - in the place of the word HERE
<![CDATA[HERE]]>

In your case

<![CDATA[<a href="http://apple.com">Apple Headquarters in Cupertino, CA</a>]]>

The very purpose of CDATA section is to allow entering special characters as text inside XML. The special characters are these <, >, "
Thanks - now it works as expected! :)

Re: landscape descriptions

Posted: Tue Mar 27, 2012 1:24 pm
by par
;)