Rebol [
    Title: "Stack Overflow Rebol Answers"
    Date: 16-Feb-2013
    Author: "Christopher Ross-Gill"
]

do http://reb4.me/r/altxml

use [feed answers][
    feed: load-xml/dom http://stackoverflow.com/feeds/tag/rebol

    answers: collect [
        foreach question feed/get-by-tag <entry> [
            question: find/match question/get <id> "http://stackoverflow.com/q/"
            question: load-xml/dom join http://stackoverflow.com/feeds/question/ question
            foreach answer next question/get-by-tag <entry> [keep answer/tree]
        ]
    ]

    insert clear feed/find-element <entry> answers

    feed/flatten
]