[georss] [W3C Geo]two different titles in separated line
DENG Yé
Ye.DENG at insead.edu
Tue Jul 4 12:41:29 EDT 2006
Thank you very much for both of you!
I think add <br>(<br>) is the easier way for me, so I don't need to modify my program to generate another GeoRSS format.
It works fine with W3C's GeoRSS:
<item>
<title>First line <br> Another line</title>
<link>http://example.com/geo</link>
<description>Just an example</description>
<geo:lat>26.58</geo:lat>
<geo:long>-97.83</geo:long>
</item>
________________________________
From: georss-bounces at lists.eogeo.org [mailto:georss-bounces at lists.eogeo.org] On Behalf Of Mikel Maron
Sent: Tuesday, July 04, 2006 6:12 PM
To: Josh at oklieb; DENG Yé; georss at lists.eogeo.org
Subject: Re: [georss] [W3C Geo]two different titles in separated line
It is possible to include HTML in the Atom <title> element, and use a <br> or <p>
http://www.atomenabled.org/developers/syndication/#text
but I don't believe it's possible to include HTML in RSS 2.0
-Mikel
----- Original Message ----
From: "Josh at oklieb" <josh at oklieb.net>
To: DENG Yé <Ye.DENG at insead.edu>; georss at lists.eogeo.org
Sent: Tuesday, July 4, 2006 8:59:02 AM
Subject: Re: [georss] [W3C Geo]two different titles in separated line
Deng,
The <title> element is part of RSS / Atom. You should look in those specifications, particularly Atom, to see whether there are additional elements you can use for a company name. This is independent of any external elements (such as geo: or georss:). There are also external vocabularies especially for additional contact information such as foaf.
You should also consider using georss: instead of geo: for geotagging as the new standard provides more options for describing the location and related geographic feature of your information.
Cheers,
Josh
On Jul 4, 2006, at 6:06 AM, DENG Yé wrote:
Hi,
I am using W3C basic Geo vocabulary for representing users' addresses with mapping service such Yahoo Maps or MS Live. I followed the example like:
<item>
<title>An example annotation</title>
<link>http://example.com/geo</link>
<description>Just an example</description>
<geo:lat>26.58</geo:lat>
<geo:long>-97.83</geo:long>
</item>
It works, but when I want to add two different titles in separated line (user name in the first line and company name in the second line), I don't know if there any encoding method to do this??
Thanks in advance.
DENG
_______________________________________________
georss mailing list
georss at lists.eogeo.org
http://lists.eogeo.org/mailman/listinfo/georss
_______________________________________________
georss mailing list
georss at lists.eogeo.org
http://lists.eogeo.org/mailman/listinfo/georss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.eogeo.org/pipermail/georss/attachments/20060704/09b90489/attachment.html
More information about the georss
mailing list