Question

GeoRSS Writer with multiple Links

  • 22 August 2013
  • 4 replies
  • 1 view

Hello everybody!

 

 

I am very new to FME and I am using FME Professional 2012.

 

Successfully I generated some Atom-Feeds containing only one

 

Link-Element  using the GeoRSS Writer.

 

 

Subject of my Question is the generation of Atom-Feeds that

 

contain more the one Link-Element. I am not sure how to do

 

that using the GeoRSS Writer.

 

 

Thanks for your help!

 

 


4 replies

Userlevel 4
Badge +13
Hi,

 

 

Have you tried to fan out on the writer?

 

 

Itay
Hi Itay,

 

 

Thanks for the tip. The Option to fan out is disabled at my Featuretype.

 

 

emfme
Userlevel 4
Badge +13
Hi,

 

 

Ok, the writer does have the option see: navigator>georss writer>parameters> advanced

 

 

Hope this helps,

 

Itay
Hi Itay,

 

 

your tip helped me to understand the difference between DataSet fan out and FeatureType fan out.

 

Regarding to the fan out page the option for DataSet fan out is enabled but the option for FeatureType fan out isn't. Sending more than one link attribute to the writer causes only the last one to be written to output file.

 

 

 

What I try to get is a feed that looks simplyfied like this:

 

------------------------------------------------------------------------

 

<feed>  <title>...</title>

 

 <description>...</description>

 

 <id>...</id>

 

 <link>to ressource one</link>

 

 <link>to ressource two</link>

 

 <link>to ressource three</link>

 

 <entry>  ...  </entry>

 

 ... </feed>

 

 

What I got working was something simplyfied like this: 

 

------------------------------------------------------------------------

 

<feed> <title>...</title> <description>...</description>

 

<id>...</id>

 

<link>to ressource one</link> <entry>

 

...

 

</entry>

 

... </feed>

 

 

I know that there has to be a way using the more generic XML Writer to get my desired output. I thought thing would be easier with GeoRSS writer.

 

 

Thanks for your help

 

 

emfme

Reply