rexml/httpwrite, why must you mock me?
Daniel Sheppard
daniels at pronto.com.au
Tue Sep 27 02:39:27 EDT 2005
Okay - think I've got everything resolved.
If you include the attached fix_xml immediately after including
mousehole (ie. line 8 of the mousehole.rb wrapper script), it will give
you the ability to write XML transforming user scripts by including:
document_converter XmlDocumentConverter.new
in your script definition.
I was planning on creating an AtomicMouse user script to manipulate
RSS/Atom feeds by picking out the links in a summary feed, grabbing the
linked pages and using an Xpath to specify which part of the page should
be grabbed as the feed content.
However, I don't know my way around the ruby RSS libraries enough to do
this yet - After parsing a feed with SimpleRss or the stdlib Rss, how do
you turn that data back into an RSS feed?
#####################################################################################
This email has been scanned by MailMarshal, an email content filter.
#####################################################################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_xml.rb
Type: application/octet-stream
Size: 4425 bytes
Desc: fix_xml.rb
Url : http://rubyforge.org/pipermail/mousehole-scripters/attachments/20050927/14da7119/fix_xml.obj
More information about the Mousehole-scripters
mailing list