<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Multi-column articles | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/9022</link>
    <description>Recent comments on userscript: Multi-column articles</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Small update, replied by Raking Leaves</title>
      <description>&lt;p&gt;I just uploaded version 0.5.1, which fixes some issues with NYTimes.com and The Atlantic.  At some point soon, I hope to go through the list of supported sites and make sure they still work.&lt;/p&gt;</description>
      <pubDate>Sat, 31 Jan 2009 23:11:10 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18554:93280</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/93280</link>
    </item>
    <item>
      <title>Small update, replied by Raking Leaves</title>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;Sorry I haven't been responsive to the last few comments.  Between family and work I haven't had time to look at script issues.  I will look at these issues as soon as I have time, but it may be a while.  The script still works fine for me on the main news sites (NYTimes, Wash. Post), but I'm sorry if it's broken elsewhere.  I will gladly accept bug fixes from others and I'd be happy to help anyone else understand the code.&lt;/p&gt;</description>
      <pubDate>Thu, 04 Dec 2008 14:28:48 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18554:81269</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/81269</link>
    </item>
    <item>
      <title>Refresh loop, replied by Heather Hollick</title>
      <description>&lt;p&gt;When I use this script Firefox goes into an endless loop of reloading the page. The page formats to multiple columns, then reloads, always back to the first page. Anyone have any idea how to stop Firefox from reloading the page?&lt;/p&gt;

&lt;p&gt;Many thanks,
&lt;br /&gt;Heather&lt;/p&gt;</description>
      <pubDate>Sun, 23 Nov 2008 14:05:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18161:79666</guid>
      <author>Heather Hollick</author>
      <link>http://userscripts.org/posts/79666</link>
    </item>
    <item>
      <title>Missing text / Bad margins, replied by ed420</title>
      <description>&lt;p&gt;The script seems to cut out phrases, and the margins seem to be out of whack. Example at: &lt;a href=&quot;http://www.economist.com/world/international/PrinterFriendly.cfm?story_id=12609825&quot;&gt;http://www.economist.com/world/international/Pr...&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;The missing phrases seem to be due HTML mark up in the original article (both instances it cuts out the rest of a paragraph after the article mentions the name of a source, which is italicized.)&lt;/p&gt;</description>
      <pubDate>Tue, 18 Nov 2008 17:12:45 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:17973:78952</guid>
      <author>ed420</author>
      <link>http://userscripts.org/posts/78952</link>
    </item>
    <item>
      <title>Archived Comments, replied by a new nadir</title>
      <description>&lt;p&gt;This plugin no longer works on most sites--when I go to multi-column view, a lot of text is shorn out between pages--at least a sentence or two.  Also, the margins are messed up, so that sometimes text bleeds off the page.&lt;/p&gt;</description>
      <pubDate>Tue, 28 Oct 2008 14:49:17 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43177</guid>
      <author>a new nadir</author>
      <link>http://userscripts.org/posts/43177</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;Hi Margot,&lt;/p&gt;

&lt;p&gt;Glad you like the script!  Wikipedia works fine for me.  To get the multi-column layout, just click on the &quot;Printable version&quot; link in the box labeled &quot;toolbox&quot; in the left column on any article.  Pictures don't appear in the multi-column view since they are often removed from printer-friendly versions of articles.  Beyond that, I'm not sure the column layout in Firefox is advanced enough yet to add pictures to multi-column text in a nice way.  But, when that happens, I'll think about how I can include them.&lt;/p&gt;</description>
      <pubDate>Thu, 10 Jul 2008 13:43:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43178</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43178</link>
    </item>
    <item>
      <title>Archived Comments, replied by Margot</title>
      <description>&lt;p&gt;It doesn't work on wikipedia unless I remove the &quot;printable=yes*&quot; from the url (Included Pages), but I guess it was there for some reason. Also I can't see any pictures in the multi-column view. &lt;/p&gt;

