On Mon, Apr 6, 2009 at 11:39 PM, cappelaere <[email protected]> wrote:
>
> Workflow generates a KML product.
>
> I can save the link in an workitem attribute called 'kml_file' and
> eventually serialize it like:
> <kml_file>some file link</kml_file>
>
> But I woudl really want to output something like:
> <link href='some file link' type='application/vnd.google-earth.kml
> +xml' />
>
> would be nice to generate workflow output in atom feed.
> WDYT?

Hi Pat,

maybe you can find some inspiration by looking at this (dated) example :

  http://github.com/jmettraux/ruote/blob/master/examples/quotereporter.rb

It uses AtomfeedParticipant

  
http://openwferu.rubyforge.org/rdoc/classes/OpenWFE/Extras/AtomFeedParticipant.html

But leveraging the atom-tools gem to get a tailor-made participant is quite easy

  
http://github.com/jmettraux/ruote/blob/master/lib/openwfe/extras/participants/atomfeed_participants.rb


Hope this helps,

-- 
John Mettraux   -   http://jmettraux.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to