{"id":87,"date":"2003-06-25T00:00:00","date_gmt":"2003-06-25T00:00:00","guid":{"rendered":"http:\/\/www.3cats.us\/blog\/?p=53"},"modified":"2003-06-25T00:00:00","modified_gmt":"2003-06-25T00:00:00","slug":"notes-53","status":"publish","type":"post","link":"https:\/\/www.3cats.us\/blog\/2003\/06\/notes-53\/","title":{"rendered":"notes-53"},"content":{"rendered":"<p>Wed Jun 25 12:54:23 PDT 2003<\/p>\n<p>So I upgraded gallery (<a  href=\"http:\/\/gallery.sourceforge.net\/\">http:\/\/gallery.sourceforge.net\/<\/a>) to 1.3.4 today in the hopes that it would provide easy offline album creation. Like for burning to a CD and such. Unfortunately, the install didn&#8217;t go as well as I had hoped. Ran into two basic problems. First, the configure script kept corrupting the config.php file. After a bit of tinkering I got that worked out, and found that I needed to update all the albums. Not too big of a deal, but you have to access each individually or as the admin acct there&#8217;s another page that allows you to do all of them. Unfortunately, I&#8217;ve go so many photos that it appears I exceeded some kind of 8Meg process size limit so I had to manually hit up about half the albumns before the admin process could fit everything in and automate the rest of it.<\/p>\n<p>So now that it&#8217;s up and running correctly again, I naturally started trying to figure out how to get it to create offline content. It&#8217;s not as simple as I had hoped. Basically all they added was a mode to gallery that is toggled by accessing:<\/p>\n<p>..\/gallery\/?set_offline=true ..\/gallery\/?set_offline=false<\/p>\n<p>And then you can use wget or httrack to create an offline copy using commands of the form:<\/p>\n<dl >\n<dt>wget -r -k &#8211;html-extension &quot;<a  href=\"http:\/\/pooh.asric.com\/gallery\/?set_offline=true\">http:\/\/pooh.asric.com\/gallery\/?set_offline=true<\/a>&quot;<\/dt>\n<dd>or httrack -%F &quot;&quot; -K0 &quot;<a  href=\"http:\/\/pooh.asric.com\/gallery\/falcon_cape\/?set_offline=true\">http:\/\/pooh.asric.com\/gallery\/falcon_cape\/?set_offline=true<\/a>&quot; <a  href=\"http:\/\/pooh.asric.com\/albums\">http:\/\/pooh.asric.com\/albums<\/a><\/dd>\n<\/dl>\n<p>But in both cases they tend to pull down the <em>entire<\/em> gallery, which for me is currently around 2GB of space. Not exactly something that will fit easily on a CD. It&#8217;s unclear if there&#8217;s a clever way around this, but I&#8217;ve found a gallery forum thread on the topic and I&#8217;m asking the person who wrote the docs. Hopefully he (or she) will have some insight on how to approach the problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>    <![CDATA[]]><br \/>\n     <a href=\"https:\/\/www.3cats.us\/blog\/2003\/06\/notes-53\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":0,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}