landscape descriptions

Any questions? Any answers?
Post Reply
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

landscape descriptions

Post 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 2911 times
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
User avatar
par
Posts: 8736
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: landscape descriptions

Post 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 <, >, "
Get YoWindow weather app for your phone or tablet.

Image Image Image
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: landscape descriptions

Post 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! :)
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
User avatar
par
Posts: 8736
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: landscape descriptions

Post by par »

;)
Get YoWindow weather app for your phone or tablet.

Image Image Image
Post Reply