Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Naive OPML to Orgmode converter
#!/usr/bin/env perl
print "* Blogs\n";
while (<>) {
if (/text="(.*?)">/) {
print "** $1 :$1:\n";
}
if (/text="(.*?)" type=".*?" xmlUrl="(.*?)"/) {
print "*** [[$2][$1]]\n"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.