Build an OMPL file from RSS feeds

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Anything like this around anywhere? Need to be able to input RSS
information for several feeds and have it create an OMPL file.



Re: Build an OMPL file from RSS feeds


Quoted text here. Click to load it

I am unsure if there is any applications that already current do this.
But this should be pretty easy.  If you take a peak at this guys OPML
feed you can see what elements are needed and the attributes used:

You can also find the OPML specification document at:

For me I built an xml parser and writer to handle it all from an array
to build the documents for me.  As you might be able to find several of
those around now days...

Also if you wanted to do a quick and easy implementation you could do
something of this sort:

//define feeds
$feed = array();
$feed['My Rss Feed'] = ' ';
$feed['Some Other RSS Feed'] = ' ';

//create the starting markup
echo('<?xml version="1.0" encoding="UTF-8"?>');
echo("\r\n".'<opml version="1.0">');

foreach($feed as $k => $v) {
   echo("\r\n\t\t".'<outline text="'.$k.'" xmlUrl="'.$v.'" type="rss"

That might or might not help you but is always a good starting point
from creating something from scratch.  This was a really quick and dirty
mockup of what you could do to make it using the array keys as the Text
and the url as the value.


Re: Build an OMPL file from RSS feeds


Also here is some other good resources:


Site Timeline