Add business cat comic watcher.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 24 Jan 2015 01:34:29 +0000 (02:34 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 24 Jan 2015 01:34:29 +0000 (02:34 +0100)
src/main/java/net/pterodactylus/rhynodge/filters/comics/BusinessCatComicFilter.java [new file with mode: 0644]
src/main/java/net/pterodactylus/rhynodge/watchers/BusinessCatWatcher.java [new file with mode: 0644]
src/test/java/net/pterodactylus/rhynodge/filters/comics/BusinessCatComicFilterTest.java [new file with mode: 0644]
src/test/resources/net/pterodactylus/rhynodge/filters/comics/business-cat.html [new file with mode: 0644]

diff --git a/src/main/java/net/pterodactylus/rhynodge/filters/comics/BusinessCatComicFilter.java b/src/main/java/net/pterodactylus/rhynodge/filters/comics/BusinessCatComicFilter.java
new file mode 100644 (file)
index 0000000..7b75008
--- /dev/null
@@ -0,0 +1,35 @@
+package net.pterodactylus.rhynodge.filters.comics;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import net.pterodactylus.rhynodge.filters.ComicSiteFilter;
+
+import com.google.common.base.Optional;
+import org.jsoup.nodes.Document;
+
+/**
+ * {@link ComicSiteFilter} implementation that can parse Business Cat comics.
+ *
+ * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ */
+public class BusinessCatComicFilter extends ComicSiteFilter {
+
+       @Override
+       protected Optional<String> extractTitle(Document document) {
+               String title = document.select("#comic img").attr("title");
+               return title.isEmpty() ? Optional.<String>absent() : Optional.of(title);
+       }
+
+       @Override
+       protected List<String> extractImageUrls(Document document) {
+               return Arrays.asList(document.select("#comic img").attr("src"));
+       }
+
+       @Override
+       protected List<String> extractImageComments(Document document) {
+               return Collections.emptyList();
+       }
+
+}
diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/BusinessCatWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/BusinessCatWatcher.java
new file mode 100644 (file)
index 0000000..0ffa41a
--- /dev/null
@@ -0,0 +1,22 @@
+package net.pterodactylus.rhynodge.watchers;
+
+import java.util.Arrays;
+
+import net.pterodactylus.rhynodge.Watcher;
+import net.pterodactylus.rhynodge.filters.HtmlFilter;
+import net.pterodactylus.rhynodge.filters.comics.BusinessCatComicFilter;
+import net.pterodactylus.rhynodge.queries.HttpQuery;
+import net.pterodactylus.rhynodge.triggers.NewComicTrigger;
+
+/**
+ * {@link Watcher} implementation that watches for new Business Cat comics.
+ *
+ * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ */
+public class BusinessCatWatcher extends DefaultWatcher {
+
+       public BusinessCatWatcher() {
+               super(new HttpQuery("http://www.businesscat.happyjar.com/"), Arrays.asList(new HtmlFilter(), new BusinessCatComicFilter()), new NewComicTrigger());
+       }
+
+}
diff --git a/src/test/java/net/pterodactylus/rhynodge/filters/comics/BusinessCatComicFilterTest.java b/src/test/java/net/pterodactylus/rhynodge/filters/comics/BusinessCatComicFilterTest.java
new file mode 100644 (file)
index 0000000..5b9e916
--- /dev/null
@@ -0,0 +1,46 @@
+package net.pterodactylus.rhynodge.filters.comics;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+import com.google.common.base.Optional;
+import org.hamcrest.MatcherAssert;
+import org.hamcrest.Matchers;
+import org.jsoup.Jsoup;
+import org.jsoup.nodes.Document;
+import org.junit.Test;
+
+/**
+ * Unit test for {@link BusinessCatComicFilter}.
+ */
+public class BusinessCatComicFilterTest {
+
+       private final BusinessCatComicFilter filter = new BusinessCatComicFilter();
+       private final Document document;
+
+       public BusinessCatComicFilterTest() throws IOException {
+               document = loadDocument("business-cat.html", "http://www.businesscat.happyjar.com//");
+       }
+
+       private Document loadDocument(String resourceName, String baseUri) throws IOException {
+               InputStream inputStream = getClass().getResourceAsStream(resourceName);
+               Document document = Jsoup.parse(inputStream, "UTF-8", baseUri);
+               return document;
+       }
+
+       @Test
+       public void imageTitleCanBeExtracted() {
+               MatcherAssert.assertThat(filter.extractTitle(document), Matchers.is(Optional.of("Running Late")));
+       }
+
+       @Test
+       public void imageUrlsCanBeExtracted() {
+               MatcherAssert.assertThat(filter.extractImageUrls(document), Matchers.contains("http://www.businesscat.happyjar.com/wp-content/uploads/2015/01/2015-01-23-Running-Late.png"));
+       }
+
+       @Test
+       public void imageCommentsCanBeExtracted() {
+               MatcherAssert.assertThat(filter.extractImageComments(document), Matchers.empty());
+       }
+
+}
diff --git a/src/test/resources/net/pterodactylus/rhynodge/filters/comics/business-cat.html b/src/test/resources/net/pterodactylus/rhynodge/filters/comics/business-cat.html
new file mode 100644 (file)
index 0000000..8e45833
--- /dev/null
@@ -0,0 +1,477 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+
+    <script type="text/javascript">
+
+        var _gaq = _gaq || [];
+        _gaq.push(['_setAccount', 'UA-48594285-1']);
+        _gaq.push(['_trackPageview']);
+
+        (function() {
+            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+        })();
+
+    </script>
+    <link rel="shortcut icon" href="http://www.businesscat.happyjar.com/wp-content/themes/businesscat/images/favicon.png" />
+
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
+    <link type="text/css" rel="stylesheet" href="http://www.businesscat.happyjar.com/wp-content/themes/businesscat/wpcore.css"  />
+
+    <link type="text/css" rel="stylesheet"  href="http://www.businesscat.happyjar.com/wp-content/themes/businesscat/style.css"  />
+
+    <link rel="stylesheet" type="text/css" href="http://www.businesscat.happyjar.com/wp-content/themes/businesscat/style.css"/>
+
+    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
+
+    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
+
+    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
+
+    <script type="text/javascript" src="http://www.businesscat.happyjar.com/wp-content/themes/businesscat/css/js/core.js"></script>
+    <!-- Google Fonts -->
+    <link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700' rel='stylesheet' type='text/css'>
+    <!-- Get Facebook like script -->
+    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
+    <!-- Get Twitter share script -->
+    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
+
+    <meta charset="UTF-8" />
+
+    <link rel="profile" href="http://gmpg.org/xfn/11" />
+
+    <link rel="pingback" href="http://www.businesscat.happyjar.com/xmlrpc.php" />
+
+    <link rel="alternate" type="application/rss+xml" title="The Adventures of Business Cat" href="http://www.businesscat.happyjar.com/feed/" />
+
+    <link rel="alternate" type="application/atom+xml" title="The Adventures of Business Cat" href="http://www.businesscat.happyjar.com/feed/atom/" />
+
+
+    <title>The Adventures of Business Cat | You&#039;ve earned it.</title>
+
+
+    <!-- This site is optimized with the Yoast WordPress SEO plugin v1.7.1 - https://yoast.com/wordpress/plugins/seo/ -->
+    <meta name="description" content="The Adventures of Business Cat is a webcomic written and drawn by Tom Fonder detailing the life and times of the world’s wealthiest playboy business pet."/>
+    <link rel="canonical" href="http://www.businesscat.happyjar.com" />
+    <link rel="publisher" href="https://plus.google.com/b/116723208191672073400/116723208191672073400/"/>
+    <meta property="og:locale" content="en_US" />
+    <meta property="og:type" content="website" />
+    <meta property="og:title" content="The Adventures of Business Cat - You&#039;ve earned it." />
+    <meta property="og:description" content="The Adventures of Business Cat is a webcomic written and drawn by Tom Fonder detailing the life and times of the world’s wealthiest playboy business pet." />
+    <meta property="og:url" content="http://www.businesscat.happyjar.com" />
+    <meta property="og:site_name" content="The Adventures of Business Cat" />
+    <meta property="article:publisher" content="http://www.facebook.com/businesscatcomic" />
+    <meta property="og:image" content="http://businesscat.happyjar.com/wp-content/themes/businesscat/images/bcat_logo.png" />
+    <script type="application/ld+json">{ "@context": "http://schema.org", "@type": "WebSite", "url": "http://www.businesscat.happyjar.com/", "potentialAction": { "@type": "SearchAction", "target": "http://www.businesscat.happyjar.com/?s={search_term}", "query-input": "required name=search_term" } }</script>
+    <!-- / Yoast WordPress SEO plugin. -->
+
+    <link rel='stylesheet' id='nextgen_gallery_related_images-css'  href='http://www.businesscat.happyjar.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/static/nextgen_gallery_related_images.css?ver=4.1' type='text/css' media='all' />
+    <link rel='stylesheet' id='comiceasel-style-css'  href='http://www.businesscat.happyjar.com/wp-content/plugins/comic-easel/css/comiceasel.css?ver=4.1' type='text/css' media='all' />
+    <link rel='stylesheet' id='comiceasel-navstyle-css'  href='http://www.businesscat.happyjar.com/wp-content/themes/businesscat/images/nav/businesscat/navstyle.css?ver=4.1' type='text/css' media='all' />
+    <script type='text/javascript'>
+        /* <![CDATA[ */
+        var photocrati_ajax = {"url":"http:\/\/www.businesscat.happyjar.com\/photocrati_ajax","wp_home_url":"http:\/\/www.businesscat.happyjar.com","wp_site_url":"http:\/\/www.businesscat.happyjar.com","wp_root_url":"http:\/\/www.businesscat.happyjar.com","wp_plugins_url":"http:\/\/www.businesscat.happyjar.com\/wp-content\/plugins","wp_content_url":"http:\/\/www.businesscat.happyjar.com\/wp-content","wp_includes_url":"http:\/\/www.businesscat.happyjar.com\/wp-includes\/"};
+        /* ]]> */
+    </script>
+    <script type='text/javascript' src='http://www.businesscat.happyjar.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/static/ajax.js?ver=4.1'></script>
+    <script type='text/javascript' src='http://www.businesscat.happyjar.com/wp-includes/js/jquery/jquery.js?ver=1.11.1'></script>
+    <script type='text/javascript' src='http://www.businesscat.happyjar.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
+    <script type='text/javascript' src='http://www.businesscat.happyjar.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/static/persist.js?ver=4.1'></script>
+    <script type='text/javascript' src='http://www.businesscat.happyjar.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/static/store.js?ver=4.1'></script>
+    <script type='text/javascript' src='http://www.businesscat.happyjar.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/static/ngg_store.js?ver=4.1'></script>
+    <script type='text/javascript' src='http://www.businesscat.happyjar.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/lightbox_context.js?ver=4.1'></script>
+    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.businesscat.happyjar.com/xmlrpc.php?rsd" />
+    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.businesscat.happyjar.com/wp-includes/wlwmanifest.xml" />
+    <meta name="generator" content="WordPress 4.1" />
+    <meta name="Comic-Easel" content="1.8.4" />
+    <!-- <meta name="NextGEN" version="2.0.66.37" /> -->
+
+
+</head>
+
+<body>
+
+<a name="top"></a>
+
+<div class="xsitenav">
+    <div class="xsitenavContent">
+        <a href="http://www.happyjar.com/"><div class="hjar"></div></a>
+        <a href="http://www.businesscat.happyjar.com/"><div class="bcat"></div></a>
+        <a href="http://www.drunken-warriors.com/"><div class="dwarriors"></div></a>
+        <a href="http://www.happyjar.com/store"><div class="store"></div></a>
+    </div><!-- xsitenavContent -->
+</div><!-- xsitenav -->
+
+<div id="header">
+
+    <a href="http://www.patreon.com/tomfonder">
+        <div class="prmo-patreon-sash">
+            <!-- patreon -->
+        </div>
+    </a>
+
+    <div id="headerCont">
+
+        <div class="content">
+
+            <a href="http://www.businesscat.happyjar.com"><div id="logo"></div></a>
+
+            <div id="banner">
+                <div id="ad">
+
+                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
+                    <!-- Business Cat: Leaderboard -->
+                    <ins class="adsbygoogle"
+                         style="display:inline-block;width:728px;height:90px"
+                         data-ad-client="ca-pub-5269261868368399"
+                         data-ad-slot="5999944260"></ins>
+                    <script>
+                        (adsbygoogle = window.adsbygoogle || []).push({});
+                    </script>
+
+                </div>
+            </div>
+
+            <div id="nav">
+                <span class="link_archive" style="display:none"><a href='http://www.businesscat.happyjar.com/2014/12/'>December 2014</a></span>
+
+                <!-- NAVIGATION REVERSE ORDER -->
+                <a class="btn contact" href="http://www.businesscat.happyjar.com/contact"></a>
+                <!-- <a class="btn search" href="#" onclick="return false"></a> -->
+                <a class="btn extras" href="http://www.businesscat.happyjar.com/extras"></a>
+                <a class="btn support" href="http://www.businesscat.happyjar.com/support"></a>
+                <a class="btn store" href="http://www.happyjar.com/store"></a>
+                <a class="btn about" href="http://www.businesscat.happyjar.com/about"></a>
+                <a class="btn archive" href="http://www.businesscat.happyjar.com/?m=201501&order=id&?view=thump?post_type=comic"></a>
+
+            </div><!-- nav -->
+
+            <div id="social">
+
+                <a class="btn facebook" href="https://www.facebook.com/businesscatcomic" target="_Blank"></a>
+                <a class="btn twitter" href="https://www.twitter.com/bcatcomic" target="_Blank"></a>
+                <a class="btn gplus" href="https://plus.google.com/u/0/b/116723208191672073400/116723208191672073400/" target="_Blank"></a>
+                <a class="btn tumblr" href="http://www.businesscatcomic.tumblr.com/" target="_Blank"></a>
+                <a class="btn devart" href=" http://tomfonder.deviantart.com/" target="_Blank"></a>
+
+                <a class="btn rss" href="http://www.businesscat.happyjar.com/feed/" target="_Blank"></a>
+
+            </div><!-- social -->
+
+            <div id="comic-wrap" class="comic-id-216">
+                <div id="comic-head">
+                </div>
+                <div class="comic-table">
+                    <div id="comic">
+                        <img src="http://www.businesscat.happyjar.com/wp-content/uploads/2015/01/2015-01-23-Running-Late.png" alt="Running Late" title="Running Late"   /><a href="http://www.deviantart.com/print/37474475/">
+                        <div id="buyprint">
+                            <!-- buy print -->
+                        </div>
+                    </a>
+                    </div>
+                </div>
+                <div id="sidebar-under-comic" class="sidebar">
+                    <div class="comic_navi_wrapper">
+                        <table class="comic_navi">
+                            <tr>
+                                <td class="comic_navi_left">
+                                    <a href="http://www.businesscat.happyjar.com/comic/coffee/" class="navi navi-first" title=""></a>
+                                    <a href="http://www.businesscat.happyjar.com/comic/heavy-petting/" class="navi comic-nav-previous navi-prev" title=""></a>
+                                </td>
+                                <td class="comic_navi_center">
+                                </td>
+                                <td class="comic_navi_right">
+                                    <span class="navi navi-next navi-void"></span>
+                                    <span class="navi navi-last navi-void"></span>
+                                </td>
+                            </tr>
+                        </table>
+                    </div>
+                </div>
+                <div id="comic-foot">
+                </div>
+                <div class="clear"></div>
+            </div>
+            <!-- comiceasel plugin -->
+
+
+
+
+            <div id="share">
+
+                <a class="btn face" href="javascript:window.open('http://www.facebook.com/sharer.php?u=http://www.businesscat.happyjar.com/comic/running-late/', '_blank', 'width=400,height=500');void(0);" title="Share on Facebook"></a>
+
+                <a class="btn twt" href="javascript:window.open('https://twitter.com/share?text=Business%20Cat%20-%20Running Late&tw_p=tweetbutton&url=http://businesscat.happyjar.com/comic/running-late/', '_blank', 'width=600,height=280');void(0);" title="Share on Twitter"></a>
+
+                <a class="btn google" href="javascript:window.open('https://plus.google.com/share?url=http://www.businesscat.happyjar.com/comic/running-late/', '_blank', 'width=600,height=400');void(0);" title="Share on Google+"></a>
+
+
+
+                <a class="btn tt" href="javascript:window.open('http://www.tumblr.com/share/link?v=3&u=businesscat.happyjar.com/comic/running-late/&t=Business%20Cat%20-%20Running Late', '_blank', 'width=600,height=400');void(0);" title="Share on Tumblr"></a>
+
+                <a class="btn reddit" href="javascript:window.open('http://www.reddit.com/submit?url=http://www.businesscat.happyjar.com/comic/running-late/&title=Business%20Cat%20-%20Running Late', '_blank', 'width=900,height=900');void(0);" title="Share on Reddit"></a>
+
+                <a class="btn stumble" href="javascript:window.open('http://www.stumbleupon.com/submit?url=http://www.businesscat.happyjar.com/comic/running-late/', '_blank', 'width=800,height=600');void(0);" title="Share on StumbleUpon"></a>
+
+                <a class="btn linkedin" href="javascript:window.open('http://www.linkedin.com/shareArticle?mini=true&url=http://www.businesscat.happyjar.com/comic/running-late/&title=Business%20Cat%20-%20Running Late&source=http://www.businesscat.happyjar.com/', '_blank', 'width=600,height=400');void(0);" title="Share on LinkedIn"></a>
+
+                <a class="btn pinterest" href="javascript:window.open('http://pinterest.com/pin/create/button/?url=http://www.businesscat.happyjar.com/comic/running-late/&media=http://www.businesscat.happyjar.com/wp-content/uploads/2015/01/2015-01-23-Running-Late.png&description=Business%20Cat%20-%20Running Late', '_blank', 'width=800,height=600');void(0);" title="Share on Pinterest"></a>
+
+            </div><!-- /share -->
+
+            <div id="like">
+
+                <fb:like href="http://www.businesscat.happyjar.com/comic/running-late/" show_faces="true" width="450" layout=button_count></fb:like>
+                <a href="https://twitter.com/share"
+                   class="twitter-share-button"
+                   data-text="Business Cat - Running Late"
+                   data-url="http://businesscat.happyjar.com/comic/running-late/"
+                   data-counturl="http://www.businesscat.happyjar.com/comic/running-late/"></a>
+
+            </div>
+
+
+        </div><!-- /content -->
+
+    </div><!-- /headerCont -->
+
+</div><!-- /header -->
+
+
+<div id="content">
+
+    <div id="contentCon">
+
+        <div id="contentConBorders">
+            <!-- <div class="content"> -->
+
+            <div id="left" class="colum">
+
+                &nbsp;                 <div class="textwidget"><div class="supported-by">The Adventures of Business Cat is proudly supported by <a href="http://www.happyjar.com/patrons">these good folks</a>.</div></div>
+                &nbsp;&nbsp;<form method="get" id="searchform" action="http://www.businesscat.happyjar.com">
+                <input type="text"  id="s" name="s" class="s" size="15"  />
+                <input id="sub" type="submit" value=""/>
+            </form>&nbsp;&nbsp;                        <div class="textwidget"><a href="http://www.happyjar.com/store/shirts-business-cat/">
+                <div id="customAdLeftShirt">
+                    <!-- ad -->
+                </div>
+            </a></div>
+                &nbsp;&nbsp;                   <div class="textwidget"><div id="banner2">
+                <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
+                <!-- Business Cat: Medium Rectangle -->
+                <ins class="adsbygoogle"
+                     style="display:inline-block;width:300px;height:250px"
+                     data-ad-client="ca-pub-5269261868368399"
+                     data-ad-slot="2906877069"></ins>
+                <script>
+                    (adsbygoogle = window.adsbygoogle || []).push({});
+                </script>
+            </div></div>
+                &nbsp;
+            </div><!-- /left -->
+            <!-- -------------------Comic Blog Post------------------- -->
+            <div id="center">
+                <div class="text">
+
+
+                    <a href="http://www.businesscat.happyjar.com/comic/running-late/"><div class="title">Running Late</a><div class="postinfo">Posted January 23, 2015 by Tom Fonder</div>
+                </div><!-- title -->
+
+                <div class="con"><p>It&#8217;s a serious problem.</p>
+                </div>
+
+                <div class="comment"><a href="http://www.businesscat.happyjar.com/comic/running-late/">comments (<span class="dsq-postid" data-dsqidentifier="216 http://www.businesscat.happyjar.com/?post_type=comic&amp;p=216">4</span>)</a>
+
+                    <div class="like"><fb:like href="http://www.businesscat.happyjar.com/comic/running-late/" show_faces="true" width="450" layout=button_count></fb:like>
+                        <a href="https://twitter.com/share"
+                           class="twitter-share-button"
+                           data-text="Business Cat - Running Late"
+                           data-url="http://businesscat.happyjar.com/comic/running-late/"
+                           data-counturl="http://www.businesscat.happyjar.com/comic/running-late/"></a>
+                    </div></div>
+
+            </div><!-- text -->
+            <!-- ------------------- Regular Blog Post ------------------- -->
+            <div class="text">
+
+
+
+                <a href="http://www.businesscat.happyjar.com/australia/"><div class="title">Australia</a>      <div class="postinfo">Posted December 1, 2014 by Tom Fonder</div>
+            </div><!-- title -->
+
+            <div class="con"><p>Hey guys, I&#8217;m going to be heading to Australia for a couple of weeks as of tomorrow and unfortunately that means no more comics between now and when I get back. I would have liked to have finished some comics to tide me over while I&#8217;m gone, but between my computer being dead the last two weeks and last minute preparations for my trip, that didn&#8217;t turn out to be possible.</p>
+                <p>As with last month, I would encourage my Patreon users to decline payment for the month of December as it looks like it&#8217;s going to be a bit haphazard again. Here&#8217;s to getting back on track with stable updates in the New Year (but probably a bit before then).</p>
+            </div>
+
+            <div class="comment"><a href="http://www.businesscat.happyjar.com/australia/">comments (<span class="dsq-postid" data-dsqidentifier="200 http://www.businesscat.happyjar.com/?p=200">1</span>)</a>
+
+                <div class="like"><fb:like href="http://www.businesscat.happyjar.com/australia/" show_faces="true" width="450" layout=button_count></fb:like>
+                    <a href="https://twitter.com/share"
+                       class="twitter-share-button"
+                       data-text="Business Cat - Australia"
+                       data-url="http://businesscat.happyjar.com/australia/"
+                       data-counturl="http://www.businesscat.happyjar.com/australia/"></a>
+                </div></div>
+
+            <div class="sep4"></div>
+
+
+
+            <a href="http://www.businesscat.happyjar.com/involuntary-hiatus/"><div class="title">Involuntary Hiatus</a>      <div class="postinfo">Posted November 15, 2014 by Tom Fonder</div>
+        </div><!-- title -->
+
+        <div class="con"><p>I sometimes forget that not everyone who reads this comic also follows me on Facebook or Twitter. So for those of you who have been left in the dark on this, here&#8217;s where we&#8217;re at right now.</p>
+            <p>Last Monday my computer up and died on me. It was functioning perfectly the night before and the next morning I go to turn it on and the LCD screen is a garbled mess. A new screen had to be ordered in for me and on Friday evening it was replaced. The screen looks perfect and I was ready and willing to get started on some new comics for Monday when it soon became apparent that the LCD screen was not the full extent of the problem.</p>
+            <p>Long story short, my computer is still entirely unusable and at this rate it looks like I may not even be able to get it <i>seen</i> by the appropriate parties until Nov 20. I&#8217;ve no idea how long it may take to resolve the problem after that. Until that day, however, I have no way of creating and uploading new comics. And if you think you&#8217;re bummed about that, I can tell you that I&#8217;m about ten times more bummed than you are.</p>
+            <p>From bad to worse, I will be in Australia for a few weeks from Dec 5. If I can&#8217;t get it fixed soon I may not have time to sort out some comics in advance of my trip. These are dark times. But rest assured, I will be back up and running eventually. Watch my social media for any updates.</p>
+            <p><i>Finally, here are the long boring details of my current problem for anyone who may be able to help. If so, shoot me an e-mail:</i></p>
+            <p>Fan is extremely loud upon booting up and the computer slows to a crawl making it almost impossible to do anything. Activity Monitor shows that CPU usage is around 80-90% even when zero apps are open. Process called &#8216;kernel_task&#8217; is reading at 600-800% CPU usage. Multiple SMC and PRAM resets have yielded no results. Running 27&#8243; iMac w/ SSD and upgraded to Yosemite about two-three weeks ago.</p>
+        </div>
+
+        <div class="comment"><a href="http://www.businesscat.happyjar.com/involuntary-hiatus/">comments (<span class="dsq-postid" data-dsqidentifier="191 http://www.businesscat.happyjar.com/?p=191">6</span>)</a>
+
+            <div class="like"><fb:like href="http://www.businesscat.happyjar.com/involuntary-hiatus/" show_faces="true" width="450" layout=button_count></fb:like>
+                <a href="https://twitter.com/share"
+                   class="twitter-share-button"
+                   data-text="Business Cat - Involuntary Hiatus"
+                   data-url="http://businesscat.happyjar.com/involuntary-hiatus/"
+                   data-counturl="http://www.businesscat.happyjar.com/involuntary-hiatus/"></a>
+            </div></div>
+
+        <div class="sep4"></div>
+
+
+
+        <a href="http://www.businesscat.happyjar.com/new-patreon/"><div class="title">New Patreon</a>      <div class="postinfo">Posted August 10, 2014 by Tom Fonder</div>
+    </div><!-- title -->
+
+    <div class="con"><p>Hey guys,</p>
+        <p>My content is and always will remain free, but if you&#8217;d like to help support what I do (and get some extra content and behind the scenes updates in return), then please consider taking a look at my new <a href="http://www.patreon.com/tomfonder">Patreon page</a>.</p>
+        <p><a href="http://www.patreon.com/tomfonder"><img src="http://s3.amazonaws.com/patreon/b127911c55ffb928d0f8f3fbcfc3092b.jpg" width="100%"></a></p>
+    </div>
+
+    <div class="comment"><a href="http://www.businesscat.happyjar.com/new-patreon/">comments (<span class="dsq-postid" data-dsqidentifier="157 http://www.businesscat.happyjar.com/?p=157">0</span>)</a>
+
+        <div class="like"><fb:like href="http://www.businesscat.happyjar.com/new-patreon/" show_faces="true" width="450" layout=button_count></fb:like>
+            <a href="https://twitter.com/share"
+               class="twitter-share-button"
+               data-text="Business Cat - New Patreon"
+               data-url="http://businesscat.happyjar.com/new-patreon/"
+               data-counturl="http://www.businesscat.happyjar.com/new-patreon/"></a>
+        </div></div>
+
+    <div class="sep4"></div>
+
+
+    <div class="preventry"><b><a href="http://www.businesscat.happyjar.com/post-archive">&laquo; previous entries</a></b></div>
+
+</div><!-- text -->
+
+</div><!-- /center -->
+
+<div id="right" class="colum">
+
+    &nbsp;                     <div class="textwidget"><div id="likebox">
+    <div class="fb-like-box" data-href="http://www.facebook.com/businesscatcomic" data-width="175" data-colorscheme="light" data-show-faces="false" data-header="false" data-stream="false" data-show-border="false"></div>
+</div></div>
+    &nbsp;&nbsp;                       <div class="textwidget"><div class="placeholder-patreon"><a href="http://www.patreon.com/tomfonder"><div class="prmo-patreon"><!-- patreon --></div></a></div></div>
+    &nbsp;&nbsp;                       <div class="textwidget"><div id="banner3">
+    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
+    <!-- Business Cat: Skyscraper -->
+    <ins class="adsbygoogle"
+         style="display:inline-block;width:160px;height:600px"
+         data-ad-client="ca-pub-5269261868368399"
+         data-ad-slot="4383610268"></ins>
+    <script>
+        (adsbygoogle = window.adsbygoogle || []).push({});
+    </script>
+</div></div>
+    &nbsp;
+</div><!-- /right -->
+
+</div>
+<!-- </div> /content -->
+
+</div><!-- /contentCon -->
+
+</div><!-- /content -->
+
+<div id="footer">
+
+    <div id="footerCont">
+
+        <div id ="navFooter">
+            <!-- NAVIGATION -->
+            <a class="btn home" href="http://www.businesscat.happyjar.com"></a>
+            <a class="btn archive" href="http://www.businesscat.happyjar.com/?m=201501&order=id&?view=thump?post_type=comic"></a>
+            <a class="btn about" href="http://www.businesscat.happyjar.com/about"></a>
+            <a class="btn store" href="http://www.happyjar.com/store"></a>
+            <a class="btn support" href="http://www.businesscat.happyjar.com/support"></a>
+            <a class="btn extras" href="http://www.businesscat.happyjar.com/extras"></a>
+            <a class="btn contact" href="http://www.businesscat.happyjar.com/contact"></a>
+            <!-- <a class="btn search" href="#" onclick="return false"></a> -->
+        </div><!-- navFooter -->
+
+        <div id="socialFooter">
+            <div id="social">
+
+                <a class="btn facebook" href="https://www.facebook.com/businesscatcomic" target="_Blank"></a>
+                <a class="btn twitter" href="https://www.twitter.com/bcatcomic" target="_Blank"></a>
+                <a class="btn gplus" href="https://plus.google.com/u/0/b/116723208191672073400/116723208191672073400/" target="_Blank"></a>
+                <a class="btn tumblr" href="http://www.businesscatcomic.tumblr.com/" target="_Blank"></a>
+                <a class="btn devart" href=" http://tomfonder.deviantart.com/" target="_Blank"></a>
+
+                <a class="btn rss" href="http://www.businesscat.happyjar.com/feed/" target="_Blank"></a>
+
+            </div><!-- social -->
+        </div>
+
+        <div id="footerText">
+            <div class="text">Copyright &#169; 2014 <a href="mailto:tom@happyjar.com">Tom Fonder</a> | Powered by <a href="http://www.wordpress.org/">WordPress</a> with <a href="http://www.comiceasel.com/">Comic Easel</a></div>
+
+            <div class="textRight"><a href="http://www.businesscat.happyjar.com/privacy">Privacy Policy</a> | <a href="#top">Back to Top &uarr;</a></div>
+        </div><!--/footerText-->
+
+    </div><!--/footerCon-->
+
+</div><!--/footer-->
+
+<!-- ngg_resource_manager_marker --><script type='text/javascript' src='http://www.businesscat.happyjar.com/wp-content/plugins/comic-easel/js/keynav.js'></script>
+<script type="text/javascript">
+    // <![CDATA[
+    var disqus_shortname = 'businesscatcomic';
+    (function () {
+        var nodes = document.getElementsByTagName('span');
+        for (var i = 0, url; i < nodes.length; i++) {
+            if (nodes[i].className.indexOf('dsq-postid') != -1) {
+                nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('data-dsqidentifier'));
+                url = nodes[i].parentNode.href.split('#', 1);
+                if (url.length == 1) { url = url[0]; }
+                else { url = url[1]; }
+                nodes[i].parentNode.href = url + '#disqus_thread';
+            }
+        }
+        var s = document.createElement('script');
+        s.async = true;
+        s.type = 'text/javascript';
+        s.src = '//' + disqus_shortname + '.disqus.com/count.js';
+        (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
+    }());
+    // ]]>
+</script>
+
+</body>
+
+</html>
+
+
+<!-- Dynamic page generated in 0.745 seconds. -->
+<!-- Cached page generated by WP-Super-Cache on 2015-01-24 01:01:13 -->
+
+<!-- super cache -->