Question : Turn XML into RSS feed

Hi Gurus,

Here is an example of my xml feed that is created but I want o change it into as RSS feed so people can grab it from my blog.

How do I turn this feed format into an RSS Feed:

<?xml version='1.0' standalone='yes' ?>
<announcements>
          <announcement>
           <headline>NQM`s Major Shareholder Accepts CQT Offer</headline>
           <date>2010-07-09</date>
           <exchange>ASX</exchange>
           <symbol>CQT</symbol>
           <primarycategory>Takeover</primarycategory>
           <secondarycategory>Operations Update</secondarycategory>
           
           <summary>Conquest Mining takeover offer for North Queensland Metals – acceptance received from major shareholder
Conquest Mining Limited (ASX:CQT) ("Conquest") refers to its announcement earlier today that it will increase the consideration under its takeover offer ("Offer") for North Queensland Metals Limited (ASX:NQM) ("NQM") to 0.5 Conquest shares and 15 cents cash for every NQM share, and that NQM's founder, director and major shareholder, Mr Don Walker, had agreed to accept the Offer in respect of a 19.9% shareholding in NQM.
Conquest advises that Mr Don Walker has now accepted the Offer in respect of his entire shareholding in NQM, representing a 20.9% interest in NQM. This means that the 90% minimum acceptance condition in the recently announced all scrip offer from Heemskirk Consolidated Limited ("Heemskirk") cannot be satisfied, except in certain limited circumstances1.
For more information:
Jake Klein
Executive Chairman
Conquest Mining Limited
0411 422 474
Sarah Browne Paul Downie
FD Third Person FD Third Person
0439 841 395 0414 947 129
(08) 9386 1233 (08) 9386 1233</summary>
           <id>10123</id>
       </announcement>
              <announcement>
           <headline>CQT: NQM`s Major Shareholder Accepts CQT Offer</headline>
           <date>2010-07-09</date>
           <exchange>ASX</exchange>
           <symbol>HSK</symbol>
           <primarycategory>Takeover</primarycategory>
           <secondarycategory>Operations Update</secondarycategory>
           
           <summary>Conquest Mining takeover offer for North Queensland Metals – acceptance received from major shareholder
Conquest Mining Limited (ASX:CQT) ("Conquest") refers to its announcement earlier today that it will increase the consideration under its takeover offer ("Offer") for North Queensland Metals Limited (ASX:NQM) ("NQM") to 0.5 Conquest shares and 15 cents cash for every NQM share, and that NQM's founder, director and major shareholder, Mr Don Walker, had agreed to accept the Offer in respect of a 19.9% shareholding in NQM.
Conquest advises that Mr Don Walker has now accepted the Offer in respect of his entire shareholding in NQM, representing a 20.9% interest in NQM. This means that the 90% minimum acceptance condition in the recently announced all scrip offer from Heemskirk Consolidated Limited ("Heemskirk") cannot be satisfied, except in certain limited circumstances1.
For more information:
Jake Klein
Executive Chairman
Conquest Mining Limited
0411 422 474
Sarah Browne Paul Downie
FD Third Person FD Third Person
0439 841 395 0414 947 129
(08) 9386 1233 (08) 9386 1233</summary>
           <id>10124</id>
       </announcement>
              <announcement>
           <headline>CQT: NQM`s Major Shareholder Accepts CQT Offer</headline>
           <date>2010-07-09</date>
           <exchange>ASX</exchange>
           <symbol>NQM</symbol>
           <primarycategory>Takeover</primarycategory>
           <secondarycategory>Operations Update</secondarycategory>
           
           <summary>Conquest Mining takeover offer for North Queensland Metals – acceptance received from major shareholder
Conquest Mining Limited (ASX:CQT) ("Conquest") refers to its announcement earlier today that it will increase the consideration under its takeover offer ("Offer") for North Queensland Metals Limited (ASX:NQM) ("NQM") to 0.5 Conquest shares and 15 cents cash for every NQM share, and that NQM's founder, director and major shareholder, Mr Don Walker, had agreed to accept the Offer in respect of a 19.9% shareholding in NQM.
Conquest advises that Mr Don Walker has now accepted the Offer in respect of his entire shareholding in NQM, representing a 20.9% interest in NQM. This means that the 90% minimum acceptance condition in the recently announced all scrip offer from Heemskirk Consolidated Limited ("Heemskirk") cannot be satisfied, except in certain limited circumstances1.
For more information:
Jake Klein
Executive Chairman
Conquest Mining Limited
0411 422 474
Sarah Browne Paul Downie
FD Third Person FD Third Person
0439 841 395 0414 947 129
(08) 9386 1233 (08) 9386 1233</summary>

Is there a program I can map or simple code to convert it?


Please help.



Regards,


the greals

Answer : Turn XML into RSS feed

Here are a couple of tools that will help you in the mapping:
http://www.webreference.com/perl/tools/
 RSS Creator is a PERL script that will create a simple RSS file
 RSS Channel Editor is a PERL script that will create a RSS channel

For each tool, click on the "Try It" link and try out your mapping.  Once you figure out the mapping, then you can use a variety of languages that will parse your XML input and spit out the RSS Xml.
Random Solutions  
 
programming4us programming4us