[linux-l] RSS vs Webseiten -> XML
Ivan F. Villanueva B.
iv at artificialidea.com
Di Mai 23 13:44:13 CEST 2006
Am Mo, Mai 22, 2006 01:55:18 +0200, Sven Guckes schrieb:
> * Benjamin Schieder <blindcoder at scavenger.homeip.net> [2006-05-11 15:43]:
> > On 11.05.2006 11:29:26, Sven Guckes wrote:
> > > www.guckes.net:
> > > 2006 02 15 Mi Berlin 19:00-23h c-base Sven Guckes Screen Workshop
> > Ich habe mir daher mal die Freiheit genommen, ein Plugin fuer
> > den MakeMyRSS Abschnitt meiner Webseite zu erstellen, welches
> > die Informationen aus deiner Seite saugt und aufbereitet:
> > http://blog.crash-override.net/makemyrss/index.sh/www.guckes.net
>
> interesting!
>
> eigentlich wollte ich all diese daten eh in XML format bringen -
> nur weiss ich nicht mit welchen tools ich das dann bearbeiten kann.
> vorschlaege?
Groovy. Beispiel:
import groovy.xml.MarkupBuilder;
def myXMLDoc = new MarkupBuilder()
myXMLDoc.library {
section(id:"Programming") {
book(title:"Java? Groovy!", author:"Duke McCoffee")
book(title:"The art of hacking code", author:"Uber Hacker")
}
}
Die Ausgabe ist:
<library>
<section id='Programming'>
<book title='Java? Groovy!' author='Duke McCoffee' />
<book title='The art of hacking code' author='Uber Hacker' />
</section>
</library>
Einfacher geht es nicht, oder ?
Eine Einfürung in Groovy:
http://www.artificialidea.com/wiki/doku.php?id=groovy
--
Ivan F. Villanueva B.
A.I. library: http://www.artificialidea.com
<<< The European Patent Litigation Agreement (EPLA) >>>
<<< will bring Software patents by the backdoor >>>
<<< http://www.no-lobbyists-as-such.com/florian-mueller-blog/epla/ >>>
<<< http://wiki.ffii.de/EplaEn >>>
Mehr Informationen über die Mailingliste linux-l