각 <item>
끝에 표준 RSS 피드에 <georss:point>
데이터를 추가하는 Wordpress 플러그인을 사용하고 있습니다.kmlLayer에서 infoWindow 콘텐츠를 사용자 정의하는 방법
Google지도에 kmlLayer
으로 추가하면 모두 정상적으로 작동하여 RSS 피드의 <title>
및 <description>
필드가 기본적으로 표시됩니다.
그러나 RSS 피드의 다른 데이터도 표시하고 싶습니다. 원래 게시물로 되돌아가는 링크 및 이미지. <georss:point>
직전에 추가 된 실험으로 <author><name>my name</name></author>
을 추가했지만 오버레이에 표시되지 않습니다.
내 피드 포맷해야합니까 정확히 따라 :
infoWindow
내용을 사용자 정의하거나
infoWindow
표시하기 전에 컨텐츠를 RSS 피드에서 추가 데이터를 얻을 조작 할 수있는 방법이하기 위해
{
author: {
email: "[email protected]",
name: "Mr Nobody",
uri: "http://example.com"
},
description: "description",
id: "id",
infoWindowHtml: "html",
name: "name",
snippet: "snippet"
}
? 아마 KML 기능 세부 정보 섹션 당신을 도울 수
<item>
<title>Helen Robotham profiled on Italian Vogue</title>
<link>http://blogs.fashion.arts.ac.uk/snapshot/2010/03/22/helen-robotham-profiled-on-italian-vogue/</link>
<comments>http://blogs.fashion.arts.ac.uk/snapshot/2010/03/22/helen-robotham-profiled-on-italian-vogue/#comments</comments>
<pubDate>Mon, 22 Mar 2010 09:36:07 +0000</pubDate>
<dc:creator>alastair</dc:creator>
<guid isPermaLink="false">http://www.fashion.arts.ac.uk/snapshot/?p=1746</guid>
<description><![CDATA[MA Fashion Artefact alumna Helen Robotham has a detailed profile on vogue.it, complete with biography and gallery. Helen graduated in 2009 and last May won the Fashion Fringe at Covent Garden Accessories Award. View course information]]></description>
<content:encoded><![CDATA[<p><img class="alignnone size-large wp-image-1747" src="http://blogs.fashion.arts.ac.uk/snapshot/files/2010/03/vogue-it-robotham-469x288.jpg" alt="" width="469" height="288" /></p>
<p><a href="http://www.fashion.arts.ac.uk/courses/postgraduate/ma_fashion_artefact.htm">MA Fashion Artefact</a> alumna Helen Robotham has a detailed <a href="http://www.vogue.it/en/talents/graduated-from/2010/03/helen-robotham">profile on vogue.it</a>, complete with biography and gallery. Helen graduated in 2009 and <a href="http://www.fashion.arts.ac.uk/snapshot/2009/05/helen-robotham-wins-fashion-fringe/">last May won</a> the Fashion Fringe at Covent Garden Accessories Award.</p>]]></content:encoded>
<wfw:commentRss>http://blogs.fashion.arts.ac.uk/snapshot/2010/03/22/helen-robotham-profiled-on-italian-vogue/feed/</wfw:commentRss>
<slash:comments>0</slash:comments>
<author><name>name</name></author>
<georss:point>45.4636889 9.1881408</georss:point>
<georss:featurename>Milan, Italy</georss:featurename>
<link rel="enclosure" type="image/jpeg" href="http://farm1.static.flickr.com/74/228310988_33a56d0108_o.jpg" />
</item>