Link to home
Start Free TrialLog in
Avatar of thegreals
thegreals

asked on

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
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

RSS is a specialized subset of XML.  You can learn more about it here:
http://cyber.law.harvard.edu/rss/rss.html

I see two issues that your programming will need to address.  First, you must decide which of your existing data fields map appropriately to the RSS subset.  Next, you must write well-formed XML, and that means using the right quote marks, setting the right character entities for things like apostrophes and ampersands.  Most RSS readers will bark if the XML is not 100% well-formed, and while it is a bit of a programming task to translate the special characters, it is a necessity for success.

Not sure what programming languages you would choose for something like this - I would probably do it in PHP since that is my best language.  It is a half-day programming task once the data map has been wireframed.

Best regards, ~Ray
ASKER CERTIFIED SOLUTION
Avatar of MogalManic
MogalManic
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thegreals
thegreals

ASKER

Great - thanks