From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70494 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: git log messages on the www.gnus.org front page? Date: Sun, 05 Sep 2010 13:27:47 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87mxrxvzla.fsf@topper.koldfront.dk> <87lj7glxzj.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1283686344 485 80.91.229.12 (5 Sep 2010 11:32:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Sep 2010 11:32:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18870@lists.math.uh.edu Sun Sep 05 13:32:20 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OsDSN-0003Fd-SU for ding-account@gmane.org; Sun, 05 Sep 2010 13:32:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OsDSM-0001uZ-6e; Sun, 05 Sep 2010 06:32:18 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OsDSI-0001sd-Vu for ding@lists.math.uh.edu; Sun, 05 Sep 2010 06:32:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OsDSD-0000V1-Jz for ding@lists.math.uh.edu; Sun, 05 Sep 2010 06:32:14 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OsDSC-00079U-00 for ; Sun, 05 Sep 2010 13:32:08 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OsDSA-00039m-Kg for ding@gnus.org; Sun, 05 Sep 2010 13:32:06 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Sep 2010 13:32:06 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Sep 2010 13:32:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWZbmHm1bb79+vXvKO+ l4ZfJCm2kaw4AAACT0lEQVQ4jW3UwZbqIAwA0DjQ/aT49gP6AdAwezqJe+Yc+f9feQlWfYuHx9r2 kkAhFfroAzppc5QL4fnWl6EN+vAGG2LEVb8Ktwl3hTYsItiBcnvCIqMtkrkGqWeR1vr3MlMZADfi Sp4aK+SlK8CSFW4e/ALQFt9lgl5A7Q2+ARwIZGA7LppHe1XQCPBvqAfkJ9SWmwMPogkX8PnsdS4i p0a5VnbSGHy/gatXT5JF9lwy0e5ISKMMLga17vopZXdFUCeiIBcJksluVyrkwgSdBkcOnIPBuZTi kNcJp93gE+22ASs0g32/KGWFekDFdrJUHsD7B9S9FF/1OSzC6aJAbzQj9lJ1yfxiEf508eLbWRTC Tuy5cZ6z+ggGVftj4MLNT9Cd4Krb0mVGMItdNAORuff9YsPv65jNxtiuY5CerxER09cYy9foJ6iw pTY+FLaYMK0K9z/d7wqYspbQ6CkppMssEMf6NCV9dYDxm1JUSDetgrGzGCQiaVvCGNOarl6oIIvA mqyvHovex8f5hHS0GLQ+aZ3niEwvwDNi+NmOiz28YL0Snbf1DXjAZhWNj6uI/IbP4bCNn39gfQ5C yEevaKnCM2Q++QHJxvgfRIP4zBXLO6IgnF4dddNeoQqS5vBX26/F8/YILRHyz8zFbW6d/5iTMtBS faxDXEY7Mk3A6o/Rc78/TkgMEmZ9cWZrx291E2JwWkKBdxEmqsRU2eDTsRT7Wyj6Ktk66ldsujrL fuYYqvUW1v560yKs3PJ9E2Bc19CErfqeMH6rJrKmO3LAX86XvGSKGtKeAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Tujiko Noriko's _Trust_: "In a Chinese Restaurant (Tyme. remix)" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:i1CGaSBToDHtbHz6BPVi58Tmp4g= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70494 Archived-At: Ted Zlatanov writes: > The easy way is with an IFRAME but it looks bad. I could just write up some PHP that calls out to a gitweb page, strip off all the stuff I don't want, and then just output the rest... > Another way is to ammend the post-receive hook to modify the front page > somehow, or to write to a secondary file that's included in the front > page with PHP or whatever. It's probably easier and safer to do the > secondary file. If you could write a hook that just... let's see... yeah, that just does a "curl -o /tmp/gnus-git.html http://git.gnus.org/cgit/gnus.git/log/" on Quimby, then I can have the Gnus front page parse that from PHP. That should be pretty safe and fast. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen