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?
landscape descriptions
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
landscape descriptions
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
- par
- Posts: 8736
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: landscape descriptions
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 <, >, "
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 <, >, "
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: landscape descriptions
Thanks - now it works as expected!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 <, >, "

»Man is impressive. In a universe full of untold secrets he has invented boredom.«