&lt;p&gt;Besides that it's great!&lt;/p&gt;</description>
      <pubDate>Mon, 07 Jul 2008 06:48:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43179</guid>
      <author>Margot</author>
      <link>http://userscripts.org/posts/43179</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;I've just released version 0.5.0, coinciding with the release of Firefox 3.  The big new feature is automatic hyphenation via Firefox 3's soft hyphen support and the hyphenator script (see &lt;a href=&quot;http://code.google.com/p/hyphenator/&quot;&gt;http://code.google.com/p/hyphenator/&lt;/a&gt;).  The script still works with Firefox 2, but hyphenation won't work.  There's also support for a bunch more sites, mostly thanks to ihq (see comment below).  I've also noticed that smooth scrolling performance seems to be much improved in Firefox 3, at least on Mac.  Enjoy!&lt;/p&gt;</description>
      <pubDate>Wed, 18 Jun 2008 02:27:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43180</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43180</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;Sweet, thanks for the patch, ihq!  I will include it in the next release, along with the hyphenation feature.  I'll try to get it out soon after the Firefox 3 release this Tuesday.&lt;/p&gt;</description>
      <pubDate>Mon, 16 Jun 2008 02:12:53 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43181</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43181</link>
    </item>
    <item>
      <title>Archived Comments, replied by ihq</title>
      <description>&lt;p&gt;BBC News:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
// @include http://*.bbc.co.uk/*/pagetools/print/*

else if (theURL.match(/bbc\.co\.uk/)) {
        return getTextBBCNews();
}

function getTextBBCNews() {
    addGlobalStyle(&quot;body { padding-left: 0; padding-right: 0; }&quot;);
    addGlobalStyle(&quot;div.headline { text-align: left; }&quot;);
    removeAll(getElementsByClass('ibox',null,null));
    return addChildrenToNewDiv(document.body);
}&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;ABC News:
&lt;br /&gt;&lt;pre&gt;
// @include *abcnews.go.com/print?id=*

else if (theURL.match(/abcnews\.go\.com/)) {
        return getTextABCNews();
}

function getTextABCNews() {
    addGlobalStyle(&quot;h1,h2,h3,h4 { font-family: sans-serif; text-align: left; }&quot;);
    return document.getElementById('content');
}&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Newsweek:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;// @include http://*.newsweek.com/*/output/print

else if (theURL.match(/newsweek\.com/)) {
        return getTextNewsweek();
}

function getTextNewsweek() {
    addGlobalStyle(&quot;img {margin: 0 0 0 0;}&quot;);  
    // TO DO: remove p tag from deck div (subtitle) so the style isn't overwritten
    addGlobalStyle(&quot;.author { padding: 5px 0 0 0; }&quot;);
    addGlobalStyle(&quot;.articleUpdated { margin: 0 0 0 0; }&quot;);
    addGlobalStyle(&quot;.contentWrapper { margin: 0 0 0 0; width: 100%; padding-top:0 }&quot;);
    removeAll(getElementsByClass('copyright'));
    removeAll(getElementsByClass('hr'));
    removeAll(getElementsByClass('URL'));
    return getElementsByClass('body', document.body, 'div')[0];
}&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Time:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;// @include http://*.time.com/*/printout/*

else if (theURL.match(/time\.com/)) {
        return getTextTime();
}

function getTextTime() {
    removeIfNotNull(document.getElementById('topBannerWrap'));
    removeAll(getElementsByClass('button',null,null));
    addGlobalStyle('.contentMain { padding: 0 0 0 0; }');
    addGlobalStyle('.tout1 p { line-height:1.3em ! important; }');
    addGlobalStyle('h1 { text-align:left; }');
    addGlobalStyle('.tout1 { border:0; }');
    addGlobalStyle('#footer { margin-top:0; }');
    removeAll(getElementsByClass('find'));
    return getElementsByClass('tout1',null,null)[0]
}&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 15 Jun 2008 23:31:30 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43182</guid>
      <author>ihq</author>
      <link>http://userscripts.org/posts/43182</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;Hi everyone, thanks for all the comments.  First, some good news: I have an initial implementation of hyphenation!  It was done mostly via the wonderful hyphenator script:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://code.google.com/p/hyphenator/&quot;&gt;http://code.google.com/p/hyphenator/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks to ihq for the initial pointer.  In my preliminary tests, readability is sometimes dramatically improved.  The only issue is that automatic hyphenation relies on soft hyphen support, which is implemented in Firefox 3 but not Firefox 2.  Since Firefox 3 should be released relatively soon, I am going to hold off on a new release until I can fully test it with Firefox 3.  I'll also add support for a couple more sites in the next release.&lt;/p&gt;

&lt;p&gt;Regarding printing of articles in multi-column format, it sounds like there are some good ideas out there, but I think it would require some significant changes over what is implemented now.  It took a long time to get the notion of &quot;pages&quot; working decently with the script as-is.  Firefox doesn't really tell you exactly how wide a column is or how many columns are currently being displayed, and calculating that information wasn't very easy.  My guess is that trying to determine what should go on a &quot;printed page&quot; will be even harder.  I don't have time to work on this, but if anyone is interested in taking charge, I'm glad to try and help.&lt;/p&gt;

