Hi Hendrik, I just use a XSLT-stylesheet and let the visitors browser do the transformation. I think it works reasonbly well, just try http://members.tele2.nl/m.d.nauta/grampsExhibit/KootExhibit.xml. The stylesheet that does the transform from xml to json is http://members.tele2.nl/m.d.nauta/grampsExhibit/grampsxml2json.xsl.
Michiel On Apr 19, 4:12 pm, Hendrik <[email protected]> wrote: > I was wondering how I can convert a media rss feed to json and than > disply the result in a Simile Exhibit. > > For the later I will manage somehow, but converting my file on the fly > seems to be way over my head. > > Here is an example part of the media rss feed: > > <item> > > <title>Bad Saarow</title> > <link>http://xml/video_TopSight_Bad_Saarow.xml</link> > <description>Schon die Berliner Theater- und Filmprominenz der > 20er Jahre entdeckte den lang gestreckten Scharmützelsee und das seit > 1923 als Kurort ausgezeichnete Bad Saarow als Domizil mit > Lebensqualität. > > Für Lebensqualität sorgt heute auch die Saarow-Therme, die 1998 > eröffnet wurde. Spaziert man an der Uferpromenade entlang stößt man > auf die ehemaligen Villen der Stars, die heute allerdings nicht selten > eine neue Bestimmung als Hotel oder Ferienheim erhalten haben. > > Für Wassersportler und Aktivurlauber bieten der Scharmützelsee und > seine Umgebung zahlreiche Möglichkeiten mit Wandern, Segeln und > Fahrradfahren dem jeweiligen Hobby nachzugehen. > </description> > <pubDate>Mon, 29 Mar 2010 10:25:00 -0000</pubDate> > <guid isPermaLink="false">A8ujfjoM</guid> > <enclosure url="http://content.bitsontherun.com/videos/ > A8ujfjoM-41173.mp4" length="8715204" type="video/mp4" /> > > <itunes:author>52.264690, 13.996875</itunes:author> > <itunes:duration>49</itunes:duration> > <itunes:keywords>Travelvibes, Europa, Deutschland, Brandenburg, > Rund um Berlin, Video, Bad Saarow, TopSight, BrandenburgChannel</ > itunes:keywords> > <media:content url="http://content.bitsontherun.com/videos/ > A8ujfjoM-41173.mp4" fileSize="8715204" type="video/mp4" duration="49"> > <media:thumbnail url="http://content.bitsontherun.com/thumbs/ > A8ujfjoM-320.jpg" /> > <media:credit>52.264690, 13.996875</media:credit> > <media:player url="http://xml/video_TopSight_Bad_Saarow.xml" /> > > <media:keywords>Travelvibes, Europa, Deutschland, Brandenburg, > Rund um Berlin, Video, Bad Saarow, TopSight, BrandenburgChannel</ > media:keywords> > </media:content> > </item> > <item> > <title>Biosphärenreservat Spreewald</title> > <link>http://xml/video_TopSight_Biosphaerenreservat_Spreewald.xml</ > link> > <description>Auf einem Gebiet von 475 Quadratkilometern verzweigt > sich die Spree südöstlich von Berlin in ein Netz aus Wasserläufen und > Seen und bildet eine einzigartige Natur- und Kulturlandschaft: das > Biosspährenreservat Spreewald. > > Diese prähistorische Hinterlassenschaft der Eiszeit ist heute eine > beliebte Ferien- und Ausflugsregion die Naturliebhaber und > Aktivurlauber gleichermaßen glücklich werden lässt. Beispielsweise > durch eine Fahrradtour auf dem 250 Kilometer langen Gurken-Radweg. > Sehr beliebt sind auch individuelle Kanutouren oder geführte > Kahnfahrten entlang der mit Erlen und Pappel beschatteten Wasserläufe. > Das Örtchen Lübbenau ist als größter Spreewald-Hafen hierfür ein > beliebter Ausgangspunkt. > > </description> > <pubDate>Mon, 29 Mar 2010 10:23:00 -0000</pubDate> > <guid isPermaLink="false">k7OI89LN</guid> > <enclosure url="http://content.bitsontherun.com/videos/ > k7OI89LN-41173.mp4" length="12888278" type="video/mp4" /> > <itunes:author>51.868861, 13.968483</itunes:author> > <itunes:duration>50</itunes:duration> > <itunes:keywords>Travelvibes, Europa, Deutschland, Brandenburg, > Rund um Berlin, Video, Biosphärenreservat Spreewald, TopSight, > BrandenburgChannel</itunes:keywords> > > <media:content url="http://content.bitsontherun.com/videos/ > k7OI89LN-41173.mp4" fileSize="12888278" type="video/mp4" > duration="50"> > <media:thumbnail url="http://content.bitsontherun.com/thumbs/ > k7OI89LN-320.jpg" /> > <media:credit>51.868861, 13.968483</media:credit> > <media:player url="http://xml/ > video_TopSight_Biosphaerenreservat_Spreewald.xml" /> > <media:keywords>Travelvibes, Europa, Deutschland, Brandenburg, > Rund um Berlin, Video, Biosphärenreservat Spreewald, TopSight, > BrandenburgChannel</media:keywords> > </media:content> > </item> > > It is a part of a playlist that also includes the information for > feeding itunes, that is why some information seem to appear twice. > > I tried with Simile Babel to convert this, and also with about 5-10 > other converter, but none of them worked. > > Does anyone her has an idea? > > It would be so nice to be able to load this playlist in a Simile > Exhibit and than give the user the option to sort it in whatever way > he wants. > > Thanks for any help. > Hendrik > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
