Im currently trying to build a sitemap.xml file with ruby code.
What i want to do is to loop through these and output them into the
following xml structure:
Im currently trying to do it with builder and have the following:
@sitemap = Builder::XmlMarkup.new()
@sitemap.declare! :DOCTYPE, :html, :PUBLIC, “-//W3C//DTD XHTML 1.0
im at the point where i need to take the @urls and insert them in
between the urlset element.
any ideas on how i might do this?