&lt;p&gt;Marc Savoy: not sure what happened in your case.  Do other scripts work?  My guess is your problem isn't with this script in particular, but with Greasemonkey in general.&lt;/p&gt;</description>
      <pubDate>Mon, 14 Apr 2008 02:54:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43183</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43183</link>
    </item>
    <item>
      <title>Archived Comments, replied by Marc Savoy</title>
      <description>&lt;p&gt;This worked when I initially installed it yesterday but even after uninstalling and re-installing, it doesn't work anymore. :-(&lt;/p&gt;</description>
      <pubDate>Sat, 12 Apr 2008 12:04:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43184</guid>
      <author>Marc Savoy</author>
      <link>http://userscripts.org/posts/43184</link>
    </item>
    <item>
      <title>Archived Comments, replied by orrorin</title>
      <description>&lt;p&gt;Can we have this working for San Francisco Chronicle (sfgate.com)? They have verbose articles as well.&lt;/p&gt;

&lt;p&gt;Also, instead of creating a multi-page output, can we have a single page or pseudo-pagination (where the entire article is on a single web page, but the next and prev buttons are pointing to (pseudo-)page based anchors on it)? This will make it easier to print in multi-column format.&lt;/p&gt;

&lt;p&gt;Thanks for the good work!&lt;/p&gt;</description>
      <pubDate>Sun, 06 Apr 2008 19:58:19 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43185</guid>
      <author>orrorin</author>
      <link>http://userscripts.org/posts/43185</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;I just posted an update (first in a while!) that hopefully fixes the Washington Post.  Hopefully more soon...&lt;/p&gt;</description>
      <pubDate>Sat, 05 Apr 2008 03:02:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43186</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43186</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;Hi everyone, sorry for being somewhat unresponsive here.  I have a real job now, and hence less time to work on the script :).  I'll try to fix the washingtonpost issue soon.  I'll also try to get Firefox 3 support going soon after it's released.  But, because of other commitments, I can't make any promises about timely releases.  As always, I welcome patches, and I'm glad to answer any questions ppl have about the code.&lt;/p&gt;</description>
      <pubDate>Mon, 31 Mar 2008 19:01:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43187</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43187</link>
    </item>
    <item>
      <title>Archived Comments, replied by ihq</title>
      <description>&lt;p&gt;The script isn't working for me on washingtonpost.com. I get the error&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;Error: theText has no properties
Source File: file:///C:/Users/Me/AppData/Roaming/Mozilla/Firefox/Profiles/default/gm_scripts/multicolumnarticles.user.js
Line: 668&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 22 Mar 2008 13:50:57 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43188</guid>
      <author>ihq</author>
      <link>http://userscripts.org/posts/43188</link>
    </item>
    <item>
      <title>Archived Comments, replied by ihq</title>
      <description>&lt;p&gt;These settings make pages look a little more like a printed newspaper:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;br /&gt;padding-top: 0pt ! important; 
&lt;br /&gt;padding-bottom: 0pt ! important; 
&lt;br /&gt;text-indent: 1em ! important;
&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Is there a way to include hyphenation? Here is a starting point: &lt;a href=&quot;http://www.mnn.ch/hyph/hyphenation2.html&quot;&gt;http://www.mnn.ch/hyph/hyphenation2.html&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Fri, 21 Mar 2008 00:01:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43189</guid>
      <author>ihq</author>
      <link>http://userscripts.org/posts/43189</link>
    </item>
    <item>
      <title>Archived Comments, replied by mmcc</title>
      <description>&lt;p&gt;Great script! I'm trying to figure out how to use this to print out long web articles in multiple columns. I've changed the script a bit so the entire article is drawn with a scroll bar at the bottom of the browser instead of having the nav bar. However, when I try to print, the article is either shrunk down to fit on one page, or only one page is generated with the rest of the article cut off.&lt;/p&gt;

&lt;p&gt;I'd love to somehow say that two or three columns should be printed per page. Any ideas?&lt;/p&gt;</description>
      <pubDate>Mon, 17 Mar 2008 19:03:30 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43190</guid>
      <author>mmcc</author>
      <link>http://userscripts.org/posts/43190</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;I just uploaded version 0.4.0, which adds the ability to use a custom style for article text.  I hope people find this feature handy; I think the default custom style is a big improvement over the style for most printer-friendly pages.  Note that I haven't thoroughly tested modifying different parts of the custom style; some changes may have adverse affects on script functionality.  Changing fonts and font sizes should be fine, though.&lt;/p&gt;

