{"id":29,"date":"2002-07-11T02:28:00","date_gmt":"2002-07-11T02:28:00","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=14"},"modified":"2008-07-24T23:56:51","modified_gmt":"2008-07-25T04:56:51","slug":"storing-backup-password-in-backup","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2002\/storing-backup-password-in-backup\/","title":{"rendered":"Slashcode &#8220;older stuff&#8221; mod"},"content":{"rendered":"<p>I updated the &#8220;default\/misc\/getOldStories (119)&#8221; template with new code that sorts old articles by month instead of day.  Whoopee.  \ud83d\ude1b  Just trying to keep track of it all.  :><\/p>\n<p><!--more--><\/p>\n<p>Here&#8217;s my new &#8220;template&#8221; code that sorts old articles by month instead of day:<\/p>\n<p>[% today = &#8221;;<br \/>\nFOREACH story = stories;%]<br \/>\n[%IF today != &#8220;$story.m&#8221;;<br \/>\nIF today != &#8221; %]<br \/>\n<HR><br \/>\n[% END;<br \/>\nIF !section or section.section == &#8216;index&#8217; %]<br \/>\n<B><SLASH xhref=\"[% constants.rootdir %]\/index.pl?issue=[% story.day %]&amp;mode=[% user.currentMode %]\" ID=\"373eee6ca7ee770b73d94eab9a7c1a82\" TITLE=\"\" TYPE=\"link\">[% story.m %]<\/SLASH><\/B><br \/>\n[% ELSIF section.issue &#038;&#038; section.issue > 1 %]<br \/>\n<B><A xhref=\"[% constants.rootdir %]\/index.pl?section=[% section.section %]&#038;issue=[% story.day %]&#038;mode=[% user.currentMode %]\"\n>[% story.m %]<\/A><\/B><br \/>\n[% ELSE %]<br \/>\n<B>[% story.m %]<\/B><br \/>\n[% END;<br \/>\ntoday = &#8220;$story.m&#8221;;<br \/>\nEND %]<br \/>\n<LI>[% story.link %] ([% story.commentcount %])<\/LI><br \/>\n[% END %]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s my new &#8220;template&#8221; code that sorts old articles by month instead of day:<\/p>\n<p>[% today = &#8221;;<br \/>\n   FOREACH story = stories;%]<br \/>\n\t[%IF today != &#8220;$story.m&#8221;;<br \/>\n\t\tIF today != &#8221; %]<br \/>\n\t\t\t<HR><br \/>\n\t\t[% END;<br \/>\n\t\tIF !section or section.section == &#8216;index&#8217; %]<br \/>\n\t\t\t<B><SLASH HREF=\"[% constants.rootdir %]\/index.pl?issue=[% story.day %]&amp;mode=[% user.currentMode %]\" ID=\"373eee6ca7ee770b73d94eab9a7c1a82\" TITLE=\"\" TYPE=\"link\">[% story.m %]<\/SLASH><\/B><br \/>\n\t\t[% ELSIF section.issue &#038;&#038; section.issue > 1 %]<br \/>\n\t\t\t<B><A HREF=\"[% constants.rootdir %]\/index.pl?section=[% section.section %]&#038;issue=[% story.day %]&#038;mode=[% user.currentMode %]\"\n\t\t\t\t>[% story.m %]<\/A><\/B><br \/>\n\t\t[% ELSE %]<br \/>\n\t\t\t<B>[% story.m %]<\/B><br \/>\n\t\t[% END;<br \/>\n\t\ttoday = &#8220;$story.m&#8221;;<br \/>\n\tEND %]<br \/>\n\t<LI>[% story.link %] ([% story.commentcount %])<\/LI><br \/>\n[% END %]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[19,2],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-opensource","category-chatter"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-t","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":1,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":295,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/29\/revisions\/295"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}