<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;C0ANQHw-eSp7ImA9WxFQGU4.&quot;'><id>tag:blogger.com,1999:blog-7534519165784788627</id><updated>2010-05-15T06:56:31.251-07:00</updated><title>Jodie Cunningham's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jodieslinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7534519165784788627/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://jodieslinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jodie Cunningham</name><uri>http://www.blogger.com/profile/08034602273842434510</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;C0ANQHw8fip7ImA9WxFQGU4.&quot;'><id>tag:blogger.com,1999:blog-7534519165784788627.post-8670900827071497152</id><published>2010-05-14T13:06:00.000-07:00</published><updated>2010-05-15T06:56:31.276-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-05-15T06:56:31.276-07:00</app:edited><title>So you have a bunch of IE Favorites and want to take them to Firefox</title><content type='html'>BUT you forgot to export them to HTML before you nuked Windows.&lt;br /&gt;
You need a way to parse the URL file and strip out the URL= field, adding it to an a href and using the filename as the bookmark name. I use tofrodos to fix the ^Ms in the files, they really mess with awk's output. &lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;cd /mnt/sdb1/Doc*/Jodie/Favorites&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;fromdos *.url&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;awk -F"URL=" '/^URL=/ { sub(/.url$/,NULL,FILENAME); print "&amp;lt;a href=\""$2"\"&amp;gt;"FILENAME"&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;" }' *.url &amp;gt; out.html&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Now import `out.html` into Firefox. Ta-da!&lt;br /&gt;
(Blogger tried really hard to eat that HTML. First example had sed stripping the .url from FILENAME, but I realized I could have awk do that.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-Jodie&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7534519165784788627-8670900827071497152?l=jodieslinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jodieslinux.blogspot.com/feeds/8670900827071497152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jodieslinux.blogspot.com/2010/05/so-you-have-bunch-of-ie-favorites-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7534519165784788627/posts/default/8670900827071497152?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7534519165784788627/posts/default/8670900827071497152?v=2'/><link rel='alternate' type='text/html' href='http://jodieslinux.blogspot.com/2010/05/so-you-have-bunch-of-ie-favorites-and.html' title='So you have a bunch of IE Favorites and want to take them to Firefox'/><author><name>Jodie Cunningham</name><uri>http://www.blogger.com/profile/08034602273842434510</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='12959972169718849359'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0ABQnY8fyp7ImA9WxFQEks.&quot;'><id>tag:blogger.com,1999:blog-7534519165784788627.post-553927842529244375</id><published>2010-05-07T12:49:00.000-07:00</published><updated>2010-05-07T12:49:13.877-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-05-07T12:49:13.877-07:00</app:edited><title>Warring Factions snippet, open up all of your fleets at once</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Requirements:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;* curl&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;* bash&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;* web browser (example uses Chromium)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;br class="Apple-interchange-newline" /&gt;&lt;/span&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;IFS=","; for i in `curl -s "http://www.war-facts.com/external/playerdata?ID=userid&amp;amp;pass=password&amp;amp;func=1"`;do \&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;chromium-browser "http://www.war-facts.com/fleet_navigation.php?fleet=$i";done&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7534519165784788627-553927842529244375?l=jodieslinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jodieslinux.blogspot.com/feeds/553927842529244375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jodieslinux.blogspot.com/2010/05/warring-factions-snippet-open-up-all-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7534519165784788627/posts/default/553927842529244375?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7534519165784788627/posts/default/553927842529244375?v=2'/><link rel='alternate' type='text/html' href='http://jodieslinux.blogspot.com/2010/05/warring-factions-snippet-open-up-all-of.html' title='Warring Factions snippet, open up all of your fleets at once'/><author><name>Jodie Cunningham</name><uri>http://www.blogger.com/profile/08034602273842434510</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='12959972169718849359'/></author><thr:total>0</thr:total></entry></feed>