&lt;p&gt;neetij: I added the margin as you suggested; thanks.  Re: the access keys, I couldn't get the suggested code to actually do anything, as far as I could tell.  I also read &lt;a href=&quot;http://www.cs.tut.fi/~jkorpela/forms/accesskey.html&quot;&gt;this web page&lt;/a&gt;, which suggests that access key support can be quite tricky.  If someone can explain to me what benefits the access keys provide in Firefox, I'll add the code.&lt;/p&gt;

&lt;p&gt;Still thinking about Eoin's issue with printer-friendly links; I may write a separate script to address them.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Oct 2007 22:01:54 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43191</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43191</link>
    </item>
    <item>
      <title>Archived Comments, replied by neetij</title>
      <description>&lt;p&gt;I must say this is a wonderful script. Thanks for taking the time to write this up.
&lt;br /&gt;You might want to add a margin to the body for the Wired print view - it sticks to the edges.
&lt;br /&gt;&lt;pre&gt;document.body.setAttribute(&quot;style&quot;, &quot;margin: 10px; width:auto;&quot;);&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;I think introducing access keys for the pagination would be a welcome addition.
&lt;br /&gt;&lt;pre&gt;prevButton.setAttribute(&quot;accesskey&quot;, &quot;p&quot;);
nextButton.setAttribute(&quot;accesskey&quot;, &quot;n&quot;);&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Cheers.&lt;/p&gt;</description>
      <pubDate>Wed, 17 Oct 2007 09:03:53 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43192</guid>
      <author>neetij</author>
      <link>http://userscripts.org/posts/43192</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;I just posted a new version with a revamped implementation of scrolling that should hopefully fix several minor bugs.  Note that now, there may be an extra blank page on some articles; this is a known issue.  Post a comment if you see problems with text being cut off or too few pages for an article.  &lt;/p&gt;

&lt;p&gt;In the next version, I hope to allow user formatting of articles (text font, size, etc.), and I'm still thinking about a good way to address Eoin's issue.&lt;/p&gt;</description>
      <pubDate>Mon, 17 Sep 2007 21:29:07 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43193</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43193</link>
    </item>
    <item>
      <title>Archived Comments, replied by Eoin Jones</title>
      <description>&lt;p&gt;Hey thanks, look forward to the update, its already very handy, but I guess us greasemonkey users by nature are always looking for the ideal scenario.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Sep 2007 13:03:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43194</guid>
      <author>Eoin Jones</author>
      <link>http://userscripts.org/posts/43194</link>
    </item>
    <item>
      <title>Archived Comments, replied by Raking Leaves</title>
      <description>&lt;p&gt;Hey, sorry for being so slow in responding; I just completed a move.  Eoin, you're right, being able to go directly to printer-friendly pages would be a great feature.  There are already separate scripts that take you directly to printer-friendly pages for certain sites (e.g., &lt;a href=&quot;http://userscripts.org/scripts/show/10855&quot;&gt;http://userscripts.org/scripts/show/10855&lt;/a&gt;).  As you suggest, I would like to be able to choose printer-friendly vs. standard on a per-article basis, as sometimes there are interesting pictures or multimedia features linked from the standard article view.  I'll keep thinking about an unobtrusive way to make navigating to the multi-column view easier.  &lt;/p&gt;

&lt;p&gt;I'm working on some other minor improvements; hopefully a new version will be released soon.&lt;/p&gt;</description>
      <pubDate>Wed, 12 Sep 2007 16:25:36 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43195</guid>
      <author>Raking Leaves</author>
      <link>http://userscripts.org/posts/43195</link>
    </item>
    <item>
      <title>Archived Comments, replied by Eoin Jones</title>
      <description>&lt;p&gt;sorry, maybe something other than ctrl+click as that is the shortcut to open the link in a new tab.&lt;/p&gt;</description>
      <pubDate>Sun, 26 Aug 2007 14:53:28 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43196</guid>
      <author>Eoin Jones</author>
      <link>http://userscripts.org/posts/43196</link>
    </item>
    <item>
      <title>Archived Comments, replied by Eoin Jones</title>
      <description>&lt;p&gt;It would be very handy if link redirection was added to this script so you could ctrl+click on headlines to go directly to the printable page without needing to go through the standard article page first, but I guess that might be tricky.&lt;/p&gt;</description>
      <pubDate>Sun, 26 Aug 2007 14:49:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:13548:43197</guid>
      <author>Eoin Jones</author>
      <link>http://userscripts.org/posts/43197</link>
    </item>
  </channel>
</rss>
